Home
last modified time | relevance | path

Searched refs:ctinfo (Results 1 – 25 of 69) sorted by relevance

123

/linux-2.6.39/net/netfilter/
Dnf_conntrack_h323_main.c64 enum ip_conntrack_info ctinfo,
69 enum ip_conntrack_info ctinfo,
74 enum ip_conntrack_info ctinfo,
82 enum ip_conntrack_info ctinfo,
88 enum ip_conntrack_info ctinfo,
94 enum ip_conntrack_info ctinfo,
100 enum ip_conntrack_info ctinfo,
114 struct nf_conn *ct, enum ip_conntrack_info ctinfo, in get_tpkt_data() argument
118 int dir = CTINFO2DIR(ctinfo); in get_tpkt_data()
253 enum ip_conntrack_info ctinfo, in expect_rtp_rtcp() argument
[all …]
Dnf_conntrack_snmp.c34 enum ip_conntrack_info ctinfo);
38 struct nf_conn *ct, enum ip_conntrack_info ctinfo) in snmp_conntrack_help() argument
42 nf_conntrack_broadcast_help(skb, protoff, ct, ctinfo, timeout); in snmp_conntrack_help()
46 return nf_nat_snmp(skb, protoff, ct, ctinfo); in snmp_conntrack_help()
Dxt_CONNSECMARK.c40 enum ip_conntrack_info ctinfo; in secmark_save() local
42 ct = nf_ct_get(skb, &ctinfo); in secmark_save()
58 enum ip_conntrack_info ctinfo; in secmark_restore() local
60 ct = nf_ct_get(skb, &ctinfo); in secmark_restore()
Dxt_state.c27 enum ip_conntrack_info ctinfo; in state_mt() local
29 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in state_mt()
37 statebit = XT_STATE_BIT(ctinfo); in state_mt()
Dnf_conntrack_sip.c840 enum ip_conntrack_info ctinfo; in set_expected_rtp_rtcp() local
841 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in set_expected_rtp_rtcp()
843 enum ip_conntrack_dir dir = CTINFO2DIR(ctinfo); in set_expected_rtp_rtcp()
977 enum ip_conntrack_info ctinfo; in process_sdp() local
978 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in process_sdp()
1076 enum ip_conntrack_info ctinfo; in process_invite_response() local
1077 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in process_invite_response()
1092 enum ip_conntrack_info ctinfo; in process_update_response() local
1093 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in process_update_response()
1108 enum ip_conntrack_info ctinfo; in process_prack_response() local
[all …]
Dnf_conntrack_pptp.c47 struct nf_conn *ct, enum ip_conntrack_info ctinfo,
54 struct nf_conn *ct, enum ip_conntrack_info ctinfo,
270 enum ip_conntrack_info ctinfo) in pptp_inbound_pkt() argument
378 return nf_nat_pptp_inbound(skb, ct, ctinfo, ctlh, pptpReq); in pptp_inbound_pkt()
396 enum ip_conntrack_info ctinfo) in pptp_outbound_pkt() argument
473 return nf_nat_pptp_outbound(skb, ct, ctinfo, ctlh, pptpReq); in pptp_outbound_pkt()
504 struct nf_conn *ct, enum ip_conntrack_info ctinfo) in conntrack_pptp_help() argument
507 int dir = CTINFO2DIR(ctinfo); in conntrack_pptp_help()
522 if (ctinfo != IP_CT_ESTABLISHED && in conntrack_pptp_help()
523 ctinfo != IP_CT_ESTABLISHED + IP_CT_IS_REPLY) in conntrack_pptp_help()
[all …]
Dxt_connmark.c43 enum ip_conntrack_info ctinfo; in connmark_tg() local
47 ct = nf_ct_get(skb, &ctinfo); in connmark_tg()
97 enum ip_conntrack_info ctinfo; in connmark_mt() local
100 ct = nf_ct_get(skb, &ctinfo); in connmark_mt()
Dnf_conntrack_irc.c35 enum ip_conntrack_info ctinfo,
105 struct nf_conn *ct, enum ip_conntrack_info ctinfo) in help() argument
113 int dir = CTINFO2DIR(ctinfo); in help()
128 if (ctinfo != IP_CT_ESTABLISHED && in help()
129 ctinfo != IP_CT_ESTABLISHED + IP_CT_IS_REPLY) in help()
211 ret = nf_nat_irc(skb, ctinfo, in help()
Dnf_conntrack_core.c430 enum ip_conntrack_info ctinfo; in __nf_conntrack_confirm() local
434 ct = nf_ct_get(skb, &ctinfo); in __nf_conntrack_confirm()
441 if (CTINFO2DIR(ctinfo) != IP_CT_DIR_ORIGINAL) in __nf_conntrack_confirm()
823 enum ip_conntrack_info *ctinfo) in resolve_normal_ct() argument
853 *ctinfo = IP_CT_ESTABLISHED + IP_CT_IS_REPLY; in resolve_normal_ct()
860 *ctinfo = IP_CT_ESTABLISHED; in resolve_normal_ct()
864 *ctinfo = IP_CT_RELATED; in resolve_normal_ct()
867 *ctinfo = IP_CT_NEW; in resolve_normal_ct()
872 skb->nfctinfo = *ctinfo; in resolve_normal_ct()
881 enum ip_conntrack_info ctinfo; in nf_conntrack_in() local
[all …]
/linux-2.6.39/include/net/netfilter/
Dnf_nat_helper.h12 enum ip_conntrack_info ctinfo,
20 enum ip_conntrack_info ctinfo, in nf_nat_mangle_tcp_packet() argument
26 return __nf_nat_mangle_tcp_packet(skb, ct, ctinfo, in nf_nat_mangle_tcp_packet()
33 enum ip_conntrack_info ctinfo,
40 enum ip_conntrack_info ctinfo,
44 enum ip_conntrack_info ctinfo);
47 enum ip_conntrack_info ctinfo);
Dnf_conntrack.h184 nf_ct_get(const struct sk_buff *skb, enum ip_conntrack_info *ctinfo) in nf_ct_get() argument
186 *ctinfo = skb->nfctinfo; in nf_ct_get()
226 enum ip_conntrack_info ctinfo,
233 enum ip_conntrack_info ctinfo, in nf_ct_refresh_acct() argument
237 __nf_ct_refresh_acct(ct, ctinfo, skb, extra_jiffies, 1); in nf_ct_refresh_acct()
249 enum ip_conntrack_info ctinfo,
255 enum ip_conntrack_info ctinfo, in nf_ct_kill_acct() argument
258 return __nf_ct_kill_acct(ct, ctinfo, skb, 1); in nf_ct_kill_acct()
Dnf_nat_core.h11 enum ip_conntrack_info ctinfo,
16 enum ip_conntrack_info ctinfo,
/linux-2.6.39/net/ipv4/netfilter/
Dnf_nat_standalone.c37 enum ip_conntrack_info ctinfo; in nat_decode_session() local
41 ct = nf_ct_get(skb, &ctinfo); in nat_decode_session()
44 dir = CTINFO2DIR(ctinfo); in nat_decode_session()
84 enum ip_conntrack_info ctinfo; in nf_nat_fn() local
93 ct = nf_ct_get(skb, &ctinfo); in nf_nat_fn()
117 switch (ctinfo) { in nf_nat_fn()
121 if (!nf_nat_icmp_reply_translation(ct, ctinfo, in nf_nat_fn()
146 NF_CT_ASSERT(ctinfo == IP_CT_ESTABLISHED || in nf_nat_fn()
147 ctinfo == (IP_CT_ESTABLISHED+IP_CT_IS_REPLY)); in nf_nat_fn()
150 return nf_nat_packet(ct, ctinfo, hooknum, skb); in nf_nat_fn()
[all …]
Dnf_nat_rule.c46 enum ip_conntrack_info ctinfo; in ipt_snat_target() local
52 ct = nf_ct_get(skb, &ctinfo); in ipt_snat_target()
55 NF_CT_ASSERT(ct && (ctinfo == IP_CT_NEW || ctinfo == IP_CT_RELATED || in ipt_snat_target()
56 ctinfo == IP_CT_RELATED + IP_CT_IS_REPLY)); in ipt_snat_target()
66 enum ip_conntrack_info ctinfo; in ipt_dnat_target() local
72 ct = nf_ct_get(skb, &ctinfo); in ipt_dnat_target()
75 NF_CT_ASSERT(ct && (ctinfo == IP_CT_NEW || ctinfo == IP_CT_RELATED)); in ipt_dnat_target()
Dnf_nat_sip.c38 enum ip_conntrack_info ctinfo; in mangle_packet() local
39 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in mangle_packet()
48 if (!__nf_nat_mangle_tcp_packet(skb, ct, ctinfo, in mangle_packet()
56 if (!nf_nat_mangle_udp_packet(skb, ct, ctinfo, in mangle_packet()
73 enum ip_conntrack_info ctinfo; in map_addr() local
74 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in map_addr()
75 enum ip_conntrack_dir dir = CTINFO2DIR(ctinfo); in map_addr()
105 enum ip_conntrack_info ctinfo; in map_sip_addr() local
106 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in map_sip_addr()
121 enum ip_conntrack_info ctinfo; in ip_nat_sip() local
[all …]
Dnf_nat_h323.c28 enum ip_conntrack_info ctinfo; in set_addr() local
29 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in set_addr()
42 if (!nf_nat_mangle_tcp_packet(skb, ct, ctinfo, in set_addr()
58 if (!nf_nat_mangle_udp_packet(skb, ct, ctinfo, in set_addr()
98 enum ip_conntrack_info ctinfo, in set_sig_addr() argument
103 int dir = CTINFO2DIR(ctinfo); in set_sig_addr()
149 enum ip_conntrack_info ctinfo, in set_ras_addr() argument
153 int dir = CTINFO2DIR(ctinfo); in set_ras_addr()
178 enum ip_conntrack_info ctinfo, in nat_rtp_rtcp() argument
186 int dir = CTINFO2DIR(ctinfo); in nat_rtp_rtcp()
[all …]
Dnf_nat_helper.c43 enum ip_conntrack_info ctinfo) in adjust_tcp_sequence() argument
45 enum ip_conntrack_dir dir = CTINFO2DIR(ctinfo); in adjust_tcp_sequence()
145 void nf_nat_set_seq_adjust(struct nf_conn *ct, enum ip_conntrack_info ctinfo, in nf_nat_set_seq_adjust() argument
151 adjust_tcp_sequence(ntohl(seq), off, ct, ctinfo); in nf_nat_set_seq_adjust()
195 enum ip_conntrack_info ctinfo, in __nf_nat_mangle_tcp_packet() argument
226 nf_nat_set_seq_adjust(ct, ctinfo, tcph->seq, in __nf_nat_mangle_tcp_packet()
246 enum ip_conntrack_info ctinfo, in nf_nat_mangle_udp_packet() argument
339 enum ip_conntrack_info ctinfo) in nf_nat_sack_adjust() argument
350 dir = CTINFO2DIR(ctinfo); in nf_nat_sack_adjust()
383 enum ip_conntrack_info ctinfo) in nf_nat_seq_adjust() argument
[all …]
Dipt_MASQUERADE.c51 enum ip_conntrack_info ctinfo; in masquerade_tg() local
59 ct = nf_ct_get(skb, &ctinfo); in masquerade_tg()
62 NF_CT_ASSERT(ct && (ctinfo == IP_CT_NEW || ctinfo == IP_CT_RELATED || in masquerade_tg()
63 ctinfo == IP_CT_RELATED + IP_CT_IS_REPLY)); in masquerade_tg()
Dipt_REDIRECT.c48 enum ip_conntrack_info ctinfo; in redirect_tg() local
56 ct = nf_ct_get(skb, &ctinfo); in redirect_tg()
57 NF_CT_ASSERT(ct && (ctinfo == IP_CT_NEW || ctinfo == IP_CT_RELATED)); in redirect_tg()
Dnf_conntrack_proto_icmp.c82 enum ip_conntrack_info ctinfo, in icmp_packet() argument
89 nf_ct_refresh_acct(ct, ctinfo, skb, nf_ct_icmp_timeout); in icmp_packet()
119 enum ip_conntrack_info *ctinfo, in icmp_error_message() argument
149 *ctinfo = IP_CT_RELATED; in icmp_error_message()
158 *ctinfo += IP_CT_IS_REPLY; in icmp_error_message()
162 skb->nfctinfo = *ctinfo; in icmp_error_message()
170 enum ip_conntrack_info *ctinfo, u_int8_t pf, unsigned int hooknum) in icmp_error() argument
214 return icmp_error_message(net, tmpl, skb, ctinfo, hooknum); in icmp_error()
Dnf_nat_ftp.c56 enum ip_conntrack_info ctinfo, in nf_nat_ftp() argument
64 int dir = CTINFO2DIR(ctinfo); in nf_nat_ftp()
103 if (!nf_nat_mangle_tcp_packet(skb, ct, ctinfo, matchoff, in nf_nat_ftp()
/linux-2.6.39/include/linux/netfilter/
Dnf_conntrack_h323.h51 enum ip_conntrack_info ctinfo,
56 enum ip_conntrack_info ctinfo,
61 enum ip_conntrack_info ctinfo,
68 enum ip_conntrack_info ctinfo,
73 enum ip_conntrack_info ctinfo,
79 enum ip_conntrack_info ctinfo,
85 enum ip_conntrack_info ctinfo,
Dxt_state.h4 #define XT_STATE_BIT(ctinfo) (1 << ((ctinfo)%IP_CT_IS_REPLY+1)) argument
Dnf_conntrack_tuple_common.h10 #define CTINFO2DIR(ctinfo) ((ctinfo) >= IP_CT_IS_REPLY ? IP_CT_DIR_REPLY : IP_CT_DIR_ORIGINAL) argument
/linux-2.6.39/net/ipv6/netfilter/
Dnf_conntrack_proto_icmpv6.c95 enum ip_conntrack_info ctinfo, in icmpv6_packet() argument
102 nf_ct_refresh_acct(ct, ctinfo, skb, nf_ct_icmpv6_timeout); in icmpv6_packet()
135 enum ip_conntrack_info *ctinfo, in icmpv6_error_message() argument
166 *ctinfo = IP_CT_RELATED; in icmpv6_error_message()
174 *ctinfo += IP_CT_IS_REPLY; in icmpv6_error_message()
179 skb->nfctinfo = *ctinfo; in icmpv6_error_message()
186 enum ip_conntrack_info *ctinfo, u_int8_t pf, unsigned int hooknum) in icmpv6_error() argument
221 return icmpv6_error_message(net, tmpl, skb, dataoff, ctinfo, hooknum); in icmpv6_error()

123