Searched refs:ifaddr (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/uts/common/netinet/
H A Din_var.h15 * The ifaddr structure contains the protocol-independent part
30 struct ifaddr ia_ifa; /* protocol-independent info */
44 * Given a pointer to an in_ifaddr (ifaddr),
/illumos-gate/usr/src/boot/include/netinet/
H A Dif_ether.h115 struct ifaddr;
121 void arp_ifinit(struct ifnet *, struct ifaddr *);
122 void arp_ifinit2(struct ifnet *, struct ifaddr *, u_char *);
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_health.c135 uint16_t *this = (uint16_t *)ip->ifaddr.buf;
147 uchar_t *this = (uchar_t *)ip->ifaddr.buf;
189 char ifaddr[RDC_MAXADDR]; local
193 bcopy(ip->ifaddr.buf, ifaddr, ip->ifaddr.len);
194 sp = (uint16_t *)ifaddr;
212 /* primary ifaddr */
213 bcopy(ip->ifaddr.buf, ping6.s_ifaddr,
215 /* secondary ifaddr */
[all...]
H A Drdc_io.h157 struct netbuf ifaddr; member in struct:rdc_if_s
H A Drdc_svc.c1187 if ((bcmp(ping.p_ifaddr, ip->ifaddr.buf,
1237 if ((bcmp(ping.p_ifaddr.buf, ip->ifaddr.buf,
/illumos-gate/usr/src/lib/libbc/inc/include/net/
H A Dif.h53 struct ifaddr *if_addrlist; /* linked list of addresses per if */
165 * The ifaddr structure contains information about one address
170 struct ifaddr { struct
183 struct ifaddr *ifa_next; /* next address for interface */
/illumos-gate/usr/src/uts/common/inet/ipnet/
H A Dipnet.c1011 ipnetif_addr_t *ifaddr; local
1034 for (ifaddr = list_head(list);
1035 ifaddr != NULL && addrtype == IPNETADDR_UNKNOWN;
1036 ifaddr = list_next(list, ifaddr)) {
1042 ipnet->ipnet_zoneid != ifaddr->ifa_zone)
1046 if (ifaddr->ifa_ip4addr != INADDR_ANY &&
1047 *(addr->iap_addr4) == ifaddr->ifa_ip4addr)
1049 else if (ifaddr->ifa_brdaddr != INADDR_ANY &&
1050 *(addr->iap_addr4) == ifaddr
1387 ipnetif_addr_t *ifaddr; local
1443 ipnet_delete_ifaddr(ipnetif_addr_t *ifaddr, ipnetif_t *ipnetif, boolean_t isv6) argument
1520 ipnetif_addr_t *ifaddr; local
1541 ipnetif_addr_t *ifaddr; local
1681 ipnetif_addr_t *ifaddr; local
[all...]
/illumos-gate/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,
1721 * Lookup an ill based on the group, ifindex, ifaddr, and zoneid.
1722 * Applies to both IPv4 and IPv6, although ifaddr is only used with
1728 ill_mcast_lookup(const in6_addr_t *group, ipaddr_t ifaddr, uint_t ifindex, argument
1740 } else if (ifaddr != INADDR_ANY) {
1743 ipif = ipif_lookup_addr(ifaddr, NULL, zoneid, ipst);
1787 * Handles both IPv4 and IPv6. The ifaddr argument only applies in the
1792 const in6_addr_t *v6src, ipaddr_t ifaddr, uint_
1791 ip_opt_check(conn_t *connp, const in6_addr_t *v6group, const in6_addr_t *v6src, ipaddr_t ifaddr, uint_t ifindex, ill_t **illpp) argument
1843 ipaddr_t ifaddr; local
1934 ipaddr_t ifaddr; local
2454 ip_opt_add_group(conn_t *connp, boolean_t checkonly, const in6_addr_t *v6group, ipaddr_t ifaddr, uint_t ifindex, mcast_record_t fmode, const in6_addr_t *v6src) argument
2518 ip_opt_delete_group_excl(conn_t *connp, const in6_addr_t *v6group, ipaddr_t ifaddr, uint_t ifindex, mcast_record_t fmode, const in6_addr_t *v6src) argument
2654 ip_opt_delete_group(conn_t *connp, boolean_t checkonly, const in6_addr_t *v6group, ipaddr_t ifaddr, uint_t ifindex, mcast_record_t fmode, const in6_addr_t *v6src) argument
2696 ilg_add(conn_t *connp, const in6_addr_t *v6group, ipaddr_t ifaddr, uint_t ifindex, ill_t *ill, mcast_record_t fmode, const in6_addr_t *v6src) argument
3013 ilg_lookup(conn_t *connp, const in6_addr_t *v6group, ipaddr_t ifaddr, uint_t ifindex) argument
3174 ipaddr_t ifaddr; local
[all...]
H A Dip6_rts.c83 const in6_addr_t *author, const in6_addr_t *ifaddr, const ill_t *ill,
127 sin6->sin6_addr = *ifaddr;
80 rts_fill_msg_v6(int type, int rtm_addrs, const in6_addr_t *dst, const in6_addr_t *mask, const in6_addr_t *gateway, const in6_addr_t *src_addr, const in6_addr_t *brd_addr, const in6_addr_t *author, const in6_addr_t *ifaddr, const ill_t *ill, mblk_t *mp, const tsol_gc_t *gc) argument
H A Dip_rts.c83 ipaddr_t author, ipaddr_t ifaddr, const ill_t *ill, mblk_t *mp,
1236 ipaddr_t ifaddr; local
1283 ifaddr = ipif->ipif_lcl_addr;
1323 brdaddr, 0, ifaddr, ill, new_mp, gc);
1716 ipaddr_t ifaddr, const ill_t *ill, mblk_t *mp,
1763 sin->sin_addr.s_addr = ifaddr;
1714 rts_fill_msg(int type, int rtm_addrs, ipaddr_t dst, ipaddr_t mask, ipaddr_t gateway, ipaddr_t src_addr, ipaddr_t brd_addr, ipaddr_t author, ipaddr_t ifaddr, const ill_t *ill, mblk_t *mp, const tsol_gc_t *gc) argument
H A Dip.c6318 ipaddr_t ifaddr; local
6363 ifaddr = INADDR_ANY;
6368 ifaddr = INADDR_ANY;
6373 ifaddr = (ipaddr_t)v4_mreqp->imr_interface.s_addr;
6409 error = optfn(connp, checkonly, &v6group, ifaddr, ifindex,
6433 ipaddr_t ifaddr; local
6497 ifaddr = INADDR_ANY;
6502 ifaddr = (ipaddr_t)imreqp->imr_interface.s_addr;
6538 error = optfn(connp, checkonly, &v6group, ifaddr, ifindex,
8992 ipaddr_t ifaddr; local
9243 ipaddr_t ifaddr; local
[all...]
/illumos-gate/usr/src/uts/common/net/
H A Dif.h70 struct ifaddr *if_addrlist; /* linked list of addresses per if */
255 * The ifaddr structure contains information about one address
260 struct ifaddr { struct
269 struct ifaddr *ifa_next; /* next address for interface */
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c1231 struct sockaddr_in ifaddr; local
1234 ifaddr.sin_family = AF_INET;
1253 ifaddr.sin_addr = li->li_address;
1256 pr_name(ifaddr.sin_addr));
1258 (char *)&ifaddr.sin_addr,
1259 sizeof (ifaddr.sin_addr)) < 0) {
1262 pr_name(ifaddr.sin_addr));
1270 pr_name(ifaddr.sin_addr));
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dip_fil.c567 struct ifaddr *ifa;
581 ifa = (struct ifaddr *)malloc(sizeof(*ifa));
998 struct ifaddr *ifa;
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dip_rcm.c1064 struct sockaddr_storage ifaddr; local
1119 (void) memcpy(&ifaddr, ifa->ifa_addr, sizeof (ifaddr));
1156 (probelif->li_addr.family == ifaddr.ss_family)) {
1163 (void) memcpy(&probelif->li_addr, &ifaddr,
1210 (void) memcpy(&probelif->li_addr, &ifaddr,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c4218 struct sockaddr_in ifaddr; local
4232 ifaddr = *((struct sockaddr_in *)&lifr.lifr_addr);
4234 ifaddr.sin_addr = saddr->sin_addr;
4236 if (getnetmaskbyaddr(ifaddr.sin_addr, &saddr->sin_addr) == 0) {
/illumos-gate/usr/src/cmd/mdb/common/modules/rdc/
H A Drdc.c436 addr + OFFSETOF(rdc_if_t, ifaddr),
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h1205 struct ifaddr *if_addrlist;

Completed in 198 milliseconds