Lines Matching defs:l3
365 ilb_rule_hash(ilb_stack_t *ilbs, int l3, int l4, in6_addr_t *addr,
389 if (rule->ir_ipver != l3 || rule->ir_proto != l4 ||
394 if (l3 == IPPROTO_IP) {
968 ilb_match_rule(ilb_stack_t *ilbs, zoneid_t zoneid, const char *name, int l3,
987 if (tmp_rule->ir_ipver != l3 || tmp_rule->ir_proto != l4)
1002 * If l3 is IPv4, the addr passed in is assumed to be
1666 in6_addr_t *dst, int l3, int l4, void *iph, uint8_t *tph, uint32_t pkt_len,
1707 if (ilb_check_conn(ilbs, l3, iph, l4, tph, src, dst, sport, dport,
1720 rule = ilb_rule_hash(ilbs, l3, l4, dst, dport, ill->ill_zoneid,
1827 ilb_full_nat(l3, iph, l4, tph, &info, ip_sum, tp_sum, B_TRUE);
1851 ilb_half_nat(l3, iph, l4, tph, &info, ip_sum, tp_sum, B_TRUE);