Home
last modified time | relevance | path

Searched refs:ifa_addr (Results 1 – 19 of 19) sorted by relevance

/titanic_41/usr/src/lib/libsocket/inet/
H A Dgetifaddrs.c78 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 Dipnet.h78 } 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 Difaddrs.h42 struct sockaddr *ifa_addr; /* Network address of this interface. */ member
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dncu_ip.c398 (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 Dconditions.c450 (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 Din_var.h31 #define ia_addr ia_ifa.ifa_addr
/titanic_41/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c350 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 Dlocaladdr.c204 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 DATNetworkTool.cpp169 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 Dipadm_addr.c387 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 Dif.h171 struct sockaddr ifa_addr; /* address of interface */ member
/titanic_41/usr/src/cmd/ipf/tools/
H A Dip_fil.c598 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 Dipadm.c1708 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 Dif.h261 struct sockaddr ifa_addr; /* address of interface */ member
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c2551 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 Dip_rcm.c1119 (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 Difconfig.c559 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 Dsm_proc.c1312 struct sockaddr *sa = cifap->ifa_addr; in merge_ips()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c1582 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()