Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/netfilter/
Dnf_nat_h323.c180 struct nf_conntrack_expect *rtcp_exp) in nat_rtp_rtcp() argument
191 rtcp_exp->saved_proto.udp.port = rtcp_exp->tuple.dst.u.udp.port; in nat_rtp_rtcp()
192 rtcp_exp->expectfn = nf_nat_follow_master; in nat_rtp_rtcp()
193 rtcp_exp->dir = !dir; in nat_rtp_rtcp()
203 rtcp_exp->tuple.dst.u.udp.port = in nat_rtp_rtcp()
226 rtcp_exp->tuple.dst.u.udp.port = in nat_rtp_rtcp()
228 ret = nf_ct_expect_related(rtcp_exp, 0); in nat_rtp_rtcp()
256 nf_ct_unexpect_related(rtcp_exp); in nat_rtp_rtcp()
271 &rtcp_exp->tuple.src.u3.ip, in nat_rtp_rtcp()
272 ntohs(rtcp_exp->tuple.src.u.udp.port), in nat_rtp_rtcp()
[all …]
/linux-6.1.9/net/netfilter/
Dnf_nat_sip.c563 struct nf_conntrack_expect *rtcp_exp, in nf_nat_sdp_media() argument
586 rtcp_exp->saved_addr = rtcp_exp->tuple.dst.u3; in nf_nat_sdp_media()
587 rtcp_exp->tuple.dst.u3 = *rtp_addr; in nf_nat_sdp_media()
588 rtcp_exp->saved_proto.udp.port = rtcp_exp->tuple.dst.u.udp.port; in nf_nat_sdp_media()
589 rtcp_exp->dir = !dir; in nf_nat_sdp_media()
590 rtcp_exp->expectfn = nf_nat_sip_expected; in nf_nat_sdp_media()
606 rtcp_exp->tuple.dst.u.udp.port = htons(port + 1); in nf_nat_sdp_media()
607 ret = nf_ct_expect_related(rtcp_exp, in nf_nat_sdp_media()
638 nf_ct_unexpect_related(rtcp_exp); in nf_nat_sdp_media()
Dnf_conntrack_sip.c853 struct nf_conntrack_expect *exp, *rtp_exp, *rtcp_exp; in set_expected_rtp_rtcp() local
965 rtcp_exp = nf_ct_expect_alloc(ct); in set_expected_rtp_rtcp()
966 if (rtcp_exp == NULL) in set_expected_rtp_rtcp()
968 nf_ct_expect_init(rtcp_exp, class, nf_ct_l3num(ct), saddr, daddr, in set_expected_rtp_rtcp()
974 datalen, rtp_exp, rtcp_exp, in set_expected_rtp_rtcp()
987 int errcp = nf_ct_expect_related(rtcp_exp, in set_expected_rtp_rtcp()
996 nf_ct_expect_put(rtcp_exp); in set_expected_rtp_rtcp()
Dnf_conntrack_h323_main.c218 struct nf_conntrack_expect *rtcp_exp; in expect_rtp_rtcp() local
239 if ((rtcp_exp = nf_ct_expect_alloc(ct)) == NULL) { in expect_rtp_rtcp()
243 nf_ct_expect_init(rtcp_exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_rtp_rtcp()
257 taddr, port, rtp_port, rtp_exp, rtcp_exp); in expect_rtp_rtcp()
260 if (nf_ct_expect_related(rtcp_exp, 0) == 0) { in expect_rtp_rtcp()
264 nf_ct_dump_tuple(&rtcp_exp->tuple); in expect_rtp_rtcp()
274 nf_ct_expect_put(rtcp_exp); in expect_rtp_rtcp()
/linux-6.1.9/include/linux/netfilter/
Dnf_conntrack_h323.h69 struct nf_conntrack_expect *rtcp_exp);
Dnf_conntrack_sip.h162 struct nf_conntrack_expect *rtcp_exp,