| /xnu-12377.41.6/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_ethernet.c | 61 if (SDL(lladdr->ifa_addr)->sdl_alen != ETHER_ADDR_LEN || in fsw_ethernet_setup() 62 SDL(lladdr->ifa_addr)->sdl_type != IFT_ETHER) { in fsw_ethernet_setup() 210 SDL(tgt_rt->rt_gateway)->sdl_type != IFT_ETHER)) { in fsw_ethernet_resolve() 227 SDL(tgt_rt->rt_gateway)->sdl_alen == ETHER_ADDR_LEN)) { in fsw_ethernet_resolve() 231 (struct sockaddr_dl *__bidi_indexable) SDL(tgt_rt->rt_gateway); in fsw_ethernet_resolve() 355 if (SDL(tgt_rt->rt_gateway)->sdl_alen != in fsw_ethernet_resolve() 374 (struct sockaddr_dl *__bidi_indexable) SDL(tgt_rt->rt_gateway); in fsw_ethernet_resolve() 444 (struct sockaddr_dl *__bidi_indexable) SDL(tgt_rt->rt_gateway); in fsw_ethernet_resolve()
|
| /xnu-12377.41.6/bsd/netinet/ |
| H A D | in_arp.c | 643 struct sockaddr_dl *sdl = SDL(rt->rt_gateway); in arptfree() 689 struct sockaddr_dl *sdl = SDL(rt->rt_gateway); in arptfree() 923 SDL(gate)->sdl_type = rt->rt_ifp->if_type; in arp_rtrequest() 924 SDL(gate)->sdl_index = rt->rt_ifp->if_index; in arp_rtrequest() 941 SDL(gate), rt_key(rt), NULL, rt_key(rt), 0); in arp_rtrequest() 959 SDL(gate)->sdl_type = rt->rt_ifp->if_type; in arp_rtrequest() 960 SDL(gate)->sdl_index = rt->rt_ifp->if_index; in arp_rtrequest() 999 struct sockaddr_dl *gate_ll = SDL(gate); in arp_rtrequest() 1037 struct sockaddr_dl *gate_ll = SDL(gate); in arp_rtrequest() 1039 SDL(gate)->sdl_alen = rt->rt_ifp->if_addrlen); in arp_rtrequest() [all …]
|
| H A D | ip_input.c | 3475 struct sockaddr_dl *sdl2 = SDL(sdlbuf); in ip_savecontrol() 3494 sdp = SDL(ifa->ifa_addr); in ip_savecontrol()
|
| H A D | flow_divert.c | 2819 struct sockaddr_dl *sdl2 = SDL(sdlbuf); in flow_divert_create_control_mbuf() 2839 sdp = SDL(ifa->ifa_addr); in flow_divert_create_control_mbuf()
|
| H A D | ip_output.c | 3396 SDL(ro->ro_rt->rt_gateway)->sdl_alen != 0))) { in in_selectsrcif()
|
| /xnu-12377.41.6/bsd/net/ |
| H A D | sockaddr_utils.h | 392 #if defined(SDL) 393 #undef SDL 395 #define SDL(s) __SA_UTILS_CONV_TO_SOCKADDR_DL((s)) macro
|
| H A D | if_dl.h | 120 #define SDL(s) ((struct sockaddr_dl *)(void *)s) macro
|
| H A D | dlil_subr.c | 284 addr_sdl = SDL(dl_if_lladdr_ext->addr_sdl_bytes); in dlil_alloc_lladdr() 285 mask_sdl = SDL(dl_if_lladdr_ext->mask_sdl_bytes); in dlil_alloc_lladdr() 305 addr_sdl = SDL(dl_if->dl_if_lladdr.addr_sdl_bytes); in dlil_alloc_lladdr() 306 mask_sdl = SDL(dl_if->dl_if_lladdr.mask_sdl_bytes); in dlil_alloc_lladdr()
|
| H A D | ether_if_module.c | 717 e_addr = CONST_LLADDR(SDL(proto_addr)); in ether_check_multi()
|
| H A D | kpi_interface.c | 2279 struct sockaddr_dl *sdl = SDL(ifa->ifa_addr); in ifnet_lladdr() 2332 const struct sockaddr_dl *sdl = SDL(sdlbuf); in ifnet_lladdr_copy_bytes_internal() 2336 bytes = dlil_ifaddr_bytes_indexable(SDL(sdlbuf), &bytes_len, credp); in ifnet_lladdr_copy_bytes_internal() 2468 const struct sockaddr_dl *sdl = SDL(maddr); in ifnet_add_multicast() 2588 ll_addr = SDL(ifa->ifa_addr); in ifnet_find_by_name()
|
| H A D | route.c | 858 if ((sa->sa_family != AF_LINK) || (SDL(sa)->sdl_alen == 0)) { in rtm_scrub() 866 struct sockaddr_dl *sdl = SDL(buf); in rtm_scrub() 2909 kdp_set_gateway_mac(SDL(gwrt->rt_gateway)-> in rt_setgate() 4841 struct sockaddr_dl *sdl = SDL(gateway); in _sockaddr_get_lladdr()
|
| H A D | if.c | 1307 SDL(addr); in ifa_ifwithnet_common() 1855 struct sockaddr_dl *sdl = SDL(sa); in if_withname() 4178 struct sockaddr_dl *sdl = SDL(ifp->if_lladdr->ifa_addr); in ifioctl_ifreq() 5668 SDL(original); in copy_and_normalize() 5706 sdl_new = SDL(kalloc_data(len, Z_WAITOK | Z_ZERO)); in copy_and_normalize()
|
| H A D | dlil.c | 4026 result = resolvep(ifp, proto_addr, SDL(ll_addr), ll_len); in dlil_resolve_multi() 4194 arpop, SDL(source_hw->ifa_addr), in dlil_send_arp()
|
| H A D | necp_client.c | 8503 (SDL(tgt_rt->rt_gateway)->sdl_alen == ETHER_ADDR_LEN)) { in necp_client_destination_mac_address() 8505 (struct sockaddr_dl *__bidi_indexable)SDL(tgt_rt->rt_gateway); in necp_client_destination_mac_address()
|
| H A D | if_bridge.c | 1442 struct sockaddr_dl *sdl = SDL((uint8_t*)&sdl_buffer); /* SDL requires byte pointer */ in brlog_link()
|
| /xnu-12377.41.6/bsd/netinet6/ |
| H A D | nd6_nbr.c | 423 proxydl = *SDL(rt->rt_gateway); in nd6_ns_input() 1089 (sdl = SDL(rt->rt_gateway)) == NULL) { in nd6_na_input() 1592 sdl = SDL(sdl0); in nd6_na_output() 2156 sdl = SDL(llifa->ifa_addr); in nd6_dad_duplicated() 2480 struct sockaddr_dl *sdl = SDL(isdl); in nd6_alt_node_addr_decompose() 2521 struct sockaddr_dl *sdla = SDL(sa); in nd6_alt_node_addr_decompose() 2560 struct sockaddr_dl *sdl = SDL(isdl); in nd6_alt_node_present() 2689 SDL(rt->rt_gateway)->sdl_len <= sizeof(*sdl)) { in nd6_alt_node_absent() 2690 SOCKADDR_COPY(rt->rt_gateway, sdl, SDL(rt->rt_gateway)->sdl_len); in nd6_alt_node_absent()
|
| H A D | nd6.c | 2260 SDL(rt->rt_gateway)->sdl_index == ifp->if_index) { in nd6_purge_interface_llinfo() 2825 SDL(gate)->sdl_type = ifp->if_type; in nd6_rtrequest() 2826 SDL(gate)->sdl_index = ifp->if_index; in nd6_rtrequest() 2880 SDL(gate)->sdl_type = ifp->if_type; in nd6_rtrequest() 2881 SDL(gate)->sdl_index = ifp->if_index; in nd6_rtrequest() 2975 SOCKADDR_COPY(macp, LLADDR(SDL(gate)), ifp->if_addrlen); in nd6_rtrequest() 2976 SDL(gate)->sdl_alen = ifp->if_addrlen; in nd6_rtrequest() 3585 sdl = SDL(rt->rt_gateway); in nd6_cache_lladdr() 4530 sdl = SDL(route->rt_gateway); in nd6_lookup_ipv6()
|
| H A D | in6_ifattach.c | 269 sdl = SDL(ifa->ifa_addr); in in6_iid_from_hw()
|
| H A D | icmp6.c | 2941 (sdl = SDL(rt_router->rt_gateway)) && sdl->sdl_alen) { in icmp6_redirect_output()
|
| /xnu-12377.41.6/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_netagent.c | 55 if (SDL(lladdr->ifa_addr)->sdl_alen == ETHER_ADDR_LEN && in get_mac_addr() 56 SDL(lladdr->ifa_addr)->sdl_type == IFT_ETHER) { in get_mac_addr()
|
| /xnu-12377.41.6/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_route.c | 1131 (struct sockaddr_dl *__bidi_indexable) SDL(gw_addr_orig); in flow_route_ev_callback()
|