/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if_dl.h | 89 struct sockaddr_dl { struct 112 #define SDL(s) ((struct sockaddr_dl *)s) 120 void link_addr(const char *, struct sockaddr_dl *); 121 char *link_ntoa(const struct sockaddr_dl *);
|
H A D | dlil.h | 81 struct sockaddr_dl; 130 const struct sockaddr_dl* sender_hw, 132 const struct sockaddr_dl* target_hw, 155 const struct sockaddr_dl* sender_hw, 157 const struct sockaddr_dl* target_hw,
|
H A D | if_ethersubr.c | 120 struct sockaddr_dl *sdl; 143 sdl = (struct sockaddr_dl *)sa; 155 MALLOC(sdl, struct sockaddr_dl *, sizeof *sdl, M_IFMADDR, 182 MALLOC(sdl, struct sockaddr_dl *, sizeof *sdl, M_IFMADDR,
|
H A D | multicast_list.c | 104 struct sockaddr_dl source_sdl; 106 struct sockaddr_dl target_sdl;
|
H A D | ether_inet_pr_module.c | 127 struct sockaddr_dl sender_hw; 243 struct sockaddr_dl ll_dest; 275 struct sockaddr_dl *out_ll, 278 static const size_t minsize = offsetof(struct sockaddr_dl, sdl_data[0]) + ETHER_ADDR_LEN; 393 const struct sockaddr_dl* sender_hw, 395 const struct sockaddr_dl* target_hw,
|
H A D | ether_inet6_pr_module.c | 146 struct sockaddr_dl sdl; 171 struct sockaddr_dl *out_ll, 174 static const size_t minsize = offsetof(struct sockaddr_dl, sdl_data[0]) + ETHER_ADDR_LEN;
|
H A D | kpi_interface.h | 46 struct sockaddr_dl; 469 @param out_ll A sockaddr_dl to copy the link layer multicast in to. 475 struct sockaddr_dl *out_ll, size_t ll_len); 505 const struct sockaddr_dl* sender_hw, 507 const struct sockaddr_dl* target_hw, 759 errno_t ifnet_attach(ifnet_t interface, const struct sockaddr_dl *ll_addr); 826 will match the index you would find in a sockaddr_dl or using 1382 the sockaddr_dl. Support for setting the type was added for vlan
|
H A D | if_fddisubr.c | 203 register struct sockaddr_dl *sdl; 205 if (rt && (sdl = (struct sockaddr_dl *)rt->rt_gateway) && 234 register struct sockaddr_dl *sdl = 235 (struct sockaddr_dl *) rt -> rt_gateway; 605 register struct sockaddr_dl *sdl; 617 sdl = (struct sockaddr_dl *)ifa->ifa_addr; 628 if ((sdl = (struct sockaddr_dl *)ifa->ifa_addr) &&
|
H A D | if.c | 735 const struct sockaddr_dl *sdl = (const struct sockaddr_dl *)addr; 1123 * Map interface name in a sockaddr_dl to 1130 struct sockaddr_dl *sdl = (struct sockaddr_dl *)sa; 1782 struct sockaddr_dl *sdl_new = NULL; 1796 const struct sockaddr_dl *sdl_original = 1797 (const struct sockaddr_dl*)original; 1800 offsetof(struct sockaddr_dl, sdl_data) > sdl_original->sdl_len) 1823 len = alen + offsetof(struct sockaddr_dl, sdl_dat [all...] |
H A D | dlil.c | 1741 result = resolvep(ifp, proto_addr,(struct sockaddr_dl*)ll_addr, 1763 const struct sockaddr_dl* sender_hw, 1765 const struct sockaddr_dl* target_hw, 1807 const struct sockaddr_dl* sender_hw, 1809 const struct sockaddr_dl* target_hw, 1880 (struct sockaddr_dl*)source_hw->ifa_addr, 2402 const struct sockaddr_dl *ll_addr) 2500 masklen = _offsetof(struct sockaddr_dl, sdl_data[0]) + namelen; 2503 if ((u_long)socksize < sizeof(struct sockaddr_dl)) 2504 socksize = sizeof(struct sockaddr_dl); [all...] |
H A D | kpi_interface.c | 887 struct sockaddr_dl *sdl; 914 struct sockaddr_dl *sdl; 925 sdl = (struct sockaddr_dl*)ifa->ifa_addr; 1066 struct sockaddr_dl *ll_addr; 1071 ll_addr = (struct sockaddr_dl *)ifa->ifa_addr;
|
H A D | ether_if_module.c | 587 e_addr = CONST_LLADDR((const struct sockaddr_dl*)proto_addr);
|
H A D | if_var.h | 303 struct sockaddr_dl;
|
H A D | ndrv.c | 164 struct sockaddr_dl ndrvsrc; 168 ndrvsrc.sdl_len = sizeof (struct sockaddr_dl);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in_arp.h | 33 struct sockaddr_dl; 65 struct sockaddr_dl *ll_dest, size_t ll_dest_len, route_t hint, 71 struct sockaddr_dl *ll_dest, size_t ll_dest_len, route_t hint, 96 const struct sockaddr_dl *sender_hw, 103 const struct sockaddr_dl *sender_hw,
|
H A D | if_atm.c | 93 #define SDL(s) ((struct sockaddr_dl *)s) 115 static struct sockaddr_dl null_sdl = {sizeof(null_sdl), AF_LINK}; 254 struct sockaddr_dl *sdl; 274 * note that rt_gateway is a sockaddr_dl which contains the
|
H A D | in_arp.c | 161 struct sockaddr_dl *sdl; 211 static struct sockaddr_dl null_sdl = {sizeof(null_sdl), AF_LINK, 0, 0, 0, 0, 0, {0}}; 251 dlil_send_arp(rt->rt_ifp, ARPOP_REQUEST, SDL(gate), rt_key(rt), (struct sockaddr_dl *)rt_key(rt), NULL); 288 dlil_resolve_multi(rt->rt_ifp, rt_key(rt), gate, sizeof(struct sockaddr_dl)); 292 struct sockaddr_dl *gate_ll = SDL(gate); 299 gate_ll->sdl_len = sizeof(struct sockaddr_dl); 344 sdl_addr_to_hex(const struct sockaddr_dl *sdl, char * orig_buf, int buflen) 512 struct sockaddr_dl *ll_dest, 519 struct sockaddr_dl *gateway; 543 - offsetof(struct sockaddr_dl, [all...] |
H A D | in_dhcp.c | 125 struct sockaddr_dl * dl_p; 268 link_address(struct sockaddr_dl * dl_p) 274 link_address_length(struct sockaddr_dl * dl_p) 280 link_print(struct sockaddr_dl * dl_p) 297 static struct sockaddr_dl * 305 struct sockaddr_dl * dl_p = (struct sockaddr_dl *)(addr->ifa_addr); 835 struct sockaddr_dl * dl_p;
|
/macosx-10.5.8/xnu-1228.15.4/libkern/uuid/ |
H A D | uuid.c | 55 struct sockaddr_dl *sdl; 60 sdl = (struct sockaddr_dl *)ifa->ifa_addr;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | nd6_nbr.c | 68 #define SDL(s) ((struct sockaddr_dl *)s) 113 struct sockaddr_dl *proxydl = NULL; 561 struct sockaddr_dl *sdl; 847 struct sockaddr *sdl0) /* sockaddr_dl (= proxy NA) or NULL */ 942 struct sockaddr_dl *sdl; 943 sdl = (struct sockaddr_dl *)sdl0;
|
H A D | nd6.c | 82 #define SDL(s) ((struct sockaddr_dl *)s) 824 struct sockaddr_dl *sdl; 830 sdl = (struct sockaddr_dl *)rt->rt_gateway; 1171 static struct sockaddr_dl null_sdl = {sizeof(null_sdl), AF_LINK, 0, 0, 0, 0, 0, 1689 struct sockaddr_dl *sdl = NULL; 2213 struct sockaddr_dl *sdl; 2265 struct sockaddr_dl *ll_dest, 2272 struct sockaddr_dl *sdl = NULL;
|
H A D | nd6.h | 455 struct sockaddr_dl *ll_dest, size_t ll_dest_len, route_t hint,
|
H A D | in6_ifattach.c | 259 * XXX assumes single sockaddr_dl (AF_LINK address) per an interface 267 struct sockaddr_dl *sdl; 282 sdl = (struct sockaddr_dl *)ifa->ifa_addr;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | ddp_lap.c | 1578 struct sockaddr_dl sdl; 1593 sdl.sdl_len = offsetof(struct sockaddr_dl, sdl_data) 1617 struct sockaddr_dl sdl; 1631 sdl.sdl_len = offsetof(struct sockaddr_dl, sdl_data) 1654 The issue is that the "struct sockaddr_dl" needed for the AF_LINK does not 1665 struct sockaddr_dl sdl; 1675 sdl.sdl_len = sizeof(struct sockaddr_dl); 1702 struct sockaddr_dl sdl; 1712 sdl.sdl_len = sizeof(struct sockaddr_dl);
|
H A D | at.c | 147 struct sockaddr_dl *sdl; 596 if ((sdl = (struct sockaddr_dl *)ifa->ifa_addr) &&
|