Searched refs:rtp_exp (Results 1 – 6 of 6) sorted by relevance
| /linux/net/ipv4/netfilter/ |
| H A D | nf_nat_h323.c | 182 struct nf_conntrack_expect *rtp_exp, in nat_rtp_rtcp() argument 185 struct nf_conntrack_expect *rtp_pair[2] = { rtp_exp, rtcp_exp }; in nat_rtp_rtcp() 195 rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; in nat_rtp_rtcp() 196 rtp_exp->expectfn = nf_nat_follow_master; in nat_rtp_rtcp() 197 rtp_exp->dir = !dir; in nat_rtp_rtcp() 209 rtp_exp->tuple.dst.u.udp.port = info->rtp_port[i][dir]; in nat_rtp_rtcp() 226 for (nated_port = ntohs(rtp_exp->tuple.dst.u.udp.port); in nat_rtp_rtcp() 230 rtp_exp->tuple.dst.u.udp.port = htons(nated_port); in nat_rtp_rtcp() 253 nf_ct_unexpect_related(rtp_exp); in nat_rtp_rtcp() 264 &rtp_exp->tuple.src.u3.ip, in nat_rtp_rtcp() [all …]
|
| /linux/net/netfilter/ |
| H A D | nf_nat_sip.c | 594 struct nf_conntrack_expect *rtp_exp, in nf_nat_sdp_media() argument 600 struct nf_conntrack_expect *rtp_pair[2] = { rtp_exp, rtcp_exp }; in nf_nat_sdp_media() 609 *rtp_addr = rtp_exp->tuple.dst.u3; in nf_nat_sdp_media() 613 rtp_exp->saved_addr = rtp_exp->tuple.dst.u3; in nf_nat_sdp_media() 614 rtp_exp->tuple.dst.u3 = *rtp_addr; in nf_nat_sdp_media() 615 rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; in nf_nat_sdp_media() 616 rtp_exp->dir = !dir; in nf_nat_sdp_media() 617 rtp_exp->expectfn = nf_nat_sip_expected; in nf_nat_sdp_media() 626 for (port = ntohs(rtp_exp->tuple.dst.u.udp.port); in nf_nat_sdp_media() 630 rtp_exp->tuple.dst.u.udp.port = htons(port); in nf_nat_sdp_media() [all …]
|
| H A D | nf_conntrack_h323_main.c | 221 struct nf_conntrack_expect *rtp_exp; in expect_rtp_rtcp() local 235 if ((rtp_exp = nf_ct_expect_alloc(ct)) == NULL) in expect_rtp_rtcp() 237 nf_ct_expect_init(rtp_exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_rtp_rtcp() 244 nf_ct_expect_put(rtp_exp); in expect_rtp_rtcp() 261 taddr, port, rtp_port, rtp_exp, rtcp_exp); in expect_rtp_rtcp() 263 if (nf_ct_expect_related(rtp_exp, 0) == 0) { in expect_rtp_rtcp() 266 nf_ct_dump_tuple(&rtp_exp->tuple); in expect_rtp_rtcp() 270 nf_ct_unexpect_related(rtp_exp); in expect_rtp_rtcp() 277 nf_ct_expect_put(rtp_exp); in expect_rtp_rtcp()
|
| H A D | nf_conntrack_sip.c | 930 struct nf_conntrack_expect *exp, *rtp_exp, *rtcp_exp; in set_expected_rtp_rtcp() local 1043 rtp_exp = nf_ct_expect_alloc(ct); in set_expected_rtp_rtcp() 1044 if (rtp_exp == NULL) in set_expected_rtp_rtcp() 1046 nf_ct_expect_init(rtp_exp, class, nf_ct_l3num(ct), saddr, daddr, in set_expected_rtp_rtcp() 1058 datalen, rtp_exp, rtcp_exp, in set_expected_rtp_rtcp() 1067 int errp = nf_ct_expect_related(rtp_exp, in set_expected_rtp_rtcp() 1077 nf_ct_unexpect_related(rtp_exp); in set_expected_rtp_rtcp() 1082 nf_ct_expect_put(rtp_exp); in set_expected_rtp_rtcp()
|
| /linux/include/linux/netfilter/ |
| H A D | nf_conntrack_h323.h | 62 struct nf_conntrack_expect *rtp_exp,
|
| H A D | nf_conntrack_sip.h | 161 struct nf_conntrack_expect *rtp_exp,
|