Home
last modified time | relevance | path

Searched refs:addr_ll_mid (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/net/
Dnsos_adapt.c334 const struct nsos_mid_sockaddr_ll *addr_ll_mid = in sockaddr_from_nsos_mid() local
339 addr_ll->sll_protocol = addr_ll_mid->sll_protocol; in sockaddr_from_nsos_mid()
340 addr_ll->sll_ifindex = addr_ll_mid->sll_ifindex; in sockaddr_from_nsos_mid()
341 addr_ll->sll_hatype = addr_ll_mid->sll_hatype; in sockaddr_from_nsos_mid()
342 addr_ll->sll_pkttype = addr_ll_mid->sll_pkttype; in sockaddr_from_nsos_mid()
343 addr_ll->sll_halen = addr_ll_mid->sll_halen; in sockaddr_from_nsos_mid()
344 memcpy(addr_ll->sll_addr, addr_ll_mid->sll_addr, in sockaddr_from_nsos_mid()
420 struct nsos_mid_sockaddr_ll *addr_ll_mid = in sockaddr_to_nsos_mid() local
424 if (addr_ll_mid) { in sockaddr_to_nsos_mid()
425 addr_ll_mid->sll_family = NSOS_MID_AF_PACKET; in sockaddr_to_nsos_mid()
[all …]
Dnsos_sockets.c489 struct nsos_mid_sockaddr_ll *addr_ll_mid = in sockaddr_to_nsos_mid() local
496 addr_ll_mid->sll_family = NSOS_MID_AF_UNIX; in sockaddr_to_nsos_mid()
497 addr_ll_mid->sll_protocol = addr_ll->sll_protocol; in sockaddr_to_nsos_mid()
498 addr_ll_mid->sll_ifindex = addr_ll->sll_ifindex; in sockaddr_to_nsos_mid()
499 addr_ll_mid->sll_hatype = addr_ll->sll_hatype; in sockaddr_to_nsos_mid()
500 addr_ll_mid->sll_pkttype = addr_ll->sll_pkttype; in sockaddr_to_nsos_mid()
501 addr_ll_mid->sll_halen = addr_ll->sll_halen; in sockaddr_to_nsos_mid()
502 memcpy(addr_ll_mid->sll_addr, addr_ll->sll_addr, in sockaddr_to_nsos_mid()
505 *addrlen_mid = sizeof(*addr_ll_mid); in sockaddr_to_nsos_mid()