Lines Matching refs:exp

807 	struct nf_conntrack_expect *exp;  in refresh_signalling_expectation()  local
812 hlist_for_each_entry_safe(exp, next, &help->expectations, lnode) { in refresh_signalling_expectation()
813 if (exp->class != SIP_EXPECT_SIGNALLING || in refresh_signalling_expectation()
814 !nf_inet_addr_cmp(&exp->tuple.dst.u3, addr) || in refresh_signalling_expectation()
815 exp->tuple.dst.protonum != proto || in refresh_signalling_expectation()
816 exp->tuple.dst.u.udp.port != port) in refresh_signalling_expectation()
818 if (mod_timer_pending(&exp->timeout, jiffies + expires * HZ)) { in refresh_signalling_expectation()
819 exp->flags &= ~NF_CT_EXPECT_INACTIVE; in refresh_signalling_expectation()
831 struct nf_conntrack_expect *exp; in flush_expectations() local
835 hlist_for_each_entry_safe(exp, next, &help->expectations, lnode) { in flush_expectations()
836 if ((exp->class != SIP_EXPECT_SIGNALLING) ^ media) in flush_expectations()
838 if (!nf_ct_remove_expect(exp)) in flush_expectations()
853 struct nf_conntrack_expect *exp, *rtp_exp, *rtcp_exp; in set_expected_rtp_rtcp() local
924 exp = __nf_ct_expect_find(net, nf_ct_zone(ct), &tuple); in set_expected_rtp_rtcp()
926 if (!exp || exp->master == ct || in set_expected_rtp_rtcp()
927 nfct_help(exp->master)->helper != nfct_help(ct)->helper || in set_expected_rtp_rtcp()
928 exp->class != class) in set_expected_rtp_rtcp()
932 (!nf_inet_addr_cmp(&exp->saved_addr, &exp->tuple.dst.u3) || in set_expected_rtp_rtcp()
933 exp->saved_proto.udp.port != exp->tuple.dst.u.udp.port) && in set_expected_rtp_rtcp()
935 *daddr = exp->saved_addr; in set_expected_rtp_rtcp()
936 tuple.dst.u3 = exp->saved_addr; in set_expected_rtp_rtcp()
937 tuple.dst.u.udp.port = exp->saved_proto.udp.port; in set_expected_rtp_rtcp()
1229 struct nf_conntrack_expect *exp; in process_register_request() local
1283 exp = nf_ct_expect_alloc(ct); in process_register_request()
1284 if (!exp) { in process_register_request()
1297 nf_ct_expect_init(exp, SIP_EXPECT_SIGNALLING, nf_ct_l3num(ct), in process_register_request()
1299 exp->timeout.expires = sip_timeout * HZ; in process_register_request()
1300 exp->helper = helper; in process_register_request()
1301 exp->flags = NF_CT_EXPECT_PERMANENT | NF_CT_EXPECT_INACTIVE; in process_register_request()
1306 exp, matchoff, matchlen); in process_register_request()
1308 if (nf_ct_expect_related(exp, 0) != 0) { in process_register_request()
1314 nf_ct_expect_put(exp); in process_register_request()