Home
last modified time | relevance | path

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

/linux-5.19.10/net/netfilter/
Dnf_conntrack_h323_main.c239 if (nf_ct_l3num(ct) != AF_INET) in get_h245_addr()
245 if (nf_ct_l3num(ct) != AF_INET6) in get_h245_addr()
289 nf_ct_expect_init(rtp_exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_rtp_rtcp()
299 nf_ct_expect_init(rtcp_exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_rtp_rtcp()
308 nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_rtp_rtcp()
357 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_t120()
367 nf_ct_l3num(ct) == NFPROTO_IPV4 && in expect_t120()
651 if (nf_ct_l3num(ct) != AF_INET) in get_h225_addr()
657 if (nf_ct_l3num(ct) != AF_INET6) in get_h225_addr()
694 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_h245()
[all …]
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()
Dnft_ct.c162 nft_reg_store8(dest, nf_ct_l3num(ct)); in nft_ct_get_eval()
192 nf_ct_l3num(ct) == NFPROTO_IPV4 ? 4 : 16); in nft_ct_get_eval()
196 nf_ct_l3num(ct) == NFPROTO_IPV4 ? 4 : 16); in nft_ct_get_eval()
205 if (nf_ct_l3num(ct) != NFPROTO_IPV4) in nft_ct_get_eval()
210 if (nf_ct_l3num(ct) != NFPROTO_IPV4) in nft_ct_get_eval()
215 if (nf_ct_l3num(ct) != NFPROTO_IPV6) in nft_ct_get_eval()
220 if (nf_ct_l3num(ct) != NFPROTO_IPV6) in nft_ct_get_eval()
1133 switch (nf_ct_l3num(ct)) { in nft_ct_helper_obj_eval()
1298 l3num = nf_ct_l3num(ct); in nft_ct_expect_obj_eval()
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()
1292 nf_ct_expect_init(exp, SIP_EXPECT_SIGNALLING, nf_ct_l3num(ct), in process_register_request()
Dnf_conntrack_tftp.c71 nf_ct_l3num(ct), in tftp_help()
Dnf_nat_ftp.c48 if (nf_ct_l3num(ct) == NFPROTO_IPV4) in nf_nat_ftp_fmt_cmd()
Dxt_cluster.c44 switch(nf_ct_l3num(ct)) { in xt_cluster_hash()
Dnf_conntrack_sane.c152 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in help()
Dnf_conntrack_netlink.c573 nlh = nfnl_msg_put(skb, portid, seq, event, flags, nf_ct_l3num(ct), in ctnetlink_fill_info()
749 nlh = nfnl_msg_put(skb, item->portid, 0, type, flags, nf_ct_l3num(ct), in ctnetlink_conntrack_event()
1137 if (filter->family && nf_ct_l3num(ct) != filter->family) in ctnetlink_filter_match()
1729 if (l3proto && nf_ct_l3num(ct) != l3proto) in ctnetlink_dump_one_entry()
1879 if (request_module("nf-nat-%u", nf_ct_l3num(ct)) < 0) { in ctnetlink_parse_nat_setup()
2000 helper = __nf_conntrack_helper_find(helpname, nf_ct_l3num(ct), in ctnetlink_change_helper()
2309 helper = __nf_conntrack_helper_find(helpname, nf_ct_l3num(ct), in ctnetlink_create_conntrack()
2321 nf_ct_l3num(ct), in ctnetlink_create_conntrack()
2899 nf_ct_l3num(ct), NULL); in ctnetlink_glue_exp_parse()
2904 nf_ct_l3num(ct), NULL); in ctnetlink_glue_exp_parse()
[all …]
Dnf_nat_core.c133 family = nf_ct_l3num(ct); in __nf_nat_decode_session()
335 if (nf_ct_l3num(ct) == NFPROTO_IPV4) in find_best_ips_proto()
797 if ((clean->l3proto && nf_ct_l3num(i) != clean->l3proto) || in nf_nat_proto_remove()
930 switch (nf_ct_l3num(ct)) { in nfnetlink_parse_nat()
Dnf_conntrack_ftp.c439 cmd.l3num = nf_ct_l3num(ct); in help()
485 if ((cmd.l3num == nf_ct_l3num(ct)) && in help()
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()
Dnf_conntrack_amanda.c154 nf_ct_l3num(ct), in amanda_help()
Dnf_conntrack_pptp.c205 nf_ct_l3num(ct), in exp_gre()
214 nf_ct_l3num(ct), in exp_gre()
Dnf_conntrack_standalone.c328 l3proto_name(nf_ct_l3num(ct)), nf_ct_l3num(ct), in ct_seq_show()
Dnf_conntrack_helper.c390 nf_log_packet(nf_ct_net(ct), nf_ct_l3num(ct), 0, skb, NULL, NULL, NULL, in nf_ct_helper_log()
Dnf_conntrack_proto.c449 if (nf_ct_l3num(ct) != nfproto) in nf_ct_tcp_fixup()
Dnf_conntrack_core.c2203 l3num = nf_ct_l3num(ct); in __nf_conntrack_update()
2277 switch (nf_ct_l3num(ct)) { in nf_confirm_cthelper()
/linux-5.19.10/include/net/netfilter/
Dnf_conntrack.h137 static inline u_int16_t nf_ct_l3num(const struct nf_conn *ct) in nf_ct_l3num() function
/linux-5.19.10/net/netfilter/ipvs/
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-5.19.10/net/openvswitch/
Dconntrack.c210 nf_ct_l3num(ct) == NFPROTO_IPV4) { in __ovs_ct_update_key()
217 nf_ct_l3num(ct) == NFPROTO_IPV6) { in __ovs_ct_update_key()