Home
last modified time | relevance | path

Searched refs:btNetif (Results 1 - 1 of 1) sorted by relevance

/kernel/liteos_m/components/net/test/
H A Dnet_socket_test_011.c282 struct netif *btNetif = NULL; in CreateBtNetIf() local
283 btNetif = (struct netif *)malloc(sizeof(struct netif)); in CreateBtNetIf()
284 if (btNetif == NULL) { in CreateBtNetIf()
286 LWIP_ASSERT("btNetif malloc fail.", 0); in CreateBtNetIf()
289 (void)memset_s(btNetif, sizeof(struct netif), 0, sizeof(struct netif)); in CreateBtNetIf()
290 btNetif->drv_send = BtProxySend; in CreateBtNetIf()
291 btNetif->link_layer_type = BT_PROXY_IF; in CreateBtNetIf()
292 btNetif->hwaddr_len = ETH_HWADDR_LEN; in CreateBtNetIf()
293 (void)memcpy_s(&btNetif->hwaddr, sizeof(btNetif in CreateBtNetIf()
[all...]

Completed in 2 milliseconds