Searched refs:l3num (Results 1 - 32 of 32) sorted by relevance

/linux-4.4.14/include/net/netfilter/
H A Dnf_conntrack_tuple.h32 u_int16_t l3num; member in struct:nf_conntrack_man
103 switch (t->src.l3num) { nf_ct_dump_tuple()
128 t1->src.l3num == t2->src.l3num); __nf_ct_tuple_src_equal()
170 if (t1->src.l3num != t2->src.l3num || nf_ct_tuple_src_mask_cmp()
H A Dnf_conntrack_helper.h56 u16 l3num, u8 protonum);
59 u16 l3num,
H A Dnf_conntrack_timeout.h17 __u16 l3num; member in struct:ctnl_timeout
H A Dnf_conntrack_core.h43 unsigned int dataoff, u_int16_t l3num, u_int8_t protonum,
H A Dnf_conntrack.h130 return ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.l3num; nf_ct_l3num()
190 u_int16_t l3num, struct net *net,
/linux-4.4.14/net/netfilter/
H A Dnfnetlink_cttimeout.c75 __u16 l3num; cttimeout_new_timeout() local
90 l3num = ntohs(nla_get_be16(cda[CTA_TIMEOUT_L3PROTO])); cttimeout_new_timeout()
104 l4proto = nf_ct_l4proto_find_get(l3num, l4num); cttimeout_new_timeout()
117 if (matching->l3num != l3num || cttimeout_new_timeout()
145 timeout->l3num = l3num; cttimeout_new_timeout()
178 nla_put_be16(skb, CTA_TIMEOUT_L3PROTO, htons(timeout->l3num)) || ctnl_timeout_fill_info()
377 __u16 l3num; cttimeout_default_set() local
389 l3num = ntohs(nla_get_be16(cda[CTA_TIMEOUT_L3PROTO])); cttimeout_default_set()
391 l4proto = nf_ct_l4proto_find_get(l3num, l4num); cttimeout_default_set()
466 __u16 l3num; cttimeout_default_get() local
476 l3num = ntohs(nla_get_be16(cda[CTA_TIMEOUT_L3PROTO])); cttimeout_default_get()
478 l4proto = nf_ct_l4proto_find_get(l3num, l4num); cttimeout_default_get()
H A Dnf_conntrack_sane.c183 sane[i][j].tuple.src.l3num, ports[i]); nf_conntrack_sane_fini()
205 sane[i][0].tuple.src.l3num = PF_INET; nf_conntrack_sane_init()
206 sane[i][1].tuple.src.l3num = PF_INET6; nf_conntrack_sane_init()
221 sane[i][j].tuple.src.l3num, ports[i]); nf_conntrack_sane_init()
226 sane[i][j].tuple.src.l3num, ports[i]); nf_conntrack_sane_init()
H A Dnf_conntrack_helper.c111 return (((tuple->src.l3num << 8) | tuple->dst.protonum) ^ helper_hash()
134 __nf_conntrack_helper_find(const char *name, u16 l3num, u8 protonum) __nf_conntrack_helper_find() argument
142 h->tuple.src.l3num == l3num && __nf_conntrack_helper_find()
152 nf_conntrack_helper_try_module_get(const char *name, u16 l3num, u8 protonum) nf_conntrack_helper_try_module_get() argument
156 h = __nf_conntrack_helper_find(name, l3num, protonum); nf_conntrack_helper_try_module_get()
160 h = __nf_conntrack_helper_find(name, l3num, protonum); nf_conntrack_helper_try_module_get()
375 cur->tuple.src.l3num == me->tuple.src.l3num && nf_conntrack_helper_register()
H A Dnf_conntrack_tftp.c125 tftp[i][0].tuple.src.l3num = AF_INET; nf_conntrack_tftp_init()
126 tftp[i][1].tuple.src.l3num = AF_INET6; nf_conntrack_tftp_init()
143 tftp[i][j].tuple.src.l3num, ports[i]); nf_conntrack_tftp_init()
H A Dnfnetlink_cthelper.c83 tuple->src.l3num = ntohs(nla_get_be16(tb[NFCTH_TUPLE_L3PROTONUM])); nfnl_cthelper_parse_tuple()
319 if ((tuple.src.l3num != cur->tuple.src.l3num || nfnl_cthelper_new()
355 htons(helper->tuple.src.l3num))) nfnl_cthelper_dump_tuple()
542 (tuple.src.l3num != cur->tuple.src.l3num || nfnl_cthelper_get()
609 (tuple.src.l3num != cur->tuple.src.l3num || nfnl_cthelper_del()
H A Dnf_conntrack_ftp.c242 if ((cmd->l3num == PF_INET && data[1] != '1') || try_eprt()
243 (cmd->l3num == PF_INET6 && data[1] != '2')) { try_eprt()
454 cmd.l3num = nf_ct_l3num(ct); help()
500 if ((cmd.l3num == nf_ct_l3num(ct)) && help()
507 if (cmd.l3num == PF_INET) { help()
528 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, cmd.l3num, help()
591 ftp[i][j].tuple.src.l3num, ports[i]); nf_conntrack_ftp_fini()
613 ftp[i][0].tuple.src.l3num = PF_INET; nf_conntrack_ftp_init()
614 ftp[i][1].tuple.src.l3num = PF_INET6; nf_conntrack_ftp_init()
630 ftp[i][j].tuple.src.l3num, ports[i]); nf_conntrack_ftp_init()
635 ftp[i][j].tuple.src.l3num, ports[i]); nf_conntrack_ftp_init()
H A Dnf_conntrack_netbios_ns.c51 .tuple.src.l3num = NFPROTO_IPV4,
H A Dnf_conntrack_snmp.c58 .tuple.src.l3num = NFPROTO_IPV4,
H A Dxt_HMARK.c50 hmark_addr_mask(int l3num, const __be32 *addr32, const __be32 *mask) hmark_addr_mask() argument
52 switch (l3num) { hmark_addr_mask()
93 t->src = hmark_addr_mask(otuple->src.l3num, otuple->src.u3.ip6, hmark_ct_set_htuple()
95 t->dst = hmark_addr_mask(otuple->src.l3num, rtuple->src.u3.ip6, hmark_ct_set_htuple()
H A Dnf_conntrack_amanda.c180 .tuple.src.l3num = AF_INET,
189 .tuple.src.l3num = AF_INET6,
H A Dnf_conntrack_irc.c206 tuple->src.l3num, help()
256 irc[i].tuple.src.l3num = AF_INET; nf_conntrack_irc_init()
272 irc[i].tuple.src.l3num, ports[i]); nf_conntrack_irc_init()
H A Dnf_conntrack_expect.c84 (((tuple->dst.protonum ^ tuple->src.l3num) << 16) | nf_ct_expect_dst_hash()
284 exp->tuple.src.l3num = family; nf_ct_expect_init()
542 expect->tuple.src.l3num, exp_seq_show()
545 __nf_ct_l3proto_find(expect->tuple.src.l3num), exp_seq_show()
546 __nf_ct_l4proto_find(expect->tuple.src.l3num, exp_seq_show()
H A Dnf_conntrack_core.c169 u_int16_t l3num, nf_ct_get_tuple()
178 tuple->src.l3num = l3num; nf_ct_get_tuple()
190 u_int16_t l3num, nf_ct_get_tuplepr()
201 l3proto = __nf_ct_l3proto_find(l3num); nf_ct_get_tuplepr()
208 l4proto = __nf_ct_l4proto_find(l3num, protonum); nf_ct_get_tuplepr()
210 ret = nf_ct_get_tuple(skb, nhoff, protoff, l3num, protonum, net, tuple, nf_ct_get_tuplepr()
226 inverse->src.l3num = orig->src.l3num; nf_ct_invert_tuple()
1023 u_int16_t l3num, resolve_normal_ct()
1038 dataoff, l3num, protonum, net, &tuple, l3proto, resolve_normal_ct()
1197 __nf_ct_l3proto_find(orig->src.l3num), nf_ct_invert_tuplepr()
1198 __nf_ct_l4proto_find(orig->src.l3num, nf_ct_invert_tuplepr()
166 nf_ct_get_tuple(const struct sk_buff *skb, unsigned int nhoff, unsigned int dataoff, u_int16_t l3num, u_int8_t protonum, struct net *net, struct nf_conntrack_tuple *tuple, const struct nf_conntrack_l3proto *l3proto, const struct nf_conntrack_l4proto *l4proto) nf_ct_get_tuple() argument
189 nf_ct_get_tuplepr(const struct sk_buff *skb, unsigned int nhoff, u_int16_t l3num, struct net *net, struct nf_conntrack_tuple *tuple) nf_ct_get_tuplepr() argument
1020 resolve_normal_ct(struct net *net, struct nf_conn *tmpl, struct sk_buff *skb, unsigned int dataoff, u_int16_t l3num, u_int8_t protonum, struct nf_conntrack_l3proto *l3proto, struct nf_conntrack_l4proto *l4proto, int *set_reply, enum ip_conntrack_info *ctinfo) resolve_normal_ct() argument
H A Dnf_nat_core.c69 family = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.l3num; __nf_nat_decode_session()
310 l3proto = __nf_nat_l3proto_find(orig_tuple->src.l3num); get_unique_tuple()
311 l4proto = __nf_nat_l4proto_find(orig_tuple->src.l3num, get_unique_tuple()
502 l3proto = __nf_nat_l3proto_find(target.src.l3num); nf_nat_packet()
503 l4proto = __nf_nat_l4proto_find(target.src.l3num, nf_nat_packet()
H A Dnf_conntrack_proto.c129 nf_ct_l4proto_find_get(u_int16_t l3num, u_int8_t l4num) nf_ct_l4proto_find_get() argument
134 p = __nf_ct_l4proto_find(l3num, l4num); nf_ct_l4proto_find_get()
H A Dnf_conntrack_proto_gre.c85 return km->tuple.src.l3num == t->src.l3num && gre_key_cmpfn()
H A Dxt_CT.c153 if (timeout->l3num != par->family) { xt_ct_set_timeout()
156 "number %d\n", timeout_name, timeout->l3num); xt_ct_set_timeout()
H A Dnf_conntrack_netlink.c118 l3proto = __nf_ct_l3proto_find(tuple->src.l3num); ctnetlink_dump_tuples()
122 l4proto = __nf_ct_l4proto_find(tuple->src.l3num, ctnetlink_dump_tuples()
906 l3proto = __nf_ct_l3proto_find(tuple->src.l3num); ctnetlink_parse_tuple_ip()
941 l4proto = __nf_ct_l4proto_find(tuple->src.l3num, tuple->dst.protonum); ctnetlink_parse_tuple_proto()
1001 enum ctattr_type type, u_int8_t l3num, ctnetlink_parse_tuple()
1016 tuple->src.l3num = l3num; ctnetlink_parse_tuple()
2453 l3proto = __nf_ct_l3proto_find(tuple->src.l3num); ctnetlink_exp_dump_mask()
2456 l4proto = __nf_ct_l4proto_find(tuple->src.l3num, ctnetlink_exp_dump_mask()
2510 nat_tuple.src.l3num = nf_ct_l3num(master); ctnetlink_exp_dump_expect()
2560 nfmsg->nfgen_family = exp->tuple.src.l3num; ctnetlink_exp_fill_info()
2611 nfmsg->nfgen_family = exp->tuple.src.l3num; ctnetlink_expect_event()
2655 if (l3proto && exp->tuple.src.l3num != l3proto) ctnetlink_exp_dump_table()
2702 if (l3proto && exp->tuple.src.l3num != l3proto) ctnetlink_exp_ct_dump_table()
999 ctnetlink_parse_tuple(const struct nlattr * const cda[], struct nf_conntrack_tuple *tuple, enum ctattr_type type, u_int8_t l3num, struct nf_conntrack_zone *zone) ctnetlink_parse_tuple() argument
H A Dnf_conntrack_sip.c884 tuple.src.l3num = nf_ct_l3num(ct); set_expected_rtp_rtcp()
1638 sip[i][0].tuple.src.l3num = AF_INET; nf_conntrack_sip_init()
1641 sip[i][1].tuple.src.l3num = AF_INET; nf_conntrack_sip_init()
1645 sip[i][2].tuple.src.l3num = AF_INET6; nf_conntrack_sip_init()
1648 sip[i][3].tuple.src.l3num = AF_INET6; nf_conntrack_sip_init()
1670 sip[i][j].tuple.src.l3num, ports[i]); nf_conntrack_sip_init()
H A Dnf_conntrack_h323_main.c641 .tuple.src.l3num = AF_UNSPEC,
1219 .tuple.src.l3num = AF_INET,
1228 .tuple.src.l3num = AF_INET6,
1816 .tuple.src.l3num = AF_INET,
1826 .tuple.src.l3num = AF_INET6,
H A Dnf_conntrack_pptp.c601 .tuple.src.l3num = AF_INET,
/linux-4.4.14/net/ipv4/netfilter/
H A Dnf_conntrack_l3proto_ipv4_compat.c288 if (exp->tuple.src.l3num != AF_INET) exp_seq_show()
300 __nf_ct_l3proto_find(exp->tuple.src.l3num), exp_seq_show()
301 __nf_ct_l4proto_find(exp->tuple.src.l3num, exp_seq_show()
H A Dnf_nat_pptp.c60 t.src.l3num = AF_INET; pptp_nat_expected()
69 t.src.l3num = AF_INET; pptp_nat_expected()
H A Dnf_conntrack_l3proto_ipv4.c262 tuple.src.l3num = PF_INET; getorigdst()
H A Dnf_nat_snmp_basic.c1268 .tuple.src.l3num = AF_INET,
1278 .tuple.src.l3num = AF_INET,
/linux-4.4.14/net/netfilter/ipvs/
H A Dip_vs_nfct.c151 if (exp->tuple.src.l3num != PF_INET) ip_vs_nfct_expect_callback()
164 ip_vs_conn_fill_param(net_ipvs(net), exp->tuple.src.l3num, orig->dst.protonum, ip_vs_nfct_expect_callback()
269 tuple.src.l3num = cp->af; ip_vs_conn_drop_conntrack()
/linux-4.4.14/net/ipv6/netfilter/
H A Dnf_conntrack_l3proto_ipv6.c233 struct nf_conntrack_tuple tuple = { .src.l3num = NFPROTO_IPV6 }; ipv6_getorigdst()

Completed in 905 milliseconds