/titanic_41/usr/src/lib/libsocket/inet/ |
H A D | getifaddrs.c | 78 free(curr->ifa_addr); in freeifaddrs() 163 curr->ifa_addr = malloc(sizeof (struct sockaddr_storage)); in getallifaddrs() 164 if (curr->ifa_addr == NULL) in getallifaddrs() 166 (void) memcpy(curr->ifa_addr, &lifrp->lifr_addr, in getallifaddrs()
|
/titanic_41/usr/src/uts/common/inet/ |
H A D | ipnet.h | 78 } ifa_addr; member 85 #define ifa_ip4addr ifa_addr.ifau_ip4addr 86 #define ifa_ip6addr ifa_addr.ifau_ip6addr
|
/titanic_41/usr/src/head/ |
H A D | ifaddrs.h | 42 struct sockaddr *ifa_addr; /* Network address of this interface. */ member
|
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu_ip.c | 398 (void) memcpy(&addr, a->ia_ifa.ifa_addr, sizeof (addr)); in nwamd_dhcp_managing() 574 if (ainfop->ia_ifa.ifa_addr->sa_family != AF_INET6) in stateless_running() 609 (void) memcpy(&addr, ainfop->ia_ifa.ifa_addr, sizeof (addr)); in addrinfo_for_addr() 906 (void) memcpy(&ai_addr, addrinfo->ia_ifa.ifa_addr, in nwamd_ncu_handle_if_state_event() 943 addrinfo->ia_ifa.ifa_addr, in nwamd_ncu_handle_if_state_event() 947 addrinfo->ia_ifa.ifa_addr, in nwamd_ncu_handle_if_state_event() 972 (void) memcpy(&stor, a->ia_ifa.ifa_addr, in nwamd_ncu_handle_if_state_event() 983 a->ia_ifa.ifa_addr, in nwamd_ncu_handle_if_state_event()
|
H A D | conditions.c | 450 (void) memcpy(&addr, ifa->ifa_addr, sizeof (addr)); in check_ipaddr() 455 (void) memcpy(&addr6, ifa->ifa_addr, sizeof (addr6)); in check_ipaddr() 540 if (ifap->ifa_addr->sa_family != family) in test_condition_ip_address()
|
/titanic_41/usr/src/uts/common/netinet/ |
H A D | in_var.h | 31 #define ia_addr ia_ifa.ifa_addr
|
/titanic_41/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 350 if (i->ifa_addr->sa_family == AF_INET) { in _nss_has_interfaces() 354 if (((struct sockaddr_in *)i->ifa_addr)-> in _nss_has_interfaces() 360 if (i->ifa_addr->sa_family == AF_INET6) { in _nss_has_interfaces() 365 &((struct sockaddr_in6 *)i->ifa_addr)->sin6_addr, in _nss_has_interfaces()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | localaddr.c | 204 if (ifp->ifa_addr) in printifaddr() 205 printf ("\n\taddr="), printaddr (ifp->ifa_addr); in printifaddr() 445 if (ifp->ifa_addr == NULL) { in foreach_localaddr() 464 if (addr_eq (ifp->ifa_addr, ifp2->ifa_addr)) { in foreach_localaddr() 472 if ((*pass1fn) (data, ifp->ifa_addr)) in foreach_localaddr() 480 if ((*pass2fn) (data, ifp->ifa_addr)) in foreach_localaddr()
|
/titanic_41/usr/src/cmd/lms/tools/ |
H A D | ATNetworkTool.cpp | 169 if (NULL == ifa->ifa_addr) { in GetLocalIPs() 183 if (!ATAddress::saIsInet(ifa->ifa_addr)) { in GetLocalIPs() 187 if (ifa->ifa_addr->sa_family != family) { in GetLocalIPs() 193 addresses.insert(ifa->ifa_addr); in GetLocalIPs()
|
/titanic_41/usr/src/lib/libipadm/common/ |
H A D | ipadm_addr.c | 387 sockaddrunspec(ifap->ifa_addr) && in i_ipadm_active_addr_info() 406 cifaddr->ifa_addr = malloc(sizeof (struct sockaddr_storage)); in i_ipadm_active_addr_info() 407 if (cifaddr->ifa_addr == NULL) in i_ipadm_active_addr_info() 409 (void) memcpy(cifaddr->ifa_addr, ifap->ifa_addr, in i_ipadm_active_addr_info() 437 ipaddr.ipadm_af = ifap->ifa_addr->sa_family; in i_ipadm_active_addr_info() 444 (void) memcpy(&data, ifap->ifa_addr, in i_ipadm_active_addr_info() 474 sock = (ifap->ifa_addr->sa_family == AF_INET) ? in i_ipadm_active_addr_info() 728 if ((ifa->ifa_addr = calloc(1, size)) == NULL) in i_ipadm_nvl2ainfo_persist() 732 ifa->ifa_addr->sa_family = af; in i_ipadm_nvl2ainfo_persist() 735 ifa->ifa_addr->sa_family = AF_INET; in i_ipadm_nvl2ainfo_persist() [all …]
|
/titanic_41/usr/src/lib/libbc/inc/include/net/ |
H A D | if.h | 171 struct sockaddr ifa_addr; /* address of interface */ member
|
/titanic_41/usr/src/cmd/ipf/tools/ |
H A D | ip_fil.c | 598 sin = (struct sockaddr_in *)&ifa->ifa_addr; 1018 sin = (struct sockaddr_in *)&ifa->ifa_addr;
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 1708 af = ifa->ifa_addr->sa_family; in print_sa_cb() 1714 sin = (struct sockaddr_in *)ifa->ifa_addr; in print_sa_cb() 1715 sin6 = (struct sockaddr_in6 *)ifa->ifa_addr; in print_sa_cb() 1759 sockaddr2str((struct sockaddr_storage *)ifa->ifa_addr, in print_sa_cb()
|
/titanic_41/usr/src/uts/common/net/ |
H A D | if.h | 261 struct sockaddr ifa_addr; /* address of interface */ member
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | main.c | 2551 if (ifap->ifa_addr->sa_family != AF_INET6 || in phyint_check_ipadm_intfid() 2554 sin6 = (struct sockaddr_in6 *)ifap->ifa_addr; in phyint_check_ipadm_intfid()
|
/titanic_41/usr/src/cmd/rcm_daemon/common/ |
H A D | ip_rcm.c | 1119 (void) memcpy(&ifaddr, ifa->ifa_addr, sizeof (ifaddr)); in update_pif() 1263 af == ifa->ifa_addr->sa_family) in update_ipifs()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
H A D | ifconfig.c | 559 s = (ifa->ifa_addr->sa_family == AF_INET ? s4 : s6); in foreachinterface() 812 (ifa->ifa_addr->sa_family == p->c_af)) { in ifconfig() 2014 (struct sockaddr_storage *)ainfop->ia_ifa.ifa_addr, &laddr)) in removeif()
|
/titanic_41/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_proc.c | 1312 struct sockaddr *sa = cifap->ifa_addr; in merge_ips()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/vrrpd/ |
H A D | vrrpd.c | 1582 if (ainfop->ia_ifa.ifa_addr->sa_family != af) in vrrpd_walk_addr_info() 1587 (void) memcpy(&stor, ainfop->ia_ifa.ifa_addr, sizeof (stor)); in vrrpd_walk_addr_info()
|