Searched refs:net_mask (Results 1 – 4 of 4) sorted by relevance
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | ip6_rts.c | 197 const in6_addr_t *gw_addr, const in6_addr_t *net_mask, in ip_rts_change_v6() argument 209 rts_fill_msg_v6(type, rtm_addrs, dst_addr, net_mask, gw_addr, source, in ip_rts_change_v6()
|
H A D | ip_rts.c | 94 static ire_t *ire_lookup_v4(ipaddr_t dst_addr, ipaddr_t net_mask, 298 ipaddr_t net_mask; in ip_rts_request_common() local 376 net_mask = IP_HOST_MASK; in ip_rts_request_common() 378 IN6_V4MAPPED_TO_IPADDR(&net_mask_v6, net_mask); in ip_rts_request_common() 542 error = ip_rt_add(dst_addr, net_mask, gw_addr, src_addr, in ip_rts_request_common() 613 error = ip_rt_delete(dst_addr, net_mask, gw_addr, in ip_rts_request_common() 698 if (net_mask == IP_HOST_MASK) { in ip_rts_request_common() 704 ire = ire_lookup_v4(dst_addr, net_mask, in ip_rts_request_common() 981 ire_lookup_v4(ipaddr_t dst_addr, ipaddr_t net_mask, ipaddr_t gw_addr, in ire_lookup_v4() argument 1003 ire = ire_ftable_lookup_v4(dst_addr, net_mask, gw_addr, in ire_lookup_v4() [all …]
|
H A D | ip_if.c | 4327 ipaddr_t net_mask; in ip_addr_ok_v4() local 4333 if ((net_mask = ip_net_mask(addr)) == 0) in ip_addr_ok_v4() 4337 net_mask = subnet_mask; in ip_addr_ok_v4() 4338 if ((net_mask != ~(ipaddr_t)0) && ((addr == (addr & net_mask)) || in ip_addr_ok_v4() 4339 (addr == (addr | ~net_mask)))) { in ip_addr_ok_v4() 11618 ipaddr_t net_mask; in ip_subnet_mask() local 11624 net_mask = ip_net_mask(addr); in ip_subnet_mask() 11625 if (net_mask == 0) { in ip_subnet_mask() 11642 if ((ipif->ipif_subnet & net_mask) == in ip_subnet_mask() 11643 (addr & net_mask)) { in ip_subnet_mask() [all …]
|
/titanic_44/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_init.c | 142 static u_int32_t net_mask __P((struct in_addr)); 543 net_mask(statp->sort_list[nsort].addr); in __res_vinit() 547 net_mask(statp->sort_list[nsort].addr); in __res_vinit() 759 net_mask(in) /*!< XXX - should really use system's version of this */ in net_mask() function
|