Home
last modified time | relevance | path

Searched refs:ifaddr (Results 1 – 17 of 17) sorted by relevance

/titanic_44/usr/src/uts/common/avs/ns/rdc/
H A Drdc_health.c135 uint16_t *this = (uint16_t *)ip->ifaddr.buf; in rdc_if_xxx()
147 uchar_t *this = (uchar_t *)ip->ifaddr.buf; in rdc_if_xxx()
189 char ifaddr[RDC_MAXADDR]; in rdc_health_thread() local
193 bcopy(ip->ifaddr.buf, ifaddr, ip->ifaddr.len); in rdc_health_thread()
194 sp = (uint16_t *)ifaddr; in rdc_health_thread()
213 bcopy(ip->ifaddr.buf, ping6.s_ifaddr, in rdc_health_thread()
223 ping.s_ifaddr.buf = ifaddr; in rdc_health_thread()
224 ping.s_ifaddr.len = ip->ifaddr.len; in rdc_health_thread()
225 ping.s_ifaddr.maxlen = ip->ifaddr.len; in rdc_health_thread()
294 if (((bcmp(ip->ifaddr.buf, addr->buf, addr->len) == 0) && in rdc_isactive_if()
[all …]
H A Drdc_io.h157 struct netbuf ifaddr; member
H A Drdc_svc.c1187 if ((bcmp(ping.p_ifaddr, ip->ifaddr.buf, in r_net_ping4()
1237 if ((bcmp(ping.p_ifaddr.buf, ip->ifaddr.buf, in r_net_ping7()
/titanic_44/usr/src/uts/common/inet/ipnet/
H A Dipnet.c1007 ipnetif_addr_t *ifaddr; in ipnet_get_addrtype() local
1030 for (ifaddr = list_head(list); in ipnet_get_addrtype()
1031 ifaddr != NULL && addrtype == IPNETADDR_UNKNOWN; in ipnet_get_addrtype()
1032 ifaddr = list_next(list, ifaddr)) { in ipnet_get_addrtype()
1038 ipnet->ipnet_zoneid != ifaddr->ifa_zone) in ipnet_get_addrtype()
1042 if (ifaddr->ifa_ip4addr != INADDR_ANY && in ipnet_get_addrtype()
1043 *(addr->iap_addr4) == ifaddr->ifa_ip4addr) in ipnet_get_addrtype()
1045 else if (ifaddr->ifa_brdaddr != INADDR_ANY && in ipnet_get_addrtype()
1046 *(addr->iap_addr4) == ifaddr->ifa_brdaddr) in ipnet_get_addrtype()
1051 &ifaddr->ifa_ip6addr)) in ipnet_get_addrtype()
[all …]
/titanic_44/usr/src/uts/common/inet/ip/
H A Dip_multi.c83 static ilg_t *ilg_lookup(conn_t *, const in6_addr_t *, ipaddr_t ifaddr,
87 ipaddr_t ifaddr, uint_t ifindex, ill_t *ill, mcast_record_t fmode,
93 const in6_addr_t *v6group, ipaddr_t ifaddr, uint_t ifindex,
1728 ill_mcast_lookup(const in6_addr_t *group, ipaddr_t ifaddr, uint_t ifindex, in ill_mcast_lookup() argument
1740 } else if (ifaddr != INADDR_ANY) { in ill_mcast_lookup()
1743 ipif = ipif_lookup_addr(ifaddr, NULL, zoneid, ipst); in ill_mcast_lookup()
1792 const in6_addr_t *v6src, ipaddr_t ifaddr, uint_t ifindex, ill_t **illpp) in ip_opt_check() argument
1826 ill = ill_mcast_lookup(v6group, ifaddr, ifindex, IPCL_ZONEID(connp), in ip_opt_check()
1843 ipaddr_t ifaddr; in ip_get_srcfilter() local
1851 ifaddr = imsf->imsf_interface.s_addr; in ip_get_srcfilter()
[all …]
H A Dip6_rts.c83 const in6_addr_t *author, const in6_addr_t *ifaddr, const ill_t *ill, in rts_fill_msg_v6() argument
127 sin6->sin6_addr = *ifaddr; in rts_fill_msg_v6()
H A Dip_rts.c83 ipaddr_t author, ipaddr_t ifaddr, const ill_t *ill, mblk_t *mp,
1236 ipaddr_t ifaddr; in rts_rtmget() local
1283 ifaddr = ipif->ipif_lcl_addr; in rts_rtmget()
1323 brdaddr, 0, ifaddr, ill, new_mp, gc); in rts_rtmget()
1716 ipaddr_t ifaddr, const ill_t *ill, mblk_t *mp, in rts_fill_msg() argument
1763 sin->sin_addr.s_addr = ifaddr; in rts_fill_msg()
H A Dip.c6318 ipaddr_t ifaddr; in ip_opt_set_multicast_group() local
6363 ifaddr = INADDR_ANY; in ip_opt_set_multicast_group()
6368 ifaddr = INADDR_ANY; in ip_opt_set_multicast_group()
6373 ifaddr = (ipaddr_t)v4_mreqp->imr_interface.s_addr; in ip_opt_set_multicast_group()
6409 error = optfn(connp, checkonly, &v6group, ifaddr, ifindex, in ip_opt_set_multicast_group()
6433 ipaddr_t ifaddr; in ip_opt_set_multicast_sources() local
6497 ifaddr = INADDR_ANY; in ip_opt_set_multicast_sources()
6502 ifaddr = (ipaddr_t)imreqp->imr_interface.s_addr; in ip_opt_set_multicast_sources()
6538 error = optfn(connp, checkonly, &v6group, ifaddr, ifindex, in ip_opt_set_multicast_sources()
8992 ipaddr_t ifaddr; in ip_forward_options() local
[all …]
/titanic_44/usr/src/lib/libbc/inc/include/net/
H A Dif.h53 struct ifaddr *if_addrlist; /* linked list of addresses per if */
170 struct ifaddr { struct
183 struct ifaddr *ifa_next; /* next address for interface */ argument
/titanic_44/usr/src/uts/common/netinet/
H A Din_var.h30 struct ifaddr ia_ifa; /* protocol-independent info */
/titanic_44/usr/src/uts/common/net/
H A Dif.h70 struct ifaddr *if_addrlist; /* linked list of addresses per if */
260 struct ifaddr { struct
269 struct ifaddr *ifa_next; /* next address for interface */ argument
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c1231 struct sockaddr_in ifaddr; in sendmcastif() local
1234 ifaddr.sin_family = AF_INET; in sendmcastif()
1253 ifaddr.sin_addr = li->li_address; in sendmcastif()
1256 pr_name(ifaddr.sin_addr)); in sendmcastif()
1258 (char *)&ifaddr.sin_addr, in sendmcastif()
1259 sizeof (ifaddr.sin_addr)) < 0) { in sendmcastif()
1262 pr_name(ifaddr.sin_addr)); in sendmcastif()
1270 pr_name(ifaddr.sin_addr)); in sendmcastif()
/titanic_44/usr/src/cmd/ipf/tools/
H A Dip_fil.c568 struct ifaddr *ifa;
582 ifa = (struct ifaddr *)malloc(sizeof(*ifa));
999 struct ifaddr *ifa;
/titanic_44/usr/src/cmd/rcm_daemon/common/
H A Dip_rcm.c1064 struct sockaddr_storage ifaddr; in update_pif() local
1119 (void) memcpy(&ifaddr, ifa->ifa_addr, sizeof (ifaddr)); in update_pif()
1156 (probelif->li_addr.family == ifaddr.ss_family)) { in update_pif()
1163 (void) memcpy(&probelif->li_addr, &ifaddr, in update_pif()
1210 (void) memcpy(&probelif->li_addr, &ifaddr, in update_pif()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c4218 struct sockaddr_in ifaddr; in in_getmask() local
4232 ifaddr = *((struct sockaddr_in *)&lifr.lifr_addr); in in_getmask()
4234 ifaddr.sin_addr = saddr->sin_addr; in in_getmask()
4236 if (getnetmaskbyaddr(ifaddr.sin_addr, &saddr->sin_addr) == 0) { in in_getmask()
/titanic_44/usr/src/cmd/mdb/common/modules/rdc/
H A Drdc.c436 addr + OFFSETOF(rdc_if_t, ifaddr), in rdc_if()
/titanic_44/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h1210 struct ifaddr *if_addrlist;