Searched refs:SDL (Results 1 – 18 of 18) sorted by relevance
| /xnu-11215/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_ethernet.c | 60 if (SDL(lladdr->ifa_addr)->sdl_alen != ETHER_ADDR_LEN || in fsw_ethernet_setup() 61 SDL(lladdr->ifa_addr)->sdl_type != IFT_ETHER) { in fsw_ethernet_setup() 209 SDL(tgt_rt->rt_gateway)->sdl_type != IFT_ETHER)) { in fsw_ethernet_resolve() 226 SDL(tgt_rt->rt_gateway)->sdl_alen == ETHER_ADDR_LEN)) { in fsw_ethernet_resolve() 230 (struct sockaddr_dl *__bidi_indexable) SDL(tgt_rt->rt_gateway); in fsw_ethernet_resolve() 354 if (SDL(tgt_rt->rt_gateway)->sdl_alen != in fsw_ethernet_resolve() 373 (struct sockaddr_dl *__bidi_indexable) SDL(tgt_rt->rt_gateway); in fsw_ethernet_resolve() 443 (struct sockaddr_dl *__bidi_indexable) SDL(tgt_rt->rt_gateway); in fsw_ethernet_resolve()
|
| /xnu-11215/bsd/netinet/ |
| H A D | in_arp.c | 958 SDL(gate)->sdl_type = rt->rt_ifp->if_type; in arp_rtrequest() 998 struct sockaddr_dl *gate_ll = SDL(gate); in arp_rtrequest() 1036 struct sockaddr_dl *gate_ll = SDL(gate); in arp_rtrequest() 1408 gateway = SDL(route->rt_gateway); in arp_lookup_ip() 1475 SDL(&sdl), in arp_lookup_ip() 1858 gateway = SDL(route->rt_gateway); in arp_ip_handle_input() 1906 SDL(ifa->ifa_addr), in arp_ip_handle_input() 1957 gateway = SDL(route->rt_gateway); in arp_ip_handle_input() 1994 gateway = SDL(route->rt_gateway); in arp_ip_handle_input() 2044 gateway = SDL(route->rt_gateway); in arp_ip_handle_input() [all …]
|
| H A D | ip_input.c | 3878 struct sockaddr_dl *sdl2 = SDL(sdlbuf); in ip_savecontrol() 3897 sdp = SDL(ifa->ifa_addr); in ip_savecontrol()
|
| H A D | ip_output.c | 3357 SDL(ro->ro_rt->rt_gateway)->sdl_alen != 0))) { in in_selectsrcif()
|
| /xnu-11215/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 | ether_if_module.c | 711 e_addr = CONST_LLADDR(SDL(proto_addr)); in ether_check_multi()
|
| H A D | kpi_interface.c | 2285 struct sockaddr_dl *sdl = SDL(ifa->ifa_addr); in ifnet_lladdr() 2338 const struct sockaddr_dl *sdl = SDL(sdlbuf); in ifnet_lladdr_copy_bytes_internal() 2342 bytes = dlil_ifaddr_bytes_indexable(SDL(sdlbuf), &bytes_len, credp); in ifnet_lladdr_copy_bytes_internal() 2474 const struct sockaddr_dl *sdl = SDL(maddr); in ifnet_add_multicast() 2594 ll_addr = SDL(ifa->ifa_addr); in ifnet_find_by_name()
|
| H A D | if.c | 1298 SDL(addr); in ifa_ifwithnet_common() 1875 struct sockaddr_dl *sdl = SDL(sa); in if_withname() 4183 struct sockaddr_dl *sdl = SDL(ifp->if_lladdr->ifa_addr); in ifioctl_ifreq() 5574 SDL(original); in copy_and_normalize() 5612 sdl_new = SDL(kalloc_data(len, Z_WAITOK | Z_ZERO)); in copy_and_normalize()
|
| H A D | route.c | 805 if ((sa->sa_family != AF_LINK) || (SDL(sa)->sdl_alen == 0)) { in rtm_scrub() 813 struct sockaddr_dl *sdl = SDL(buf); in rtm_scrub() 2856 kdp_set_gateway_mac(SDL(gwrt->rt_gateway)-> in rt_setgate()
|
| H A D | dlil.c | 7627 result = resolvep(ifp, proto_addr, SDL(ll_addr), ll_len); in dlil_resolve_multi() 7891 arpop, SDL(source_hw->ifa_addr), in dlil_send_arp() 9169 addr_sdl = SDL(dl_if_lladdr_ext->addr_sdl_bytes); in dlil_alloc_lladdr() 9170 mask_sdl = SDL(dl_if_lladdr_ext->mask_sdl_bytes); in dlil_alloc_lladdr() 9190 addr_sdl = SDL(dl_if->dl_if_lladdr.addr_sdl_bytes); in dlil_alloc_lladdr() 9191 mask_sdl = SDL(dl_if->dl_if_lladdr.mask_sdl_bytes); in dlil_alloc_lladdr()
|
| H A D | if_bridge.c | 1410 struct sockaddr_dl *sdl = SDL((uint8_t*)&sdl_buffer); /* SDL requires byte pointer */ in brlog_link()
|
| /xnu-11215/bsd/netinet6/ |
| H A D | nd6_nbr.c | 422 proxydl = *SDL(rt->rt_gateway); in nd6_ns_input() 1089 (sdl = SDL(rt->rt_gateway)) == NULL) { in nd6_na_input() 1589 sdl = SDL(sdl0); in nd6_na_output() 2152 sdl = SDL(llifa->ifa_addr); in nd6_dad_duplicated() 2476 struct sockaddr_dl *sdl = SDL(isdl); in nd6_alt_node_addr_decompose() 2517 struct sockaddr_dl *sdla = SDL(sa); in nd6_alt_node_addr_decompose() 2556 struct sockaddr_dl *sdl = SDL(isdl); in nd6_alt_node_present() 2685 SDL(rt->rt_gateway)->sdl_len <= sizeof(*sdl)) { in nd6_alt_node_absent() 2686 SOCKADDR_COPY(rt->rt_gateway, sdl, SDL(rt->rt_gateway)->sdl_len); in nd6_alt_node_absent()
|
| H A D | nd6.c | 2253 SDL(rt->rt_gateway)->sdl_index == ifp->if_index) { in nd6_purge_interface_llinfo() 2818 SDL(gate)->sdl_type = ifp->if_type; in nd6_rtrequest() 2819 SDL(gate)->sdl_index = ifp->if_index; in nd6_rtrequest() 2873 SDL(gate)->sdl_type = ifp->if_type; in nd6_rtrequest() 2874 SDL(gate)->sdl_index = ifp->if_index; in nd6_rtrequest() 2968 SOCKADDR_COPY(macp, LLADDR(SDL(gate)), ifp->if_addrlen); in nd6_rtrequest() 2969 SDL(gate)->sdl_alen = ifp->if_addrlen; in nd6_rtrequest() 3578 sdl = SDL(rt->rt_gateway); in nd6_cache_lladdr() 4511 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 | 2939 (sdl = SDL(rt_router->rt_gateway)) && sdl->sdl_alen) { in icmp6_redirect_output()
|
| /xnu-11215/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-11215/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_route.c | 1121 (struct sockaddr_dl *__bidi_indexable) SDL(gw_addr_orig); in flow_route_ev_callback()
|