Home
last modified time | relevance | path

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

/linux-3.4.99/net/ipv4/netfilter/
Dnf_nat_sip.c458 struct nf_conntrack_expect *rtp_exp, in ip_nat_sdp_media() argument
472 rtp_addr->ip = rtp_exp->tuple.dst.u3.ip; in ip_nat_sdp_media()
476 rtp_exp->saved_ip = rtp_exp->tuple.dst.u3.ip; in ip_nat_sdp_media()
477 rtp_exp->tuple.dst.u3.ip = rtp_addr->ip; in ip_nat_sdp_media()
478 rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; in ip_nat_sdp_media()
479 rtp_exp->dir = !dir; in ip_nat_sdp_media()
480 rtp_exp->expectfn = ip_nat_sip_expected; in ip_nat_sdp_media()
489 for (port = ntohs(rtp_exp->tuple.dst.u.udp.port); in ip_nat_sdp_media()
493 rtp_exp->tuple.dst.u.udp.port = htons(port); in ip_nat_sdp_media()
494 ret = nf_ct_expect_related(rtp_exp); in ip_nat_sdp_media()
[all …]
Dnf_nat_h323.c182 struct nf_conntrack_expect *rtp_exp, in nat_rtp_rtcp() argument
191 rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; in nat_rtp_rtcp()
192 rtp_exp->expectfn = nf_nat_follow_master; in nat_rtp_rtcp()
193 rtp_exp->dir = !dir; in nat_rtp_rtcp()
205 rtp_exp->tuple.dst.u.udp.port = info->rtp_port[i][dir]; in nat_rtp_rtcp()
223 for (nated_port = ntohs(rtp_exp->tuple.dst.u.udp.port); in nat_rtp_rtcp()
227 rtp_exp->tuple.dst.u.udp.port = htons(nated_port); in nat_rtp_rtcp()
228 ret = nf_ct_expect_related(rtp_exp); in nat_rtp_rtcp()
236 nf_ct_unexpect_related(rtp_exp); in nat_rtp_rtcp()
261 nf_ct_unexpect_related(rtp_exp); in nat_rtp_rtcp()
[all …]
/linux-3.4.99/net/netfilter/
Dnf_conntrack_sip.c102 struct nf_conntrack_expect *rtp_exp,
839 struct nf_conntrack_expect *exp, *rtp_exp, *rtcp_exp; in set_expected_rtp_rtcp() local
918 rtp_exp = nf_ct_expect_alloc(ct); in set_expected_rtp_rtcp()
919 if (rtp_exp == NULL) in set_expected_rtp_rtcp()
921 nf_ct_expect_init(rtp_exp, class, nf_ct_l3num(ct), saddr, daddr, in set_expected_rtp_rtcp()
933 rtp_exp, rtcp_exp, in set_expected_rtp_rtcp()
936 if (nf_ct_expect_related(rtp_exp) == 0) { in set_expected_rtp_rtcp()
938 nf_ct_unexpect_related(rtp_exp); in set_expected_rtp_rtcp()
945 nf_ct_expect_put(rtp_exp); in set_expected_rtp_rtcp()
Dnf_conntrack_h323_main.c78 struct nf_conntrack_expect *rtp_exp,
262 struct nf_conntrack_expect *rtp_exp; in expect_rtp_rtcp() local
278 if ((rtp_exp = nf_ct_expect_alloc(ct)) == NULL) in expect_rtp_rtcp()
280 nf_ct_expect_init(rtp_exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_rtp_rtcp()
287 nf_ct_expect_put(rtp_exp); in expect_rtp_rtcp()
302 taddr, port, rtp_port, rtp_exp, rtcp_exp); in expect_rtp_rtcp()
304 if (nf_ct_expect_related(rtp_exp) == 0) { in expect_rtp_rtcp()
307 nf_ct_dump_tuple(&rtp_exp->tuple); in expect_rtp_rtcp()
311 nf_ct_unexpect_related(rtp_exp); in expect_rtp_rtcp()
318 nf_ct_expect_put(rtp_exp); in expect_rtp_rtcp()
/linux-3.4.99/include/linux/netfilter/
Dnf_conntrack_h323.h65 struct nf_conntrack_expect *rtp_exp,
Dnf_conntrack_sip.h142 struct nf_conntrack_expect *rtp_exp,