Searched refs:ifr_addr (Results 1 - 16 of 16) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if_gif.c | 736 dst = &ifr->ifr_addr; 737 size = sizeof(ifr->ifr_addr); 743 &(((struct in6_ifreq *)data)->ifr_addr); 744 size = sizeof(((struct in6_ifreq *)data)->ifr_addr); 768 dst = &ifr->ifr_addr; 769 size = sizeof(ifr->ifr_addr); 775 &(((struct in6_ifreq *)data)->ifr_addr); 776 size = sizeof(((struct in6_ifreq *)data)->ifr_addr);
|
H A D | if.h | 321 #define ifr_addr ifr_ifru.ifru_addr /* address */ macro 344 ((ifr).ifr_addr.sa_len > sizeof(struct sockaddr) ? \ 346 (ifr).ifr_addr.sa_len) : sizeof(struct ifreq))
|
H A D | if.c | 1379 if (ifr->ifr_addr.sa_family != AF_LINK) 1384 error = if_addmulti(ifp, &ifr->ifr_addr, NULL); 1387 error = if_delmulti(ifp, &ifr->ifr_addr); 1461 if (ifr->ifr_addr.sa_family == 0 && 1462 ifr->ifr_addr.sa_len < 16) { 1463 ifr->ifr_addr.sa_family = ifr->ifr_addr.sa_len; 1464 ifr->ifr_addr.sa_len = 16; 1467 if (ifr->ifr_addr.sa_len == 0) 1468 ifr->ifr_addr [all...] |
H A D | if_disc.c | 213 switch (ifr->ifr_addr.sa_family) {
|
H A D | ether_at_pr_module.c | 207 ifnet_lladdr_copy_bytes(ifp, ifr->ifr_addr.sa_data, ETHER_ADDR_LEN);
|
H A D | if_dummy.c | 258 switch (ifr->ifr_addr.sa_family) {
|
H A D | ether_inet6_pr_module.c | 219 ifnet_lladdr_copy_bytes(ifp, ifr->ifr_addr.sa_data, ETHER_ADDR_LEN);
|
H A D | if_loop.c | 347 switch (ifr->ifr_addr.sa_family) {
|
H A D | ether_inet_pr_module.c | 352 ifnet_lladdr_copy_bytes(ifp, ifr->ifr_addr.sa_data, ETHER_ADDR_LEN);
|
H A D | if_stf.c | 799 if (ifr && ifr->ifr_addr.sa_family == AF_INET6)
|
H A D | if_bond.c | 912 ifr.ifr_addr.sa_family = AF_UNSPEC; 913 ifr.ifr_addr.sa_len = ETHER_ADDR_LEN; 914 ether_addr_copy(ifr.ifr_addr.sa_data, ea_p);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in.c | 312 if (((struct sockaddr_in *)&ifr->ifr_addr)->sin_addr.s_addr == 318 if (ifr->ifr_addr.sa_family != AF_INET) 502 *((struct sockaddr_in *)&ifr->ifr_addr) = ia->ia_addr; 522 *((struct sockaddr_in *)&ifr->ifr_addr) = ia->ia_sockmask; 617 error = in_ifinit(ifp, ia, (struct sockaddr_in *) &ifr->ifr_addr, 1);
|
H A D | ip_mroute.c | 618 ((struct sockaddr_in *)&(ifr.ifr_addr))->sin_family = AF_INET; 619 ((struct sockaddr_in *)&(ifr.ifr_addr))->sin_addr.s_addr 801 ((struct sockaddr_in *)&(ifr.ifr_addr))->sin_family = AF_INET; 802 ((struct sockaddr_in *)&(ifr.ifr_addr))->sin_addr.s_addr = INADDR_ANY;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | ip6_mroute.c | 516 ifr.ifr_addr.sin6_family = AF_INET6; 517 ifr.ifr_addr.sin6_addr= in6addr_any;
|
H A D | in6.c | 715 ifr->ifr_addr = ia->ia_addr; 731 ifr->ifr_addr = ia->ia_prefixmask;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netkey/ |
H A D | key.c | 8516 result = ifaddr_address(address, &ifr.ifr_addr, sizeof(ifr.ifr_addr)); 8533 result = ifaddr_address(address, (struct sockaddr*)&ifr6.ifr_addr, 8534 sizeof(ifr6.ifr_addr));
|
Completed in 152 milliseconds