Searched refs:CONST_LLADDR (Results 1 – 8 of 8) sorted by relevance
| /xnu-8792.41.9/bsd/net/ |
| H A D | if_dl.h | 121 #define CONST_LLADDR(s) ((const u_char*)((s)->sdl_data + (s)->sdl_nlen)) macro
|
| H A D | ether_inet_pr_module.c | 466 bcopy(CONST_LLADDR(sender_hw), ea->arp_sha, in ether_inet_arp() 508 bcopy(CONST_LLADDR(target_hw), ea->arp_tha, in ether_inet_arp() 510 bcopy(CONST_LLADDR(target_hw), eh->ether_dhost, in ether_inet_arp()
|
| H A D | ether_if_module.c | 605 e_addr = CONST_LLADDR((const struct sockaddr_dl*) in ether_check_multi()
|
| H A D | route.c | 813 if (bytes != CONST_LLADDR(sdl)) { in rtm_scrub()
|
| H A D | dlil.c | 8746 bcopy(CONST_LLADDR(ll_addr), in ifnet_attach() 9222 bcopy(CONST_LLADDR(ll_addr), LLADDR(asdl), asdl->sdl_alen); in dlil_alloc_lladdr() 11042 bytes = CONST_LLADDR(sdl); in dlil_ifaddr_bytes()
|
| H A D | if.c | 4970 aptr = CONST_LLADDR(sdl_original); in copy_and_normalize()
|
| H A D | if_bridge.c | 1415 for (i = 0, lladdr = CONST_LLADDR(sdl); in brlog_link()
|
| /xnu-8792.41.9/bsd/netinet/ |
| H A D | in_arp.c | 93 #define CONST_LLADDR(s) ((const u_char*)((s)->sdl_data + (s)->sdl_nlen)) macro 1774 if (bcmp(CONST_LLADDR(sender_hw), IF_LLADDR(ifp), in arp_ip_handle_input() 1803 bcopy(CONST_LLADDR(sender_hw), (caddr_t)in_collision->hw_addr, in arp_ip_handle_input() 1867 bcmp(CONST_LLADDR(gateway), CONST_LLADDR(sender_hw), in arp_ip_handle_input() 2056 CONST_LLADDR(sender_hw), gateway->sdl_alen) != 0) { in arp_ip_handle_input() 2082 bcopy(CONST_LLADDR(sender_hw), LLADDR(gateway), gateway->sdl_alen); in arp_ip_handle_input()
|