Home
last modified time | relevance | path

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

/linux-4.1.27/net/netfilter/
Dnf_conntrack_h323_main.c235 if (nf_ct_l3num(ct) != AF_INET) in get_h245_addr()
241 if (nf_ct_l3num(ct) != AF_INET6) in get_h245_addr()
286 nf_ct_expect_init(rtp_exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_rtp_rtcp()
296 nf_ct_expect_init(rtcp_exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_rtp_rtcp()
305 nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_rtp_rtcp()
355 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_t120()
365 nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_t120()
657 if (nf_ct_l3num(ct) != AF_INET) in get_h225_addr()
663 if (nf_ct_l3num(ct) != AF_INET6) in get_h225_addr()
701 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_h245()
[all …]
Dnf_nat_helper.c63 if (nf_ct_l3num((struct nf_conn *)skb->nfct) == NFPROTO_IPV4) { in mangle_contents()
123 l3proto = __nf_nat_l3proto_find(nf_ct_l3num(ct)); in __nf_nat_mangle_tcp_packet()
181 l3proto = __nf_nat_l3proto_find(nf_ct_l3num(ct)); in nf_nat_mangle_udp_packet()
Dnft_ct.c125 *dest = nf_ct_l3num(ct); in nft_ct_get_eval()
129 nf_ct_l3num(ct) == NFPROTO_IPV4 ? 4 : 16); in nft_ct_get_eval()
133 nf_ct_l3num(ct) == NFPROTO_IPV4 ? 4 : 16); in nft_ct_get_eval()
Dnf_conntrack_netlink.c164 l4proto = __nf_ct_l4proto_find(nf_ct_l3num(ct), nf_ct_protonum(ct)); in ctnetlink_dump_protoinfo()
472 nfmsg->nfgen_family = nf_ct_l3num(ct); in ctnetlink_fill_info()
526 l3proto = __nf_ct_l3proto_find(nf_ct_l3num(ct)); in ctnetlink_proto_size()
529 l4proto = __nf_ct_l4proto_find(nf_ct_l3num(ct), nf_ct_protonum(ct)); in ctnetlink_proto_size()
653 nfmsg->nfgen_family = nf_ct_l3num(ct); in ctnetlink_conntrack_event()
824 if (l3proto && nf_ct_l3num(ct) != l3proto) in ctnetlink_dump_table()
1221 if (l3proto && nf_ct_l3num(ct) != l3proto) in ctnetlink_dump_list()
1333 if (request_module("nf-nat-%u", nf_ct_l3num(ct)) < 0) { in ctnetlink_parse_nat_setup()
1425 helper = __nf_conntrack_helper_find(helpname, nf_ct_l3num(ct), in ctnetlink_change_helper()
1437 helper = __nf_conntrack_helper_find(helpname, nf_ct_l3num(ct), in ctnetlink_change_helper()
[all …]
Dnf_conntrack_standalone.c187 l3proto = __nf_ct_l3proto_find(nf_ct_l3num(ct)); in ct_seq_show()
189 l4proto = __nf_ct_l4proto_find(nf_ct_l3num(ct), nf_ct_protonum(ct)); in ct_seq_show()
194 l3proto->name, nf_ct_l3num(ct), in ct_seq_show()
Dnf_nat_core.c247 if (nf_ct_l3num(ct) == NFPROTO_IPV4) in find_best_ips_proto()
522 if ((clean->l3proto && nf_ct_l3num(i) != clean->l3proto) || in nf_nat_proto_remove()
736 l4proto = __nf_nat_l4proto_find(nf_ct_l3num(ct), nf_ct_protonum(ct)); in nfnetlink_parse_nat_proto()
794 l3proto = __nf_nat_l3proto_find(nf_ct_l3num(ct)); in nfnetlink_parse_nat_setup()
Dnf_nat_ftp.c44 if (nf_ct_l3num(ct) == NFPROTO_IPV4) in nf_nat_ftp_fmt_cmd()
Dxt_cluster.c47 switch(nf_ct_l3num(ct)) { in xt_cluster_hash()
Dnf_conntrack_proto.c151 return nf_ct_l3num(i) == ((struct nf_conntrack_l3proto *)data)->l3proto; in kill_l3proto()
159 nf_ct_l3num(i) == l4proto->l3proto; in kill_l4proto()
Dnf_conntrack_sip.c145 switch (nf_ct_l3num(ct)) { in sip_parse_addr()
646 switch (nf_ct_l3num(ct)) { in sdp_parse_addr()
729 hdrs = nf_ct_l3num(ct) == NFPROTO_IPV4 ? ct_sdp_hdrs_v4 : ct_sdp_hdrs_v6; in ct_sip_get_sdp_header()
884 tuple.src.l3num = nf_ct_l3num(ct); in set_expected_rtp_rtcp()
931 nf_ct_expect_init(rtp_exp, class, nf_ct_l3num(ct), saddr, daddr, in set_expected_rtp_rtcp()
937 nf_ct_expect_init(rtcp_exp, class, nf_ct_l3num(ct), saddr, daddr, in set_expected_rtp_rtcp()
1250 nf_ct_expect_init(exp, SIP_EXPECT_SIGNALLING, nf_ct_l3num(ct), in process_register_request()
Dnf_conntrack_tftp.c69 nf_ct_l3num(ct), in tftp_help()
Dnf_conntrack_sane.c147 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in help()
Dnf_conntrack_amanda.c151 nf_ct_l3num(ct), in amanda_help()
Dnf_conntrack_ftp.c454 cmd.l3num = nf_ct_l3num(ct); in help()
500 if ((cmd.l3num == nf_ct_l3num(ct)) && in help()
Dnf_conntrack_pptp.c220 nf_ct_l3num(ct), in exp_gre()
229 nf_ct_l3num(ct), in exp_gre()
Dnf_nat_sip.c71 if (nf_ct_l3num(ct) == NFPROTO_IPV4) in sip_sprintf_addr()
84 if (nf_ct_l3num(ct) == NFPROTO_IPV4) in sip_sprintf_addr_port()
Dnf_conntrack_helper.c355 nf_log_packet(nf_ct_net(ct), nf_ct_l3num(ct), 0, skb, NULL, NULL, NULL, in nf_ct_helper_log()
Dnf_conntrack_proto_dccp.c459 nf_log_packet(net, nf_ct_l3num(ct), 0, skb, NULL, NULL, in dccp_new()
Dnf_conntrack_core.c302 l4proto = __nf_ct_l4proto_find(nf_ct_l3num(ct), nf_ct_protonum(ct)); in destroy_conntrack()
/linux-4.1.27/net/ipv4/netfilter/
Dnf_conntrack_l3proto_ipv4_compat.c133 if (nf_ct_l3num(ct) != AF_INET) in ct_seq_show()
136 l3proto = __nf_ct_l3proto_find(nf_ct_l3num(ct)); in ct_seq_show()
138 l4proto = __nf_ct_l4proto_find(nf_ct_l3num(ct), nf_ct_protonum(ct)); in ct_seq_show()
Dnf_nat_masquerade_ipv4.c81 if (nf_ct_l3num(i) != NFPROTO_IPV4) in device_cmp()
/linux-4.1.27/net/ipv6/netfilter/
Dnf_nat_masquerade_ipv6.c59 if (nf_ct_l3num(ct) != NFPROTO_IPV6) in device_cmp()
/linux-4.1.27/include/net/netfilter/
Dnf_conntrack.h128 static inline u_int16_t nf_ct_l3num(const struct nf_conn *ct) in nf_ct_l3num() function
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_nfct.c238 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in ip_vs_nfct_expect_related()