Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb.c561 in_addr_t v4_addr1, v4_addr2; in ilb_rule_add() local
573 v4_addr2 = ntohl(cmd->nat_src_end.s6_addr32[3]); in ilb_rule_add()
575 (*(uchar_t *)&v4_addr2) == IN_LOOPBACKNET || in ilb_rule_add()
577 v4_addr2 == INADDR_BROADCAST || in ilb_rule_add()
578 v4_addr1 == INADDR_ANY || v4_addr2 == INADDR_ANY || in ilb_rule_add()
579 CLASSD(v4_addr1) || CLASSD(v4_addr2) || in ilb_rule_add()
585 num_src = v4_addr2 - v4_addr1 + 1; in ilb_rule_add()
586 if (v4_addr1 > v4_addr2 || num_src > ILB_MAX_NAT_SRC) in ilb_rule_add()