Home
last modified time | relevance | path

Searched refs:nf_conn (Results 1 – 25 of 108) sorted by relevance

12345

/linux/include/net/netfilter/
A Dnf_conntrack.h72 struct nf_conn { struct
107 struct nf_conn *master; argument
124 static inline struct nf_conn * argument
127 return container_of(hash, struct nf_conn, in nf_ct_tuplehash_to_ctrack()
154 void nf_conntrack_alter_reply(struct nf_conn *ct,
163 static inline struct nf_conn *
169 return (struct nf_conn *)(nfct & NFCT_PTRMASK); in nf_ct_get()
173 static inline void nf_ct_put(struct nf_conn *ct) in nf_ct_put()
245 void nf_conntrack_free(struct nf_conn *ct);
338 void nf_ct_tmpl_free(struct nf_conn *tmpl);
[all …]
A Dnf_conntrack_helper.h47 struct nf_conn *ct,
50 void (*destroy)(struct nf_conn *ct);
52 int (*from_nlattr)(struct nlattr *attr, struct nf_conn *ct);
53 int (*to_nlattr)(struct sk_buff *skb, const struct nf_conn *ct);
100 struct nf_conn *ct,
103 struct nf_conn *ct),
115 int __nf_ct_try_assign_helper(struct nf_conn *ct, struct nf_conn *tmpl,
118 void nf_ct_helper_destroy(struct nf_conn *ct);
120 static inline struct nf_conn_help *nfct_help(const struct nf_conn *ct) in nfct_help()
125 static inline void *nfct_help_data(const struct nf_conn *ct) in nfct_help_data()
[all …]
A Dnf_conntrack_l4proto.h31 bool (*can_early_drop)(const struct nf_conn *ct);
35 struct nf_conn *ct, bool destroy);
95 int nf_conntrack_icmp_packet(struct nf_conn *ct,
100 int nf_conntrack_icmpv6_packet(struct nf_conn *ct,
105 int nf_conntrack_udp_packet(struct nf_conn *ct,
115 int nf_conntrack_tcp_packet(struct nf_conn *ct,
120 int nf_conntrack_dccp_packet(struct nf_conn *ct,
125 int nf_conntrack_sctp_packet(struct nf_conn *ct,
130 int nf_conntrack_gre_packet(struct nf_conn *ct,
164 const struct nf_conn *ct,
[all …]
A Dnf_nat.h39 unsigned int nf_nat_setup_info(struct nf_conn *ct,
43 extern unsigned int nf_nat_alloc_null_binding(struct nf_conn *ct,
46 struct nf_conn_nat *nf_ct_nat_ext_add(struct nf_conn *ct);
48 static inline struct nf_conn_nat *nfct_nat(const struct nf_conn *ct) in nfct_nat()
76 unsigned int nf_nat_packet(struct nf_conn *ct, enum ip_conntrack_info ctinfo,
79 unsigned int nf_nat_manip_pkt(struct sk_buff *skb, struct nf_conn *ct,
86 int nf_nat_icmp_reply_translation(struct sk_buff *skb, struct nf_conn *ct,
90 int nf_nat_icmpv6_reply_translation(struct sk_buff *skb, struct nf_conn *ct,
107 static inline int nf_nat_initialized(struct nf_conn *ct, in nf_nat_initialized()
A Dnf_conntrack_seqadj.h24 static inline struct nf_conn_seqadj *nfct_seqadj(const struct nf_conn *ct) in nfct_seqadj()
29 static inline struct nf_conn_seqadj *nfct_seqadj_ext_add(struct nf_conn *ct) in nfct_seqadj_ext_add()
34 int nf_ct_seqadj_init(struct nf_conn *ct, enum ip_conntrack_info ctinfo,
36 int nf_ct_seqadj_set(struct nf_conn *ct, enum ip_conntrack_info ctinfo,
38 void nf_ct_tcp_seqadj_set(struct sk_buff *skb, struct nf_conn *ct,
41 int nf_ct_seq_adjust(struct sk_buff *skb, struct nf_conn *ct,
43 s32 nf_ct_seq_offset(const struct nf_conn *ct, enum ip_conntrack_dir, u32 seq);
A Dnf_conntrack_ecache.h32 nf_ct_ecache_find(const struct nf_conn *ct) in nf_ct_ecache_find()
42 nf_ct_ecache_ext_add(struct nf_conn *ct, u16 ctmask, u16 expmask, gfp_t gfp) in nf_ct_ecache_ext_add()
70 struct nf_conn *ct;
90 void nf_ct_deliver_cached_events(struct nf_conn *ct);
91 int nf_conntrack_eventmask_report(unsigned int eventmask, struct nf_conn *ct,
96 static inline void nf_ct_deliver_cached_events(const struct nf_conn *ct) in nf_ct_deliver_cached_events()
101 struct nf_conn *ct, in nf_conntrack_eventmask_report()
111 nf_conntrack_event_cache(enum ip_conntrack_events event, struct nf_conn *ct) in nf_conntrack_event_cache()
129 nf_conntrack_event_report(enum ip_conntrack_events event, struct nf_conn *ct, in nf_conntrack_event_report()
145 nf_conntrack_event(enum ip_conntrack_events event, struct nf_conn *ct) in nf_conntrack_event()
A Dnf_conntrack_timeout.h49 struct nf_conn_timeout *nf_ct_timeout_find(const struct nf_conn *ct) in nf_ct_timeout_find()
59 struct nf_conn_timeout *nf_ct_timeout_ext_add(struct nf_conn *ct, in nf_ct_timeout_ext_add()
78 static inline unsigned int *nf_ct_timeout_lookup(const struct nf_conn *ct) in nf_ct_timeout_lookup()
95 int nf_ct_set_timeout(struct net *net, struct nf_conn *ct, u8 l3num, u8 l4num,
97 void nf_ct_destroy_timeout(struct nf_conn *ct);
109 static inline int nf_ct_set_timeout(struct net *net, struct nf_conn *ct, in nf_ct_set_timeout()
116 static inline void nf_ct_destroy_timeout(struct nf_conn *ct) in nf_ct_destroy_timeout()
A Dnf_conntrack_zones.h9 nf_ct_zone(const struct nf_conn *ct) in nf_ct_zone()
29 nf_ct_zone_tmpl(const struct nf_conn *tmpl, const struct sk_buff *skb, in nf_ct_zone_tmpl()
42 static inline void nf_ct_zone_add(struct nf_conn *ct, in nf_ct_zone_add()
67 static inline bool nf_ct_zone_equal(const struct nf_conn *a, in nf_ct_zone_equal()
79 static inline bool nf_ct_zone_equal_any(const struct nf_conn *a, in nf_ct_zone_equal_any()
A Dnf_conntrack_extend.h56 static inline bool nf_ct_ext_exist(const struct nf_conn *ct, u8 id) in nf_ct_ext_exist()
61 static inline void *__nf_ct_ext_find(const struct nf_conn *ct, u8 id) in __nf_ct_ext_find()
72 void nf_ct_ext_destroy(struct nf_conn *ct);
75 void *nf_ct_ext_add(struct nf_conn *ct, enum nf_ct_ext_id id, gfp_t gfp);
79 void (*destroy)(struct nf_conn *ct);
A Dnf_conntrack_synproxy.h14 static inline struct nf_conn_synproxy *nfct_synproxy(const struct nf_conn *ct) in nfct_synproxy()
23 static inline struct nf_conn_synproxy *nfct_synproxy_ext_add(struct nf_conn *ct) in nfct_synproxy_ext_add()
32 static inline bool nf_ct_add_synproxy(struct nf_conn *ct, in nf_ct_add_synproxy()
33 const struct nf_conn *tmpl) in nf_ct_add_synproxy()
A Dnf_nat_helper.h11 bool __nf_nat_mangle_tcp_packet(struct sk_buff *skb, struct nf_conn *ct,
18 struct nf_conn *ct, in nf_nat_mangle_tcp_packet()
31 bool nf_nat_mangle_udp_packet(struct sk_buff *skb, struct nf_conn *ct,
39 void nf_nat_follow_master(struct nf_conn *ct, struct nf_conntrack_expect *this);
A Dnf_conntrack_acct.h24 struct nf_conn_acct *nf_conn_acct_find(const struct nf_conn *ct) in nf_conn_acct_find()
30 struct nf_conn_acct *nf_ct_acct_ext_add(struct nf_conn *ct, gfp_t gfp) in nf_ct_acct_ext_add()
68 void nf_ct_acct_add(struct nf_conn *ct, u32 dir, unsigned int packets,
71 static inline void nf_ct_acct_update(struct nf_conn *ct, u32 dir, in nf_ct_acct_update()
A Dnf_conntrack_expect.h30 void (*expectfn)(struct nf_conn *new,
37 struct nf_conn *master;
112 void nf_ct_remove_expectations(struct nf_conn *ct);
123 struct nf_conntrack_expect *nf_ct_expect_alloc(struct nf_conn *me);
A Dnf_conntrack_labels.h20 static inline struct nf_conn_labels *nf_ct_labels_find(const struct nf_conn *ct) in nf_ct_labels_find()
29 static inline struct nf_conn_labels *nf_ct_labels_ext_add(struct nf_conn *ct) in nf_ct_labels_ext_add()
43 int nf_connlabels_replace(struct nf_conn *ct,
/linux/include/linux/netfilter/
A Dnf_conntrack_h323.h34 int get_h225_addr(struct nf_conn *ct, unsigned char *data,
37 void nf_conntrack_h245_expect(struct nf_conn *new,
39 void nf_conntrack_q931_expect(struct nf_conn *new,
52 struct nf_conn *ct,
57 struct nf_conn *ct,
62 struct nf_conn *ct,
70 extern int (*nat_t120_hook) (struct sk_buff *skb, struct nf_conn *ct,
76 extern int (*nat_h245_hook) (struct sk_buff *skb, struct nf_conn *ct,
83 struct nf_conn *ct,
90 extern int (*nat_q931_hook) (struct sk_buff *skb, struct nf_conn *ct,
A Dnf_conntrack_sip.h68 int (*match_len)(const struct nf_conn *ct,
169 int ct_sip_parse_request(const struct nf_conn *ct, const char *dptr,
173 int ct_sip_get_header(const struct nf_conn *ct, const char *dptr,
177 int ct_sip_parse_header_uri(const struct nf_conn *ct, const char *dptr,
182 int ct_sip_parse_address_param(const struct nf_conn *ct, const char *dptr,
187 int ct_sip_parse_numerical_param(const struct nf_conn *ct, const char *dptr,
192 int ct_sip_get_sdp_header(const struct nf_conn *ct, const char *dptr,
A Dnf_conntrack_proto_gre.h15 struct nf_conn;
25 int nf_ct_gre_keymap_add(struct nf_conn *ct, enum ip_conntrack_dir dir,
30 void nf_ct_gre_keymap_destroy(struct nf_conn *ct);
/linux/net/netfilter/
A Dnf_conntrack_core.c618 struct nf_conn *ct = (struct nf_conn *)nfct; in destroy_conntrack()
731 nf_ct_match(const struct nf_conn *ct1, const struct nf_conn *ct2) in nf_ct_match()
773 struct nf_conn *ct; in ____nf_conntrack_find()
803 struct nf_conn *ct; in __nf_conntrack_find_get()
1019 struct nf_conn *loser_ct = (struct nf_conn *)skb_nfct(skb); in nf_ct_resolve_clash_harder()
1138 struct nf_conn *ct; in __nf_conntrack_confirm()
1271 struct nf_conn *ct; in nf_conntrack_tuple_taken()
1533 struct nf_conn *ct; in __nf_conntrack_alloc()
1619 struct nf_conn *ct; in init_conntrack()
1720 struct nf_conn *ct; in resolve_normal_ct()
[all …]
A Dnf_conntrack_sip.c855 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in set_expected_rtp_rtcp()
1032 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in process_sdp()
1141 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in process_invite_response()
1158 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in process_update_response()
1175 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in process_prack_response()
1192 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in process_invite_request()
1209 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in process_bye_request()
1225 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in process_register_request()
1323 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in process_register_response()
1408 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in process_sip_response()
[all …]
A Dnf_conntrack_h323_main.c64 struct nf_conn *ct,
69 struct nf_conn *ct,
74 struct nf_conn *ct,
83 struct nf_conn *ct,
90 struct nf_conn *ct,
97 struct nf_conn *ct,
104 struct nf_conn *ct,
330 struct nf_conn *ct, in expect_t120()
381 struct nf_conn *ct, in process_h245_channel()
782 struct nf_conn *ct, in expect_callforwarding()
[all …]
A Dnf_nat_core.c56 const struct nf_conn *ct, in nf_nat_ipv4_decode_session()
88 const struct nf_conn *ct, in nf_nat_ipv6_decode_session()
123 const struct nf_conn *ct; in __nf_nat_decode_session()
263 same_src(const struct nf_conn *ct, in same_src()
283 const struct nf_conn *ct; in find_appropriate_src()
311 const struct nf_conn *ct, in find_best_ips_proto()
383 const struct nf_conn *ct) in nf_nat_l4proto_unique_tuple()
507 struct nf_conn *ct, in get_unique_tuple()
580 nf_nat_setup_info(struct nf_conn *ct, in nf_nat_setup_info()
716 struct nf_conn *ct; in nf_nat_inet_fn()
[all …]
A Dnf_conntrack_netlink.c212 const struct nf_conn *ct) in ctnetlink_dump_helpinfo()
1170 struct nf_conn *ct, *last; in ctnetlink_dump_table()
1581 struct nf_conn *ct; in ctnetlink_del_conntrack()
1640 struct nf_conn *ct; in ctnetlink_get_conntrack()
1705 struct nf_conn *ct, *last; in ctnetlink_dump_list()
2245 static struct nf_conn *
2253 struct nf_conn *ct; in ctnetlink_create_conntrack()
2372 struct nf_conn *master_ct; in ctnetlink_create_conntrack()
2415 struct nf_conn *ct; in ctnetlink_new_conntrack()
3275 struct nf_conn *ct; in ctnetlink_dump_exp_ct()
[all …]
A Dnf_conntrack_pptp.c50 struct nf_conn *ct, enum ip_conntrack_info ctinfo,
57 struct nf_conn *ct, enum ip_conntrack_info ctinfo,
69 (*nf_nat_pptp_hook_expectfn)(struct nf_conn *ct,
111 static void pptp_expectfn(struct nf_conn *ct, in pptp_expectfn()
149 static int destroy_sibling_or_exp(struct net *net, struct nf_conn *ct, in destroy_sibling_or_exp()
155 struct nf_conn *sibling; in destroy_sibling_or_exp()
183 static void pptp_destroy_siblings(struct nf_conn *ct) in pptp_destroy_siblings()
209 static int exp_gre(struct nf_conn *ct, __be16 callid, __be16 peer_callid) in exp_gre()
278 struct nf_conn *ct, in pptp_inbound_pkt()
406 struct nf_conn *ct, in pptp_outbound_pkt()
[all …]
A Dxt_nat.c57 struct nf_conn *ct; in xt_snat_target_v0()
74 struct nf_conn *ct; in xt_dnat_target_v0()
90 struct nf_conn *ct; in xt_snat_target_v1()
109 struct nf_conn *ct; in xt_dnat_target_v1()
126 struct nf_conn *ct; in xt_snat_target_v2()
141 struct nf_conn *ct; in xt_dnat_target_v2()
A Dxt_CT.c20 static inline int xt_ct_target(struct sk_buff *skb, struct nf_conn *ct) in xt_ct_target()
40 struct nf_conn *ct = info->ct; in xt_ct_target_v0()
49 struct nf_conn *ct = info->ct; in xt_ct_target_v1()
73 xt_ct_set_helper(struct nf_conn *ct, const char *helper_name, in xt_ct_set_helper()
104 xt_ct_set_timeout(struct nf_conn *ct, const struct xt_tgchk_param *par, in xt_ct_set_timeout()
144 struct nf_conn *ct; in xt_ct_tg_check()
269 struct nf_conn *ct = info->ct; in xt_ct_tg_destroy()

Completed in 44 milliseconds

12345