Searched refs:rtp_exp (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/net/ipv4/netfilter/ |
H A D | nf_nat_h323.c | 179 struct nf_conntrack_expect *rtp_exp, in nat_rtp_rtcp() argument 188 rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; in nat_rtp_rtcp() 190 rtp_exp->dir = !dir; in nat_rtp_rtcp() 224 ret = nf_ct_expect_related(rtp_exp, 0); in nat_rtp_rtcp() 232 nf_ct_unexpect_related(rtp_exp); in nat_rtp_rtcp() 235 nf_ct_unexpect_related(rtp_exp); in nat_rtp_rtcp() 255 nf_ct_unexpect_related(rtp_exp); in nat_rtp_rtcp() 266 &rtp_exp->tuple.src.u3.ip, in nat_rtp_rtcp() 267 ntohs(rtp_exp->tuple.src.u.udp.port), in nat_rtp_rtcp() 268 &rtp_exp->tuple.dst.u3.ip, in nat_rtp_rtcp() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_nat_sip.c | 576 *rtp_addr = rtp_exp->tuple.dst.u3; in nf_nat_sdp_media() 580 rtp_exp->saved_addr = rtp_exp->tuple.dst.u3; in nf_nat_sdp_media() 581 rtp_exp->tuple.dst.u3 = *rtp_addr; in nf_nat_sdp_media() 582 rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; in nf_nat_sdp_media() 583 rtp_exp->dir = !dir; in nf_nat_sdp_media() 584 rtp_exp->expectfn = nf_nat_sip_expected; in nf_nat_sdp_media() 598 ret = nf_ct_expect_related(rtp_exp, in nf_nat_sdp_media() 612 nf_ct_unexpect_related(rtp_exp); in nf_nat_sdp_media() 615 nf_ct_unexpect_related(rtp_exp); in nf_nat_sdp_media() 627 if (rtp_exp->tuple.dst.u.udp.port != rtp_exp->saved_proto.udp.port && in nf_nat_sdp_media() [all …]
|
H A D | nf_conntrack_h323_main.c | 217 struct nf_conntrack_expect *rtp_exp; in expect_rtp_rtcp() local 231 if ((rtp_exp = nf_ct_expect_alloc(ct)) == NULL) in expect_rtp_rtcp() 233 nf_ct_expect_init(rtp_exp, NF_CT_EXPECT_CLASS_DEFAULT, nf_ct_l3num(ct), in expect_rtp_rtcp() 240 nf_ct_expect_put(rtp_exp); in expect_rtp_rtcp() 257 taddr, port, rtp_port, rtp_exp, rtcp_exp); in expect_rtp_rtcp() 259 if (nf_ct_expect_related(rtp_exp, 0) == 0) { in expect_rtp_rtcp() 262 nf_ct_dump_tuple(&rtp_exp->tuple); in expect_rtp_rtcp() 266 nf_ct_unexpect_related(rtp_exp); in expect_rtp_rtcp() 273 nf_ct_expect_put(rtp_exp); in expect_rtp_rtcp()
|
H A D | nf_conntrack_sip.c | 853 struct nf_conntrack_expect *exp, *rtp_exp, *rtcp_exp; in set_expected_rtp_rtcp() local 959 rtp_exp = nf_ct_expect_alloc(ct); in set_expected_rtp_rtcp() 960 if (rtp_exp == NULL) in set_expected_rtp_rtcp() 962 nf_ct_expect_init(rtp_exp, class, nf_ct_l3num(ct), saddr, daddr, in set_expected_rtp_rtcp() 974 datalen, rtp_exp, rtcp_exp, in set_expected_rtp_rtcp() 983 int errp = nf_ct_expect_related(rtp_exp, in set_expected_rtp_rtcp() 993 nf_ct_unexpect_related(rtp_exp); in set_expected_rtp_rtcp() 998 nf_ct_expect_put(rtp_exp); in set_expected_rtp_rtcp()
|
/openbmc/linux/include/linux/netfilter/ |
H A D | nf_conntrack_h323.h | 64 struct nf_conntrack_expect *rtp_exp,
|
H A D | nf_conntrack_sip.h | 161 struct nf_conntrack_expect *rtp_exp,
|