Searched refs:IP_ABITS (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/libinetutil/common/
H A Dinetutil.c117 if (prefixlen > IP_ABITS)
158 limit = IP_ABITS;
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgetrhent.c71 for (bits = IP_ABITS; bits > 0 && (addr & 0xFF) == 0; bits -= 8)
95 for (bits = IP_ABITS; bits > 0 && addr < 0x01000000; bits -= 8)
126 upper_lim = IP_ABITS;
/illumos-gate/usr/src/lib/libdladm/common/
H A Dflowattr.c118 prefix_max = IP_ABITS;
369 prefix_max = IP_ABITS;
383 prefix_max = IP_ABITS;
H A Dlibdlflow.c259 prefix_max = IP_ABITS;
286 prefix_max = IP_ABITS;
870 case IP_ABITS:
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dtrie.c335 uint8_t type_len = IP_ABITS;
632 uint8_t type_len = IP_ABITS;
786 uint8_t type_len = IP_ABITS;
H A Dfilters.c198 insert_ipgpc_trie_list_info(IPGPC_TRIE_SADDRID, IP_ABITS, saddr_trie,
205 insert_ipgpc_trie_list_info(IPGPC_TRIE_DADDRID, IP_ABITS, daddr_trie,
812 IP_ABITS)) {
820 IP_ABITS)) {
883 IP_ABITS)) {
891 IP_ABITS)) {
/illumos-gate/usr/src/cmd/tsol/tnd/
H A Dtnd.c118 #define IP_ABITS 32 macro
119 #define IP_MASK_TABLE_SIZE (IP_ABITS + 1)
389 return (htonl(RH_HOST_MASK << (IP_ABITS - masklen)));
809 for (i = 0; i <= IP_ABITS; i++) {
1882 for (i = 0; i <= IP_ABITS; i++) {
/illumos-gate/usr/src/uts/common/os/
H A Dlabelsys.c81 return (masklen == 0 ? 0 : htonl(IP_HOST_MASK << (IP_ABITS - masklen)));
235 if (rhent->rh_prefix < 0 || rhent->rh_prefix > IP_ABITS)
343 if (prefix < 0 || prefix > IP_ABITS)
/illumos-gate/usr/src/uts/common/inet/
H A Dip_ire.h36 #define IP_MASK_TABLE_SIZE (IP_ABITS + 1) /* 33 ptrs */
H A Dip.h96 #define IP_ABITS 32 macro
97 #define IPV4_ABITS IP_ABITS
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dconditions.c501 wa.prefixlen = IP_ABITS;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c963 if (!in_prefixlentomask(prefixlen, IP_ABITS,
1395 (af == AF_INET) ? IP_ABITS : IPV6_ABITS);
1418 if (!in_prefixlentomask(prefixlen, IP_ABITS,
1863 if (!in_prefixlentomask(prefixlen, IP_ABITS,
4014 *plenp = in_getprefixlen(str, _B_TRUE, IP_ABITS);
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_util.c667 if (nwam_valid_prefix(addr, IP_ABITS) != NWAM_SUCCESS) {
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c1609 mask += ((IPV6_ABITS - IP_ABITS)/8);
1610 limit = IP_ABITS;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_tables.c1852 test_subnet_len = lifr.lifr_addrlen + (IPV6_ABITS - IP_ABITS);
1889 IP_ABITS : IPV6_ABITS;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c2151 if (!in_prefixlentomask(masklen, IP_ABITS,
2209 *plenp = in_getprefixlen(str, IP_ABITS);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_ire.c1078 return (mask == 0 ? 0 : IP_ABITS - (ffs(ntohl(mask)) -1));
1090 return (htonl(IP_HOST_MASK << (IP_ABITS - masklen)));
H A Dip_if.c11230 addrlen += IPV6_ABITS - IP_ABITS;
11322 addrlen += IPV6_ABITS - IP_ABITS;
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_addr.c921 abits = (af == AF_INET ? IP_ABITS : IPV6_ABITS);
1748 if ((af == AF_INET && prefixlen > IP_ABITS) ||
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c6336 maxv = IP_ABITS;
6343 if (maxv == IP_ABITS)
6344 val += IPV6_ABITS - IP_ABITS;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c3180 if (plen > IP_ABITS) {

Completed in 209 milliseconds