Searched refs:rtp_exp (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/net/ipv4/netfilter/ |
D | nf_nat_h323.c | 180 struct nf_conntrack_expect *rtp_exp, in nat_rtp_rtcp() argument 189 rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; in nat_rtp_rtcp() 190 rtp_exp->expectfn = nf_nat_follow_master; in nat_rtp_rtcp() 191 rtp_exp->dir = !dir; in nat_rtp_rtcp() 203 rtp_exp->tuple.dst.u.udp.port = info->rtp_port[i][dir]; in nat_rtp_rtcp() 220 for (nated_port = ntohs(rtp_exp->tuple.dst.u.udp.port); in nat_rtp_rtcp() 224 rtp_exp->tuple.dst.u.udp.port = htons(nated_port); in nat_rtp_rtcp() 225 ret = nf_ct_expect_related(rtp_exp); in nat_rtp_rtcp() 233 nf_ct_unexpect_related(rtp_exp); in nat_rtp_rtcp() 236 nf_ct_unexpect_related(rtp_exp); in nat_rtp_rtcp() [all …]
|
/linux-4.4.14/net/netfilter/ |
D | nf_nat_sip.c | 542 struct nf_conntrack_expect *rtp_exp, in nf_nat_sdp_media() argument 556 *rtp_addr = rtp_exp->tuple.dst.u3; in nf_nat_sdp_media() 560 rtp_exp->saved_addr = rtp_exp->tuple.dst.u3; in nf_nat_sdp_media() 561 rtp_exp->tuple.dst.u3 = *rtp_addr; in nf_nat_sdp_media() 562 rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; in nf_nat_sdp_media() 563 rtp_exp->dir = !dir; in nf_nat_sdp_media() 564 rtp_exp->expectfn = nf_nat_sip_expected; in nf_nat_sdp_media() 573 for (port = ntohs(rtp_exp->tuple.dst.u.udp.port); in nf_nat_sdp_media() 577 rtp_exp->tuple.dst.u.udp.port = htons(port); in nf_nat_sdp_media() 578 ret = nf_ct_expect_related(rtp_exp); in nf_nat_sdp_media() [all …]
|
D | nf_conntrack_h323_main.c | 80 struct nf_conntrack_expect *rtp_exp, 269 struct nf_conntrack_expect *rtp_exp; in expect_rtp_rtcp() local 284 if ((rtp_exp = nf_ct_expect_alloc(ct)) == NULL) in expect_rtp_rtcp() 286 nf_ct_expect_init(rtp_exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_rtp_rtcp() 293 nf_ct_expect_put(rtp_exp); in expect_rtp_rtcp() 309 taddr, port, rtp_port, rtp_exp, rtcp_exp); in expect_rtp_rtcp() 311 if (nf_ct_expect_related(rtp_exp) == 0) { in expect_rtp_rtcp() 314 nf_ct_dump_tuple(&rtp_exp->tuple); in expect_rtp_rtcp() 318 nf_ct_unexpect_related(rtp_exp); in expect_rtp_rtcp() 325 nf_ct_expect_put(rtp_exp); in expect_rtp_rtcp()
|
D | nf_conntrack_sip.c | 849 struct nf_conntrack_expect *exp, *rtp_exp, *rtcp_exp; in set_expected_rtp_rtcp() local 928 rtp_exp = nf_ct_expect_alloc(ct); in set_expected_rtp_rtcp() 929 if (rtp_exp == NULL) in set_expected_rtp_rtcp() 931 nf_ct_expect_init(rtp_exp, class, nf_ct_l3num(ct), saddr, daddr, in set_expected_rtp_rtcp() 943 datalen, rtp_exp, rtcp_exp, in set_expected_rtp_rtcp() 946 if (nf_ct_expect_related(rtp_exp) == 0) { in set_expected_rtp_rtcp() 948 nf_ct_unexpect_related(rtp_exp); in set_expected_rtp_rtcp() 955 nf_ct_expect_put(rtp_exp); in set_expected_rtp_rtcp()
|
/linux-4.4.14/include/linux/netfilter/ |
D | nf_conntrack_h323.h | 66 struct nf_conntrack_expect *rtp_exp,
|
D | nf_conntrack_sip.h | 161 struct nf_conntrack_expect *rtp_exp,
|