Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dnf_conntrack_h323_main.c183 if (nf_ct_l3num(ct) != AF_INET) in get_h245_addr()
189 if (nf_ct_l3num(ct) != AF_INET6) in get_h245_addr()
233 nf_ct_expect_init(rtp_exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_rtp_rtcp()
243 nf_ct_expect_init(rtcp_exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_rtp_rtcp()
253 nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_rtp_rtcp()
302 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_t120()
313 nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_t120()
597 if (nf_ct_l3num(ct) != AF_INET) in get_h225_addr()
603 if (nf_ct_l3num(ct) != AF_INET6) in get_h225_addr()
641 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_h245()
[all …]
H A Dnf_nat_helper.c57 if (nf_ct_l3num((struct nf_conn *)skb_nfct(skb)) == NFPROTO_IPV4) { in mangle_contents()
114 nf_nat_csum_recalc(skb, nf_ct_l3num(ct), IPPROTO_TCP, in __nf_nat_mangle_tcp_packet()
170 nf_nat_csum_recalc(skb, nf_ct_l3num(ct), IPPROTO_UDP, in nf_nat_mangle_udp_packet()
H A Dnft_ct.c152 nft_reg_store8(dest, nf_ct_l3num(ct)); in nft_ct_get_eval()
182 nf_ct_l3num(ct) == NFPROTO_IPV4 ? 4 : 16); in nft_ct_get_eval()
186 nf_ct_l3num(ct) == NFPROTO_IPV4 ? 4 : 16); in nft_ct_get_eval()
195 if (nf_ct_l3num(ct) != NFPROTO_IPV4) in nft_ct_get_eval()
200 if (nf_ct_l3num(ct) != NFPROTO_IPV4) in nft_ct_get_eval()
205 if (nf_ct_l3num(ct) != NFPROTO_IPV6) in nft_ct_get_eval()
210 if (nf_ct_l3num(ct) != NFPROTO_IPV6) in nft_ct_get_eval()
1152 switch (nf_ct_l3num(ct)) { in nft_ct_helper_obj_eval()
1340 l3num = nf_ct_l3num(ct); in nft_ct_expect_obj_eval()
H A Dnf_nat_bpf.c36 u16 proto = nf_ct_l3num(ct); in bpf_ct_set_nat_info()
H A Dnf_conntrack_sip.c154 switch (nf_ct_l3num(ct)) { in sip_parse_addr()
654 switch (nf_ct_l3num(ct)) { in sdp_parse_addr()
737 hdrs = nf_ct_l3num(ct) == NFPROTO_IPV4 ? ct_sdp_hdrs_v4 : ct_sdp_hdrs_v6; in ct_sip_get_sdp_header()
878 switch (nf_ct_l3num(ct)) { in set_expected_rtp_rtcp()
918 tuple.src.l3num = nf_ct_l3num(ct); in set_expected_rtp_rtcp()
962 nf_ct_expect_init(rtp_exp, class, nf_ct_l3num(ct), saddr, daddr, in set_expected_rtp_rtcp()
968 nf_ct_expect_init(rtcp_exp, class, nf_ct_l3num(ct), saddr, daddr, in set_expected_rtp_rtcp()
1297 nf_ct_expect_init(exp, SIP_EXPECT_SIGNALLING, nf_ct_l3num(ct), in process_register_request()
H A Dnf_nat_ftp.c48 if (nf_ct_l3num(ct) == NFPROTO_IPV4) in nf_nat_ftp_fmt_cmd()
H A Dnf_conntrack_tftp.c71 nf_ct_l3num(ct), in tftp_help()
H A Dxt_cluster.c44 switch(nf_ct_l3num(ct)) { in xt_cluster_hash()
H A Dnf_conntrack_netlink.c582 nlh = nfnl_msg_put(skb, portid, seq, event, flags, nf_ct_l3num(ct), in ctnetlink_fill_info()
758 nlh = nfnl_msg_put(skb, item->portid, 0, type, flags, nf_ct_l3num(ct), in ctnetlink_conntrack_event()
1149 if (filter->family && nf_ct_l3num(ct) != filter->family) in ctnetlink_filter_match()
1730 if (l3proto && nf_ct_l3num(ct) != l3proto) in ctnetlink_dump_one_entry()
1880 if (request_module("nf-nat-%u", nf_ct_l3num(ct)) < 0) { in ctnetlink_parse_nat_setup()
1966 helper = __nf_conntrack_helper_find(helpname, nf_ct_l3num(ct), in ctnetlink_change_helper()
2261 helper = __nf_conntrack_helper_find(helpname, nf_ct_l3num(ct), in ctnetlink_create_conntrack()
2273 nf_ct_l3num(ct), in ctnetlink_create_conntrack()
2852 nf_ct_l3num(ct), NULL); in ctnetlink_glue_exp_parse()
2857 nf_ct_l3num(ct), NULL); in ctnetlink_glue_exp_parse()
[all …]
H A Dnf_conntrack_sane.c152 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in help()
H A Dnf_conntrack_ftp.c441 cmd.l3num = nf_ct_l3num(ct); in help()
487 if ((cmd.l3num == nf_ct_l3num(ct)) && in help()
H A Dnf_nat_sip.c73 if (nf_ct_l3num(ct) == NFPROTO_IPV4) in sip_sprintf_addr()
86 if (nf_ct_l3num(ct) == NFPROTO_IPV4) in sip_sprintf_addr_port()
341 if (pair_exp->tuple.src.l3num == nf_ct_l3num(ct) && in nf_nat_sip_expected()
H A Dnf_nat_core.c136 family = nf_ct_l3num(ct); in __nf_nat_decode_session()
536 if (nf_ct_l3num(ct) == NFPROTO_IPV4) in find_best_ips_proto()
1000 if ((clean->l3proto && nf_ct_l3num(i) != clean->l3proto) || in nf_nat_proto_remove()
1131 switch (nf_ct_l3num(ct)) { in nfnetlink_parse_nat()
H A Dnf_conntrack_amanda.c154 nf_ct_l3num(ct), in amanda_help()
H A Dnf_conntrack_pptp.c205 nf_ct_l3num(ct), in exp_gre()
214 nf_ct_l3num(ct), in exp_gre()
H A Dnf_conntrack_proto.c161 switch (nf_ct_l3num(ct)) { in nf_confirm()
424 if (nf_ct_l3num(ct) != nfproto) in nf_ct_tcp_fixup()
H A Dnf_conntrack_standalone.c323 l3proto_name(nf_ct_l3num(ct)), nf_ct_l3num(ct), in ct_seq_show()
H A Dnf_conntrack_helper.c340 nf_log_packet(nf_ct_net(ct), nf_ct_l3num(ct), 0, skb, NULL, NULL, NULL, in nf_ct_helper_log()
H A Dnf_conntrack_core.c2221 switch (nf_ct_l3num(ct)) { in nf_confirm_cthelper()
/linux/net/netfilter/ipvs/
H A Dip_vs_nfct.c224 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in ip_vs_nfct_expect_related()
/linux/include/net/netfilter/
H A Dnf_conntrack.h141 static inline u_int16_t nf_ct_l3num(const struct nf_conn *ct) in nf_ct_l3num() function
/linux/net/openvswitch/
H A Dconntrack.c217 nf_ct_l3num(ct) == NFPROTO_IPV4) { in __ovs_ct_update_key()
224 nf_ct_l3num(ct) == NFPROTO_IPV6) { in __ovs_ct_update_key()