Searched refs:CONST_LLADDR (Results 1 – 8 of 8) sorted by relevance
| /xnu-8019.80.24/bsd/net/ |
| H A D | if_dl.h | 114 #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 | 612 e_addr = CONST_LLADDR((const struct sockaddr_dl*) in ether_check_multi()
|
| H A D | route.c | 817 if (bytes != CONST_LLADDR(sdl)) { in rtm_scrub()
|
| H A D | dlil.c | 8449 bcopy(CONST_LLADDR(ll_addr), in ifnet_attach() 8927 bcopy(CONST_LLADDR(ll_addr), LLADDR(asdl), asdl->sdl_alen); in dlil_alloc_lladdr() 10742 bytes = CONST_LLADDR(sdl); in dlil_ifaddr_bytes()
|
| H A D | if.c | 4865 aptr = CONST_LLADDR(sdl_original); in copy_and_normalize()
|
| H A D | if_bridge.c | 1292 for (i = 0, lladdr = CONST_LLADDR(sdl); in brlog_link()
|
| /xnu-8019.80.24/bsd/netinet/ |
| H A D | in_arp.c | 93 #define CONST_LLADDR(s) ((const u_char*)((s)->sdl_data + (s)->sdl_nlen)) macro 1771 if (bcmp(CONST_LLADDR(sender_hw), IF_LLADDR(ifp), in arp_ip_handle_input() 1800 bcopy(CONST_LLADDR(sender_hw), (caddr_t)in_collision->hw_addr, in arp_ip_handle_input() 1864 bcmp(CONST_LLADDR(gateway), CONST_LLADDR(sender_hw), in arp_ip_handle_input() 2053 CONST_LLADDR(sender_hw), gateway->sdl_alen) != 0) { in arp_ip_handle_input() 2079 bcopy(CONST_LLADDR(sender_hw), LLADDR(gateway), gateway->sdl_alen); in arp_ip_handle_input()
|