Home
last modified time | relevance | path

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

12

/linux-4.19.296/include/net/netfilter/
Dnf_conntrack.h55 struct nf_conn { struct
91 struct nf_conn *master; argument
108 static inline struct nf_conn * argument
111 return container_of(hash, struct nf_conn, in nf_ct_tuplehash_to_ctrack()
115 static inline u_int16_t nf_ct_l3num(const struct nf_conn *ct) in nf_ct_l3num()
120 static inline u_int8_t nf_ct_protonum(const struct nf_conn *ct) in nf_ct_protonum()
132 static inline struct net *nf_ct_net(const struct nf_conn *ct) in nf_ct_net()
138 void nf_conntrack_alter_reply(struct nf_conn *ct,
144 const struct nf_conn *ignored_conntrack);
150 static inline struct nf_conn *
[all …]
Dnf_conntrack_helper.h42 struct nf_conn *ct,
45 void (*destroy)(struct nf_conn *ct);
47 int (*from_nlattr)(struct nlattr *attr, struct nf_conn *ct);
48 int (*to_nlattr)(struct sk_buff *skb, const struct nf_conn *ct);
93 struct nf_conn *ct,
96 struct nf_conn *ct),
106 struct nf_conn_help *nf_ct_helper_ext_add(struct nf_conn *ct, gfp_t gfp);
108 int __nf_ct_try_assign_helper(struct nf_conn *ct, struct nf_conn *tmpl,
111 void nf_ct_helper_destroy(struct nf_conn *ct);
113 static inline struct nf_conn_help *nfct_help(const struct nf_conn *ct) in nfct_help()
[all …]
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()
69 struct nf_conn *ct;
83 void nf_ct_deliver_cached_events(struct nf_conn *ct);
84 int nf_conntrack_eventmask_report(unsigned int eventmask, struct nf_conn *ct,
88 nf_conntrack_event_cache(enum ip_conntrack_events event, struct nf_conn *ct) in nf_conntrack_event_cache()
104 nf_conntrack_event_report(enum ip_conntrack_events event, struct nf_conn *ct, in nf_conntrack_event_report()
116 nf_conntrack_event(enum ip_conntrack_events event, struct nf_conn *ct) in nf_conntrack_event()
168 struct nf_conn *ct) {} in nf_conntrack_event_cache()
170 struct nf_conn *ct, in nf_conntrack_eventmask_report()
[all …]
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);
Dnf_conntrack_l4proto.h45 int (*packet)(struct nf_conn *ct,
52 bool (*new)(struct nf_conn *ct, const struct sk_buff *skb,
56 void (*destroy)(struct nf_conn *ct);
58 int (*error)(struct net *net, struct nf_conn *tmpl, struct sk_buff *skb,
63 bool (*can_early_drop)(const struct nf_conn *ct);
67 struct nf_conn *ct);
70 int (*from_nlattr)(struct nlattr *tb[], struct nf_conn *ct);
91 void (*print_conntrack)(struct seq_file *s, struct nf_conn *);
143 const struct nf_conn *ct,
156 const struct nf_conn *ct, in nf_ct_l4proto_log_invalid()
Dnf_nat.h29 struct nf_conn;
41 unsigned int nf_nat_setup_info(struct nf_conn *ct,
45 extern unsigned int nf_nat_alloc_null_binding(struct nf_conn *ct,
48 struct nf_conn_nat *nf_ct_nat_ext_add(struct nf_conn *ct);
52 const struct nf_conn *ignored_conntrack);
54 static inline struct nf_conn_nat *nfct_nat(const struct nf_conn *ct) in nfct_nat()
Dnf_conntrack_synproxy.h13 static inline struct nf_conn_synproxy *nfct_synproxy(const struct nf_conn *ct) in nfct_synproxy()
22 static inline struct nf_conn_synproxy *nfct_synproxy_ext_add(struct nf_conn *ct) in nfct_synproxy_ext_add()
31 static inline bool nf_ct_add_synproxy(struct nf_conn *ct, in nf_ct_add_synproxy()
32 const struct nf_conn *tmpl) in nf_ct_add_synproxy()
54 struct nf_conn *tmpl;
88 struct tcphdr *th, struct nf_conn *ct,
Dnf_conntrack_extend.h57 static inline bool nf_ct_ext_exist(const struct nf_conn *ct, u8 id) in nf_ct_ext_exist()
62 static inline void *__nf_ct_ext_find(const struct nf_conn *ct, u8 id) in __nf_ct_ext_find()
73 void nf_ct_ext_destroy(struct nf_conn *ct);
78 static inline void nf_ct_ext_free(struct nf_conn *ct) in nf_ct_ext_free()
85 void *nf_ct_ext_add(struct nf_conn *ct, enum nf_ct_ext_id id, gfp_t gfp);
89 void (*destroy)(struct nf_conn *ct);
Dnf_conntrack_zones.h11 nf_ct_zone(const struct nf_conn *ct) in nf_ct_zone()
31 nf_ct_zone_tmpl(const struct nf_conn *tmpl, const struct sk_buff *skb, in nf_ct_zone_tmpl()
44 static inline void nf_ct_zone_add(struct nf_conn *ct, in nf_ct_zone_add()
69 static inline bool nf_ct_zone_equal(const struct nf_conn *a, in nf_ct_zone_equal()
81 static inline bool nf_ct_zone_equal_any(const struct nf_conn *a, in nf_ct_zone_equal_any()
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);
Dnf_conntrack_labels.h17 static inline struct nf_conn_labels *nf_ct_labels_find(const struct nf_conn *ct) in nf_ct_labels_find()
26 static inline struct nf_conn_labels *nf_ct_labels_ext_add(struct nf_conn *ct) in nf_ct_labels_ext_add()
40 int nf_connlabels_replace(struct nf_conn *ct,
Dnf_conntrack_expect.h30 void (*expectfn)(struct nf_conn *new,
37 struct nf_conn *master;
107 void nf_ct_remove_expectations(struct nf_conn *ct);
118 struct nf_conntrack_expect *nf_ct_expect_alloc(struct nf_conn *me);
Dnf_conntrack_acct.h27 struct nf_conn_acct *nf_conn_acct_find(const struct nf_conn *ct) in nf_conn_acct_find()
33 struct nf_conn_acct *nf_ct_acct_ext_add(struct nf_conn *ct, gfp_t gfp) in nf_ct_acct_ext_add()
49 unsigned int seq_print_acct(struct seq_file *s, const struct nf_conn *ct,
Dnf_conntrack_core.h57 struct nf_conn *ct = (struct nf_conn *)skb_nfct(skb); in nf_conntrack_confirm()
65 ct = (struct nf_conn *)skb_nfct(skb); in nf_conntrack_confirm()
Dnf_nat_l3proto.h30 const struct nf_conn *ct,
43 int nf_nat_icmp_reply_translation(struct sk_buff *skb, struct nf_conn *ct,
47 int nf_nat_icmpv6_reply_translation(struct sk_buff *skb, struct nf_conn *ct,
Dnf_conntrack_timeout.h45 struct nf_conn_timeout *nf_ct_timeout_find(const struct nf_conn *ct) in nf_ct_timeout_find()
55 struct nf_conn_timeout *nf_ct_timeout_ext_add(struct nf_conn *ct, in nf_ct_timeout_ext_add()
74 static inline unsigned int *nf_ct_timeout_lookup(const struct nf_conn *ct) in nf_ct_timeout_lookup()
Dnf_nat_core.h11 unsigned int nf_nat_packet(struct nf_conn *ct, enum ip_conntrack_info ctinfo,
20 static inline int nf_nat_initialized(struct nf_conn *ct, in nf_nat_initialized()
Dnf_conntrack_timestamp.h17 struct nf_conn_tstamp *nf_conn_tstamp_find(const struct nf_conn *ct) in nf_conn_tstamp_find()
27 struct nf_conn_tstamp *nf_ct_tstamp_ext_add(struct nf_conn *ct, gfp_t gfp) in nf_ct_tstamp_ext_add()
Dnf_nat_l4proto.h39 const struct nf_conn *ct);
77 const struct nf_conn *ct);
/linux-4.19.296/include/linux/netfilter/
Dnf_conntrack_h323.h31 struct nf_conn;
33 int get_h225_addr(struct nf_conn *ct, unsigned char *data,
36 void nf_conntrack_h245_expect(struct nf_conn *new,
38 void nf_conntrack_q931_expect(struct nf_conn *new,
51 struct nf_conn *ct,
56 struct nf_conn *ct,
61 struct nf_conn *ct,
69 extern int (*nat_t120_hook) (struct sk_buff *skb, struct nf_conn *ct,
75 extern int (*nat_h245_hook) (struct sk_buff *skb, struct nf_conn *ct,
82 struct nf_conn *ct,
[all …]
Dnf_conntrack_sip.h69 int (*match_len)(const struct nf_conn *ct,
170 int ct_sip_parse_request(const struct nf_conn *ct, const char *dptr,
174 int ct_sip_get_header(const struct nf_conn *ct, const char *dptr,
178 int ct_sip_parse_header_uri(const struct nf_conn *ct, const char *dptr,
183 int ct_sip_parse_address_param(const struct nf_conn *ct, const char *dptr,
188 int ct_sip_parse_numerical_param(const struct nf_conn *ct, const char *dptr,
193 int ct_sip_get_sdp_header(const struct nf_conn *ct, const char *dptr,
Dnf_conntrack_proto_gre.h16 struct nf_conn;
38 int nf_ct_gre_keymap_add(struct nf_conn *ct, enum ip_conntrack_dir dir,
42 void nf_ct_gre_keymap_destroy(struct nf_conn *ct);
Dnf_conntrack_pptp.h301 struct nf_conn;
306 struct nf_conn *ct, enum ip_conntrack_info ctinfo,
313 struct nf_conn *ct, enum ip_conntrack_info ctinfo,
323 (*nf_nat_pptp_hook_expectfn)(struct nf_conn *ct,
/linux-4.19.296/include/linux/
Dnetfilter.h339 struct nf_conn;
345 int (*parse_nat_setup)(struct nf_conn *ct, enum nf_nat_manip_type manip,
348 unsigned int (*manip_pkt)(struct sk_buff *skb, struct nf_conn *ct,
427 struct nf_conn;
441 struct nf_conn *(*get_ct)(const struct sk_buff *skb,
443 size_t (*build_size)(const struct nf_conn *ct);
444 int (*build)(struct sk_buff *skb, struct nf_conn *ct,
447 int (*parse)(const struct nlattr *attr, struct nf_conn *ct);
448 int (*attach_expect)(const struct nlattr *attr, struct nf_conn *ct,
450 void (*seq_adjust)(struct sk_buff *skb, struct nf_conn *ct,
/linux-4.19.296/include/uapi/linux/netfilter/
Dxt_CT.h27 struct nf_conn *ct __attribute__((aligned(8)));
39 struct nf_conn *ct __attribute__((aligned(8)));

12