Home
last modified time | relevance | path

Searched refs:rtcp_exp (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/net/ipv4/netfilter/
Dnf_nat_h323.c181 struct nf_conntrack_expect *rtcp_exp) in nat_rtp_rtcp() argument
192 rtcp_exp->saved_proto.udp.port = rtcp_exp->tuple.dst.u.udp.port; in nat_rtp_rtcp()
193 rtcp_exp->expectfn = nf_nat_follow_master; in nat_rtp_rtcp()
194 rtcp_exp->dir = !dir; in nat_rtp_rtcp()
204 rtcp_exp->tuple.dst.u.udp.port = in nat_rtp_rtcp()
227 rtcp_exp->tuple.dst.u.udp.port = in nat_rtp_rtcp()
229 ret = nf_ct_expect_related(rtcp_exp); in nat_rtp_rtcp()
257 nf_ct_unexpect_related(rtcp_exp); in nat_rtp_rtcp()
272 &rtcp_exp->tuple.src.u3.ip, in nat_rtp_rtcp()
273 ntohs(rtcp_exp->tuple.src.u.udp.port), in nat_rtp_rtcp()
[all …]
/Linux-v4.19/net/netfilter/
Dnf_nat_sip.c543 struct nf_conntrack_expect *rtcp_exp, in nf_nat_sdp_media() argument
566 rtcp_exp->saved_addr = rtcp_exp->tuple.dst.u3; in nf_nat_sdp_media()
567 rtcp_exp->tuple.dst.u3 = *rtp_addr; in nf_nat_sdp_media()
568 rtcp_exp->saved_proto.udp.port = rtcp_exp->tuple.dst.u.udp.port; in nf_nat_sdp_media()
569 rtcp_exp->dir = !dir; in nf_nat_sdp_media()
570 rtcp_exp->expectfn = nf_nat_sip_expected; in nf_nat_sdp_media()
585 rtcp_exp->tuple.dst.u.udp.port = htons(port + 1); in nf_nat_sdp_media()
586 ret = nf_ct_expect_related(rtcp_exp); in nf_nat_sdp_media()
616 nf_ct_unexpect_related(rtcp_exp); in nf_nat_sdp_media()
Dnf_conntrack_sip.c847 struct nf_conntrack_expect *exp, *rtp_exp, *rtcp_exp; in set_expected_rtp_rtcp() local
929 rtcp_exp = nf_ct_expect_alloc(ct); in set_expected_rtp_rtcp()
930 if (rtcp_exp == NULL) in set_expected_rtp_rtcp()
932 nf_ct_expect_init(rtcp_exp, class, nf_ct_l3num(ct), saddr, daddr, in set_expected_rtp_rtcp()
938 datalen, rtp_exp, rtcp_exp, in set_expected_rtp_rtcp()
948 int errcp = nf_ct_expect_related(rtcp_exp); in set_expected_rtp_rtcp()
956 nf_ct_expect_put(rtcp_exp); in set_expected_rtp_rtcp()
Dnf_conntrack_h323_main.c82 struct nf_conntrack_expect *rtcp_exp) __read_mostly;
268 struct nf_conntrack_expect *rtcp_exp; in expect_rtp_rtcp() local
290 if ((rtcp_exp = nf_ct_expect_alloc(ct)) == NULL) { in expect_rtp_rtcp()
294 nf_ct_expect_init(rtcp_exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_rtp_rtcp()
307 taddr, port, rtp_port, rtp_exp, rtcp_exp); in expect_rtp_rtcp()
310 if (nf_ct_expect_related(rtcp_exp) == 0) { in expect_rtp_rtcp()
314 nf_ct_dump_tuple(&rtcp_exp->tuple); in expect_rtp_rtcp()
324 nf_ct_expect_put(rtcp_exp); in expect_rtp_rtcp()
/Linux-v4.19/include/linux/netfilter/
Dnf_conntrack_h323.h68 struct nf_conntrack_expect *rtcp_exp);
Dnf_conntrack_sip.h163 struct nf_conntrack_expect *rtcp_exp,