/linux-4.1.27/include/net/netfilter/ |
D | nf_conntrack.h | 74 struct nf_conn { struct 104 struct nf_conn *master; argument 121 static inline struct nf_conn * argument 124 return container_of(hash, struct nf_conn, in nf_ct_tuplehash_to_ctrack() 128 static inline u_int16_t nf_ct_l3num(const struct nf_conn *ct) in nf_ct_l3num() 133 static inline u_int8_t nf_ct_protonum(const struct nf_conn *ct) in nf_ct_protonum() 145 static inline struct net *nf_ct_net(const struct nf_conn *ct) in nf_ct_net() 151 void nf_conntrack_alter_reply(struct nf_conn *ct, 157 const struct nf_conn *ignored_conntrack); 160 static inline struct nf_conn * [all …]
|
D | nfnetlink_queue.h | 6 struct nf_conn; 9 struct nf_conn *nfqnl_ct_get(struct sk_buff *entskb, size_t *size, 11 struct nf_conn *nfqnl_ct_parse(const struct sk_buff *skb, 14 int nfqnl_ct_put(struct sk_buff *skb, struct nf_conn *ct, 16 void nfqnl_ct_seq_adjust(struct sk_buff *skb, struct nf_conn *ct, 18 int nfqnl_attach_expect(struct nf_conn *ct, const struct nlattr *attr, 21 inline struct nf_conn * 27 inline struct nf_conn *nfqnl_ct_parse(const struct sk_buff *skb, in nfqnl_ct_parse() 35 nfqnl_ct_put(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo) in nfqnl_ct_put() 40 inline void nfqnl_ct_seq_adjust(struct sk_buff *skb, struct nf_conn *ct, in nfqnl_ct_seq_adjust() [all …]
|
D | nf_conntrack_helper.h | 42 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); 65 struct nf_conn_help *nf_ct_helper_ext_add(struct nf_conn *ct, 69 int __nf_ct_try_assign_helper(struct nf_conn *ct, struct nf_conn *tmpl, 72 void nf_ct_helper_destroy(struct nf_conn *ct); 74 static inline struct nf_conn_help *nfct_help(const struct nf_conn *ct) in nfct_help() 79 static inline void *nfct_help_data(const struct nf_conn *ct) in nfct_help_data() 95 struct nf_conn *ct, [all …]
|
D | nf_nat_l3proto.h | 29 const struct nf_conn *ct, 42 int nf_nat_icmp_reply_translation(struct sk_buff *skb, struct nf_conn *ct, 51 struct nf_conn *ct)); 58 struct nf_conn *ct)); 66 struct nf_conn *ct)); 73 struct nf_conn *ct)); 75 int nf_nat_icmpv6_reply_translation(struct sk_buff *skb, struct nf_conn *ct, 84 struct nf_conn *ct)); 91 struct nf_conn *ct)); 99 struct nf_conn *ct)); [all …]
|
D | nf_conntrack_seqadj.h | 23 static inline struct nf_conn_seqadj *nfct_seqadj(const struct nf_conn *ct) in nfct_seqadj() 28 static inline struct nf_conn_seqadj *nfct_seqadj_ext_add(struct nf_conn *ct) in nfct_seqadj_ext_add() 33 int nf_ct_seqadj_init(struct nf_conn *ct, enum ip_conntrack_info ctinfo, 35 int nf_ct_seqadj_set(struct nf_conn *ct, enum ip_conntrack_info ctinfo, 37 void nf_ct_tcp_seqadj_set(struct sk_buff *skb, struct nf_conn *ct, 40 int nf_ct_seq_adjust(struct sk_buff *skb, struct nf_conn *ct, 42 s32 nf_ct_seq_offset(const struct nf_conn *ct, enum ip_conntrack_dir, u32 seq);
|
D | nf_nat.h | 28 struct nf_conn; 33 struct nf_conn *ct; 42 unsigned int nf_nat_setup_info(struct nf_conn *ct, 46 extern unsigned int nf_nat_alloc_null_binding(struct nf_conn *ct, 49 struct nf_conn_nat *nf_ct_nat_ext_add(struct nf_conn *ct); 53 const struct nf_conn *ignored_conntrack); 55 static inline struct nf_conn_nat *nfct_nat(const struct nf_conn *ct) in nfct_nat()
|
D | nf_conntrack_ecache.h | 24 nf_ct_ecache_find(const struct nf_conn *ct) in nf_ct_ecache_find() 34 nf_ct_ecache_ext_add(struct nf_conn *ct, u16 ctmask, u16 expmask, gfp_t gfp) in nf_ct_ecache_ext_add() 61 struct nf_conn *ct; 75 void nf_ct_deliver_cached_events(struct nf_conn *ct); 78 nf_conntrack_event_cache(enum ip_conntrack_events event, struct nf_conn *ct) in nf_conntrack_event_cache() 95 struct nf_conn *ct, in nf_conntrack_eventmask_report() 148 nf_conntrack_event_report(enum ip_conntrack_events event, struct nf_conn *ct, in nf_conntrack_event_report() 155 nf_conntrack_event(enum ip_conntrack_events event, struct nf_conn *ct) in nf_conntrack_event() 236 struct nf_conn *ct) {} in nf_conntrack_event_cache() 238 struct nf_conn *ct, in nf_conntrack_eventmask_report() [all …]
|
D | nf_conntrack_extend.h | 60 static inline bool nf_ct_ext_exist(const struct nf_conn *ct, u8 id) in nf_ct_ext_exist() 65 static inline void *__nf_ct_ext_find(const struct nf_conn *ct, u8 id) in __nf_ct_ext_find() 76 void __nf_ct_ext_destroy(struct nf_conn *ct); 77 static inline void nf_ct_ext_destroy(struct nf_conn *ct) in nf_ct_ext_destroy() 86 static inline void nf_ct_ext_free(struct nf_conn *ct) in nf_ct_ext_free() 93 void *__nf_ct_ext_add_length(struct nf_conn *ct, enum nf_ct_ext_id id, 105 void (*destroy)(struct nf_conn *ct);
|
D | nf_conntrack_labels.h | 17 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() 48 bool nf_connlabel_match(const struct nf_conn *ct, u16 bit); 49 int nf_connlabel_set(struct nf_conn *ct, u16 bit); 51 int nf_connlabels_replace(struct nf_conn *ct,
|
D | nf_conntrack_l4proto.h | 38 int (*packet)(struct nf_conn *ct, 48 bool (*new)(struct nf_conn *ct, const struct sk_buff *skb, 52 void (*destroy)(struct nf_conn *ct); 54 int (*error)(struct net *net, struct nf_conn *tmpl, struct sk_buff *skb, 63 void (*print_conntrack)(struct seq_file *s, struct nf_conn *); 70 struct nf_conn *ct); 75 int (*from_nlattr)(struct nlattr *tb[], struct nf_conn *ct);
|
D | nf_nat_helper.h | 10 int __nf_nat_mangle_tcp_packet(struct sk_buff *skb, struct nf_conn *ct, 17 struct nf_conn *ct, in nf_nat_mangle_tcp_packet() 30 int nf_nat_mangle_udp_packet(struct sk_buff *skb, struct nf_conn *ct, 38 void nf_nat_follow_master(struct nf_conn *ct, struct nf_conntrack_expect *this);
|
D | nf_conntrack_synproxy.h | 12 static inline struct nf_conn_synproxy *nfct_synproxy(const struct nf_conn *ct) in nfct_synproxy() 21 static inline struct nf_conn_synproxy *nfct_synproxy_ext_add(struct nf_conn *ct) in nfct_synproxy_ext_add() 39 struct nf_conn *tmpl; 71 struct tcphdr *th, struct nf_conn *ct,
|
D | nf_nat_core.h | 10 unsigned int nf_nat_packet(struct nf_conn *ct, enum ip_conntrack_info ctinfo, 15 static inline int nf_nat_initialized(struct nf_conn *ct, in nf_nat_initialized() 27 (*nfnetlink_parse_nat_setup_hook)(struct nf_conn *ct,
|
D | nf_conntrack_expect.h | 24 void (*expectfn)(struct nf_conn *new, 31 struct nf_conn *master; 97 void nf_ct_remove_expectations(struct nf_conn *ct); 102 struct nf_conntrack_expect *nf_ct_expect_alloc(struct nf_conn *me);
|
D | nf_conntrack_acct.h | 27 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,
|
D | nf_conntrack_timeout.h | 29 struct nf_conn_timeout *nf_ct_timeout_find(const struct nf_conn *ct) in nf_ct_timeout_find() 39 struct nf_conn_timeout *nf_ct_timeout_ext_add(struct nf_conn *ct, in nf_ct_timeout_ext_add() 59 nf_ct_timeout_lookup(struct net *net, struct nf_conn *ct, in nf_ct_timeout_lookup()
|
D | nf_conntrack_timestamp.h | 16 struct nf_conn_tstamp *nf_conn_tstamp_find(const struct nf_conn *ct) in nf_conn_tstamp_find() 26 struct nf_conn_tstamp *nf_ct_tstamp_ext_add(struct nf_conn *ct, gfp_t gfp) in nf_ct_tstamp_ext_add()
|
D | nf_nat_l4proto.h | 38 const struct nf_conn *ct); 67 const struct nf_conn *ct, u16 *rover);
|
D | nf_conntrack_core.h | 63 struct nf_conn *ct = (struct nf_conn *)skb->nfct; in nf_conntrack_confirm()
|
D | nf_conntrack_zones.h | 13 static inline u16 nf_ct_zone(const struct nf_conn *ct) in nf_ct_zone()
|
/linux-4.1.27/include/linux/netfilter/ |
D | nf_conntrack_h323.h | 30 struct nf_conn; 32 int get_h225_addr(struct nf_conn *ct, unsigned char *data, 35 void nf_conntrack_h245_expect(struct nf_conn *new, 37 void nf_conntrack_q931_expect(struct nf_conn *new, 50 struct nf_conn *ct, 55 struct nf_conn *ct, 60 struct nf_conn *ct, 68 extern int (*nat_t120_hook) (struct sk_buff *skb, struct nf_conn *ct, 74 extern int (*nat_h245_hook) (struct sk_buff *skb, struct nf_conn *ct, 81 struct nf_conn *ct, [all …]
|
D | nf_conntrack_sip.h | 68 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,
|
D | nf_conntrack_proto_gre.h | 75 struct nf_conn; 84 int nf_ct_gre_keymap_add(struct nf_conn *ct, enum ip_conntrack_dir dir, 88 void nf_ct_gre_keymap_destroy(struct nf_conn *ct);
|
D | nf_conntrack_pptp.h | 300 struct nf_conn; 305 struct nf_conn *ct, enum ip_conntrack_info ctinfo, 312 struct nf_conn *ct, enum ip_conntrack_info ctinfo, 322 (*nf_nat_pptp_hook_expectfn)(struct nf_conn *ct,
|
D | nf_conntrack_snmp.h | 6 struct nf_conn *ct,
|
/linux-4.1.27/net/netfilter/ |
D | nfnetlink_queue_ct.c | 17 struct nf_conn *nfqnl_ct_get(struct sk_buff *entskb, size_t *size, in nfqnl_ct_get() 21 struct nf_conn *ct; in nfqnl_ct_get() 38 struct nf_conn * 43 struct nf_conn *ct; in nfqnl_ct_parse() 57 int nfqnl_ct_put(struct sk_buff *skb, struct nf_conn *ct, in nfqnl_ct_put() 87 void nfqnl_ct_seq_adjust(struct sk_buff *skb, struct nf_conn *ct, in nfqnl_ct_seq_adjust() 100 int nfqnl_attach_expect(struct nf_conn *ct, const struct nlattr *attr, in nfqnl_attach_expect()
|
D | nf_conntrack_core.c | 58 int (*nfnetlink_parse_nat_setup_hook)(struct nf_conn *ct, 123 DEFINE_PER_CPU(struct nf_conn, nf_conntrack_untracked); 236 clean_from_lists(struct nf_conn *ct) in clean_from_lists() 247 static void nf_ct_add_to_dying_list(struct nf_conn *ct) in nf_ct_add_to_dying_list() 262 static void nf_ct_add_to_unconfirmed_list(struct nf_conn *ct) in nf_ct_add_to_unconfirmed_list() 277 static void nf_ct_del_from_dying_or_unconfirmed_list(struct nf_conn *ct) in nf_ct_del_from_dying_or_unconfirmed_list() 293 struct nf_conn *ct = (struct nf_conn *)nfct; in destroy_conntrack() 328 static void nf_ct_delete_from_lists(struct nf_conn *ct) in nf_ct_delete_from_lists() 355 bool nf_ct_delete(struct nf_conn *ct, u32 portid, int report) in nf_ct_delete() 385 nf_ct_delete((struct nf_conn *)ul_conntrack, 0, 0); in death_by_timeout() [all …]
|
D | nf_nat_core.c | 59 const struct nf_conn *ct; in __nf_nat_decode_session() 136 const struct nf_conn *ignored_conntrack) in nf_nat_used_tuple() 175 same_src(const struct nf_conn *ct, in same_src() 197 const struct nf_conn *ct; in find_appropriate_src() 223 const struct nf_conn *ct, in find_best_ips_proto() 297 struct nf_conn *ct, in get_unique_tuple() 362 struct nf_conn_nat *nf_ct_nat_ext_add(struct nf_conn *ct) in nf_ct_nat_ext_add() 376 nf_nat_setup_info(struct nf_conn *ct, in nf_nat_setup_info() 445 __nf_nat_alloc_null_binding(struct nf_conn *ct, enum nf_nat_manip_type manip) in __nf_nat_alloc_null_binding() 464 nf_nat_alloc_null_binding(struct nf_conn *ct, unsigned int hooknum) in nf_nat_alloc_null_binding() [all …]
|
D | nf_conntrack_sip.c | 58 static int string_len(const struct nf_conn *ct, const char *dptr, in string_len() 70 static int digits_len(const struct nf_conn *ct, const char *dptr, in digits_len() 101 static int callid_len(const struct nf_conn *ct, const char *dptr, in callid_len() 120 static int media_len(const struct nf_conn *ct, const char *dptr, in media_len() 134 static int sip_parse_addr(const struct nf_conn *ct, const char *cp, in sip_parse_addr() 176 static int epaddr_len(const struct nf_conn *ct, const char *dptr, in epaddr_len() 196 static int skp_epaddr_len(const struct nf_conn *ct, const char *dptr, in skp_epaddr_len() 228 int ct_sip_parse_request(const struct nf_conn *ct, in ct_sip_parse_request() 359 int ct_sip_get_header(const struct nf_conn *ct, const char *dptr, in ct_sip_get_header() 427 static int ct_sip_next_header(const struct nf_conn *ct, const char *dptr, in ct_sip_next_header() [all …]
|
D | nf_conntrack_h323_main.c | 64 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, 120 struct nf_conn *ct, enum ip_conntrack_info ctinfo, in get_tpkt_data() 223 static int get_h245_addr(struct nf_conn *ct, const unsigned char *data, in get_h245_addr() 258 static int expect_rtp_rtcp(struct sk_buff *skb, struct nf_conn *ct, in expect_rtp_rtcp() [all …]
|
D | nf_conntrack_netlink.c | 131 ctnetlink_dump_status(struct sk_buff *skb, const struct nf_conn *ct) in ctnetlink_dump_status() 142 ctnetlink_dump_timeout(struct sk_buff *skb, const struct nf_conn *ct) in ctnetlink_dump_timeout() 158 ctnetlink_dump_protoinfo(struct sk_buff *skb, struct nf_conn *ct) in ctnetlink_dump_protoinfo() 183 ctnetlink_dump_helpinfo(struct sk_buff *skb, const struct nf_conn *ct) in ctnetlink_dump_helpinfo() 247 ctnetlink_dump_acct(struct sk_buff *skb, const struct nf_conn *ct, int type) in ctnetlink_dump_acct() 263 ctnetlink_dump_timestamp(struct sk_buff *skb, const struct nf_conn *ct) in ctnetlink_dump_timestamp() 290 ctnetlink_dump_mark(struct sk_buff *skb, const struct nf_conn *ct) in ctnetlink_dump_mark() 305 ctnetlink_dump_secctx(struct sk_buff *skb, const struct nf_conn *ct) in ctnetlink_dump_secctx() 334 static int ctnetlink_label_size(const struct nf_conn *ct) in ctnetlink_label_size() 344 ctnetlink_dump_labels(struct sk_buff *skb, const struct nf_conn *ct) in ctnetlink_dump_labels() [all …]
|
D | xt_cluster.c | 19 static inline u32 nf_ct_orig_ipv4_src(const struct nf_conn *ct) in nf_ct_orig_ipv4_src() 24 static inline const u32 *nf_ct_orig_ipv6_src(const struct nf_conn *ct) in nf_ct_orig_ipv6_src() 42 xt_cluster_hash(const struct nf_conn *ct, in xt_cluster_hash() 94 const struct nf_conn *ct; in xt_cluster_mt()
|
D | xt_CT.c | 23 static inline int xt_ct_target(struct sk_buff *skb, struct nf_conn *ct) in xt_ct_target() 43 struct nf_conn *ct = info->ct; in xt_ct_target_v0() 52 struct nf_conn *ct = info->ct; in xt_ct_target_v1() 76 xt_ct_set_helper(struct nf_conn *ct, const char *helper_name, in xt_ct_set_helper() 119 xt_ct_set_timeout(struct nf_conn *ct, const struct xt_tgchk_param *par, in xt_ct_set_timeout() 188 struct nf_conn *ct; in xt_ct_tg_check() 289 static void xt_ct_destroy_timeout(struct nf_conn *ct) in xt_ct_destroy_timeout() 310 struct nf_conn *ct = info->ct; in xt_ct_tg_destroy()
|
D | xt_conntrack.c | 43 conntrack_mt_origsrc(const struct nf_conn *ct, in conntrack_mt_origsrc() 52 conntrack_mt_origdst(const struct nf_conn *ct, in conntrack_mt_origdst() 61 conntrack_mt_replsrc(const struct nf_conn *ct, in conntrack_mt_replsrc() 70 conntrack_mt_repldst(const struct nf_conn *ct, in conntrack_mt_repldst() 80 const struct nf_conn *ct) in ct_proto_port_check() 124 const struct nf_conn *ct) in ct_proto_port_check_v3() 170 const struct nf_conn *ct; in conntrack_mt()
|
D | nf_conntrack_seqadj.c | 9 int nf_ct_seqadj_init(struct nf_conn *ct, enum ip_conntrack_info ctinfo, in nf_ct_seqadj_init() 29 int nf_ct_seqadj_set(struct nf_conn *ct, enum ip_conntrack_info ctinfo, in nf_ct_seqadj_set() 60 struct nf_conn *ct, enum ip_conntrack_info ctinfo, in nf_ct_tcp_seqadj_set() 119 struct nf_conn *ct, in nf_ct_sack_adjust() 163 struct nf_conn *ct, enum ip_conntrack_info ctinfo, in nf_ct_seq_adjust() 213 s32 nf_ct_seq_offset(const struct nf_conn *ct, in nf_ct_seq_offset()
|
D | nf_nat_sip.c | 39 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in mangle_packet() 68 static int sip_sprintf_addr(const struct nf_conn *ct, char *buffer, in sip_sprintf_addr() 81 static int sip_sprintf_addr_port(const struct nf_conn *ct, char *buffer, in sip_sprintf_addr_port() 97 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in map_addr() 131 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in map_sip_addr() 148 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in nf_nat_sip() 305 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in nf_nat_sip_seq_adjust() 316 static void nf_nat_sip_expected(struct nf_conn *ct, in nf_nat_sip_expected() 349 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in nf_nat_sip_expect() 420 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in mangle_content_len() [all …]
|
D | nf_conntrack_pptp.c | 49 struct nf_conn *ct, enum ip_conntrack_info ctinfo, 56 struct nf_conn *ct, enum ip_conntrack_info ctinfo, 68 (*nf_nat_pptp_hook_expectfn)(struct nf_conn *ct, 102 static void pptp_expectfn(struct nf_conn *ct, in pptp_expectfn() 142 static int destroy_sibling_or_exp(struct net *net, struct nf_conn *ct, in destroy_sibling_or_exp() 147 struct nf_conn *sibling; in destroy_sibling_or_exp() 176 static void pptp_destroy_siblings(struct nf_conn *ct) in pptp_destroy_siblings() 202 static int exp_gre(struct nf_conn *ct, __be16 callid, __be16 peer_callid) in exp_gre() 271 struct nf_conn *ct, in pptp_inbound_pkt() 399 struct nf_conn *ct, in pptp_outbound_pkt() [all …]
|
D | xt_nat.c | 48 struct nf_conn *ct; in xt_snat_target_v0() 65 struct nf_conn *ct; in xt_dnat_target_v0() 80 struct nf_conn *ct; in xt_snat_target_v1() 95 struct nf_conn *ct; in xt_dnat_target_v1()
|
D | nf_conntrack_labels.c | 23 bool nf_connlabel_match(const struct nf_conn *ct, u16 bit) in nf_connlabel_match() 34 int nf_connlabel_set(struct nf_conn *ct, u16 bit) in nf_connlabel_set() 62 int nf_connlabels_replace(struct nf_conn *ct, in nf_connlabels_replace()
|
D | nf_nat_helper.c | 63 if (nf_ct_l3num((struct nf_conn *)skb->nfct) == NFPROTO_IPV4) { in mangle_contents() 93 struct nf_conn *ct, in __nf_nat_mangle_tcp_packet() 147 struct nf_conn *ct, in nf_nat_mangle_udp_packet() 191 void nf_nat_follow_master(struct nf_conn *ct, in nf_nat_follow_master()
|
D | nf_conntrack_proto_gre.c | 115 int nf_ct_gre_keymap_add(struct nf_conn *ct, enum ip_conntrack_dir dir, in nf_ct_gre_keymap_add() 157 void nf_ct_gre_keymap_destroy(struct nf_conn *ct) in nf_ct_gre_keymap_destroy() 238 static void gre_print_conntrack(struct seq_file *s, struct nf_conn *ct) in gre_print_conntrack() 251 static int gre_packet(struct nf_conn *ct, in gre_packet() 275 static bool gre_new(struct nf_conn *ct, const struct sk_buff *skb, in gre_new() 291 static void gre_destroy(struct nf_conn *ct) in gre_destroy() 293 struct nf_conn *master = ct->master; in gre_destroy()
|
D | nf_conntrack_snmp.c | 34 struct nf_conn *ct, 39 struct nf_conn *ct, enum ip_conntrack_info ctinfo) in snmp_conntrack_help()
|
D | nf_conntrack_helper.c | 171 nf_ct_helper_ext_add(struct nf_conn *ct, in nf_ct_helper_ext_add() 186 int __nf_ct_try_assign_helper(struct nf_conn *ct, struct nf_conn *tmpl, in __nf_ct_try_assign_helper() 257 struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(i); in unhelp() 267 void nf_ct_helper_destroy(struct nf_conn *ct) in nf_ct_helper_destroy() 336 void nf_ct_helper_log(struct sk_buff *skb, const struct nf_conn *ct, in nf_ct_helper_log()
|
D | xt_CONNSECMARK.c | 39 struct nf_conn *ct; in secmark_save() 57 const struct nf_conn *ct; in secmark_restore()
|
D | nf_nat_redirect.c | 36 struct nf_conn *ct; in nf_nat_redirect_ipv4() 91 struct nf_conn *ct; in nf_nat_redirect_ipv6()
|
D | nf_nat_ftp.c | 29 static int nf_nat_ftp_fmt_cmd(struct nf_conn *ct, enum nf_ct_ftp_type type, in nf_nat_ftp_fmt_cmd() 70 struct nf_conn *ct = exp->master; in nf_nat_ftp()
|
D | nf_conntrack_standalone.c | 123 static void ct_show_secctx(struct seq_file *s, const struct nf_conn *ct) in ct_show_secctx() 138 static inline void ct_show_secctx(struct seq_file *s, const struct nf_conn *ct) in ct_show_secctx() 144 static void ct_show_delta_time(struct seq_file *s, const struct nf_conn *ct) in ct_show_delta_time() 165 ct_show_delta_time(struct seq_file *s, const struct nf_conn *ct) in ct_show_delta_time() 174 struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(hash); in ct_seq_show()
|
D | xt_connmark.c | 43 struct nf_conn *ct; in connmark_tg() 97 const struct nf_conn *ct; in connmark_mt()
|
D | nf_conntrack_ecache.c | 42 struct nf_conn *refs[16]; in ecache_work_evict_list() 51 struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(h); in ecache_work_evict_list() 118 void nf_ct_deliver_cached_events(struct nf_conn *ct) in nf_ct_deliver_cached_events()
|
D | nf_conntrack_proto_generic.c | 77 static int generic_packet(struct nf_conn *ct, in generic_packet() 90 static bool generic_new(struct nf_conn *ct, const struct sk_buff *skb, in generic_new()
|
D | nf_nat_proto_unknown.c | 32 const struct nf_conn *ct) in unknown_unique_tuple()
|
D | xt_NETMAP.c | 26 struct nf_conn *ct; in netmap_tg6() 69 struct nf_conn *ct; in netmap_tg4()
|
D | nf_conntrack_proto_udp.c | 80 static int udp_packet(struct nf_conn *ct, in udp_packet() 104 static bool udp_new(struct nf_conn *ct, const struct sk_buff *skb, in udp_new() 110 static int udp_error(struct net *net, struct nf_conn *tmpl, struct sk_buff *skb, in udp_error()
|
D | nf_conntrack_proto_udplite.c | 88 static int udplite_packet(struct nf_conn *ct, in udplite_packet() 112 static bool udplite_new(struct nf_conn *ct, const struct sk_buff *skb, in udplite_new() 118 static int udplite_error(struct net *net, struct nf_conn *tmpl, in udplite_error()
|
D | nf_conntrack_proto_dccp.c | 422 static bool dccp_new(struct nf_conn *ct, const struct sk_buff *skb, in dccp_new() 478 static int dccp_packet(struct nf_conn *ct, const struct sk_buff *skb, in dccp_packet() 570 static int dccp_error(struct net *net, struct nf_conn *tmpl, in dccp_error() 629 static void dccp_print_conntrack(struct seq_file *s, struct nf_conn *ct) in dccp_print_conntrack() 636 struct nf_conn *ct) in dccp_to_nlattr() 665 static int nlattr_to_dccp(struct nlattr *cda[], struct nf_conn *ct) in nlattr_to_dccp()
|
D | nf_nat_tftp.c | 25 const struct nf_conn *ct = exp->master; in help()
|
D | nf_conntrack_extend.c | 22 void __nf_ct_ext_destroy(struct nf_conn *ct) in __nf_ct_ext_destroy() 72 void *__nf_ct_ext_add_length(struct nf_conn *ct, enum nf_ct_ext_id id, in __nf_ct_ext_add_length()
|
D | nf_conntrack_netbios_ns.c | 44 struct nf_conn *ct, enum ip_conntrack_info ctinfo) in netbios_ns_help()
|
D | nft_ct.c | 40 const struct nf_conn *ct; in nft_ct_get_eval() 162 struct nf_conn *ct; in nft_ct_set_eval() 334 len = FIELD_SIZEOF(struct nf_conn, mark); in nft_ct_set_init()
|
D | nf_conntrack_proto_sctp.c | 178 static void sctp_print_conntrack(struct seq_file *s, struct nf_conn *ct) in sctp_print_conntrack() 196 static int do_basic_checks(struct nf_conn *ct, in do_basic_checks() 302 static int sctp_packet(struct nf_conn *ct, in sctp_packet() 412 static bool sctp_new(struct nf_conn *ct, const struct sk_buff *skb, in sctp_new() 490 struct nf_conn *ct) in sctp_to_nlattr() 523 static int nlattr_to_sctp(struct nlattr *cda[], struct nf_conn *ct) in nlattr_to_sctp()
|
D | xt_state.c | 29 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in state_mt()
|
D | nf_nat_proto_udp.c | 27 const struct nf_conn *ct) in udp_unique_tuple()
|
D | nf_nat_proto_tcp.c | 28 const struct nf_conn *ct) in tcp_unique_tuple()
|
D | xt_connlimit.c | 89 static inline bool already_closed(const struct nf_conn *conn) in already_closed() 143 struct nf_conn *found_ct; in check_hlist() 325 const struct nf_conn *ct; in connlimit_mt()
|
D | nf_nat_proto_sctp.c | 24 const struct nf_conn *ct) in sctp_unique_tuple()
|
D | xt_helper.c | 30 const struct nf_conn *ct; in helper_mt()
|
D | nf_conntrack_expect.c | 185 void nf_ct_remove_expectations(struct nf_conn *ct) in nf_ct_remove_expectations() 250 struct nf_conntrack_expect *nf_ct_expect_alloc(struct nf_conn *me) in nf_ct_expect_alloc() 368 static void evict_oldest_expect(struct nf_conn *master, in evict_oldest_expect() 389 struct nf_conn *master = expect->master; in __nf_ct_expect_check()
|
D | nf_conntrack_broadcast.c | 24 struct nf_conn *ct, in nf_conntrack_broadcast_help()
|
D | nf_nat_irc.c | 37 struct nf_conn *ct = exp->master; in help()
|
D | nf_nat_proto_dccp.c | 30 const struct nf_conn *ct) in dccp_unique_tuple()
|
D | xt_connlabel.c | 26 struct nf_conn *ct; in connlabel_mt()
|
D | nf_nat_proto_udplite.c | 27 const struct nf_conn *ct) in udplite_unique_tuple()
|
D | nf_conntrack_acct.c | 40 seq_print_acct(struct seq_file *s, const struct nf_conn *ct, int dir) in seq_print_acct()
|
D | nf_nat_proto_common.c | 41 const struct nf_conn *ct, in nf_nat_l4proto_unique_tuple()
|
D | nf_synproxy_core.c | 183 struct nf_conn *ct, in synproxy_tstamp_adjust() 352 struct nf_conn *ct; in synproxy_net_init()
|
D | nfnetlink_cthelper.c | 37 struct nf_conn *ct, enum ip_conntrack_info ctinfo) in nfnl_userspace_cthelper() 90 nfnl_cthelper_from_nlattr(struct nlattr *attr, struct nf_conn *ct) in nfnl_cthelper_from_nlattr() 105 nfnl_cthelper_to_nlattr(struct sk_buff *skb, const struct nf_conn *ct) in nfnl_cthelper_to_nlattr()
|
D | nf_conntrack_ftp.c | 360 static void update_nl_seq(struct nf_conn *ct, u32 nl_seq, in update_nl_seq() 387 struct nf_conn *ct, in help() 560 static int nf_ct_ftp_from_nlattr(struct nlattr *attr, struct nf_conn *ct) in nf_ct_ftp_from_nlattr()
|
D | xt_ipvs.c | 116 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in ipvs_mt()
|
D | nf_conntrack_proto.c | 149 static int kill_l3proto(struct nf_conn *i, void *data) in kill_l3proto() 154 static int kill_l4proto(struct nf_conn *i, void *data) in kill_l4proto()
|
D | nf_conntrack_proto_tcp.c | 314 static void tcp_print_conntrack(struct seq_file *s, struct nf_conn *ct) in tcp_print_conntrack() 500 static bool tcp_in_window(const struct nf_conn *ct, in tcp_in_window() 752 static int tcp_error(struct net *net, struct nf_conn *tmpl, in tcp_error() 812 static int tcp_packet(struct nf_conn *ct, in tcp_packet() 1103 static bool tcp_new(struct nf_conn *ct, const struct sk_buff *skb, in tcp_new() 1184 struct nf_conn *ct) in tcp_to_nlattr() 1229 static int nlattr_to_tcp(struct nlattr *cda[], struct nf_conn *ct) in nlattr_to_tcp()
|
D | xt_connbytes.c | 24 const struct nf_conn *ct; in connbytes_mt()
|
D | nf_conntrack_tftp.c | 40 struct nf_conn *ct, in tftp_help()
|
D | nf_conntrack_sane.c | 63 struct nf_conn *ct, in help()
|
D | nf_conntrack_amanda.c | 88 struct nf_conn *ct, in amanda_help()
|
D | nf_conntrack_irc.c | 107 struct nf_conn *ct, enum ip_conntrack_info ctinfo) in help()
|
D | nft_nat.c | 45 struct nf_conn *ct = nf_ct_get(pkt->skb, &ctinfo); in nft_nat_eval()
|
D | xt_HMARK.c | 83 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in hmark_ct_set_htuple()
|
D | xt_socket.c | 154 struct nf_conn const *ct; in xt_socket_lookup_slow_v4()
|
D | nfnetlink_queue_core.c | 297 struct nf_conn *ct = NULL; in nfqnl_build_packet_message() 991 struct nf_conn *ct = NULL; in nfqnl_recv_verdict()
|
/linux-4.1.27/include/uapi/linux/netfilter/ |
D | xt_CT.h | 20 struct nf_conn *ct __attribute__((aligned(8))); 32 struct nf_conn *ct __attribute__((aligned(8)));
|
/linux-4.1.27/net/ipv4/netfilter/ |
D | nf_nat_l3proto_ipv4.c | 33 const struct nf_conn *ct, in nf_nat_ipv4_decode_session() 191 struct nf_conn *ct, in nf_nat_icmp_reply_translation() 263 struct nf_conn *ct)) in nf_nat_ipv4_fn() 265 struct nf_conn *ct; in nf_nat_ipv4_fn() 353 struct nf_conn *ct)) in nf_nat_ipv4_in() 373 struct nf_conn *ct)) in nf_nat_ipv4_out() 376 const struct nf_conn *ct; in nf_nat_ipv4_out() 415 struct nf_conn *ct)) in nf_nat_ipv4_local_fn() 417 const struct nf_conn *ct; in nf_nat_ipv4_local_fn()
|
D | nf_nat_h323.c | 29 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in set_addr() 93 static int set_sig_addr(struct sk_buff *skb, struct nf_conn *ct, in set_sig_addr() 146 static int set_ras_addr(struct sk_buff *skb, struct nf_conn *ct, in set_ras_addr() 175 static int nat_rtp_rtcp(struct sk_buff *skb, struct nf_conn *ct, in nat_rtp_rtcp() 281 static int nat_t120(struct sk_buff *skb, struct nf_conn *ct, in nat_t120() 332 static int nat_h245(struct sk_buff *skb, struct nf_conn *ct, in nat_h245() 395 static void ip_nat_q931_expect(struct nf_conn *new, in ip_nat_q931_expect() 423 static int nat_q931(struct sk_buff *skb, struct nf_conn *ct, in nat_q931() 494 static void ip_nat_callforwarding_expect(struct nf_conn *new, in ip_nat_callforwarding_expect() 516 static int nat_callforwarding(struct sk_buff *skb, struct nf_conn *ct, in nat_callforwarding()
|
D | nf_nat_pptp.c | 42 static void pptp_nat_expected(struct nf_conn *ct, in pptp_nat_expected() 46 const struct nf_conn *master = ct->master; in pptp_nat_expected() 115 struct nf_conn *ct, in pptp_outbound_pkt() 193 const struct nf_conn *ct = expect_orig->master; in pptp_exp_gre() 219 struct nf_conn *ct, in pptp_inbound_pkt()
|
D | nf_defrag_ipv4.c | 50 zone = nf_ct_zone((struct nf_conn *)skb->nfct); in nf_ct_defrag_user() 79 if (skb->nfct && !nf_ct_is_template((struct nf_conn *)skb->nfct)) in ipv4_conntrack_defrag()
|
D | nf_nat_masquerade_ipv4.c | 30 struct nf_conn *ct; in nf_nat_masquerade_ipv4() 75 static int device_cmp(struct nf_conn *i, void *ifindex) in device_cmp()
|
D | nf_conntrack_proto_icmp.c | 90 static int icmp_packet(struct nf_conn *ct, in icmp_packet() 107 static bool icmp_new(struct nf_conn *ct, const struct sk_buff *skb, in icmp_new() 130 icmp_error_message(struct net *net, struct nf_conn *tmpl, struct sk_buff *skb, in icmp_error_message() 180 icmp_error(struct net *net, struct nf_conn *tmpl, in icmp_error()
|
D | nft_chain_nat_ipv4.c | 32 struct nf_conn *ct) in nft_nat_do_chain()
|
D | nf_conntrack_l3proto_ipv4_compat.c | 97 static void ct_show_secctx(struct seq_file *s, const struct nf_conn *ct) in ct_show_secctx() 112 static inline void ct_show_secctx(struct seq_file *s, const struct nf_conn *ct) in ct_show_secctx() 120 struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(hash); in ct_seq_show()
|
D | nf_conntrack_l3proto_ipv4.c | 99 struct nf_conn *ct; in ipv4_helper() 126 struct nf_conn *ct; in ipv4_confirm() 286 struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(h); in getorigdst()
|
D | nf_nat_proto_icmp.c | 35 const struct nf_conn *ct) in icmp_unique_tuple()
|
D | nf_nat_proto_gre.c | 46 const struct nf_conn *ct) in gre_unique_tuple()
|
D | iptable_nat.c | 34 struct nf_conn *ct) in iptable_nat_do_chain()
|
D | nf_nat_snmp_basic.c | 1180 static int snmp_translate(struct nf_conn *ct, in snmp_translate() 1219 struct nf_conn *ct, in help()
|
D | ipt_SYNPROXY.c | 307 struct nf_conn *ct; in ipv4_synproxy_hook()
|
D | ipt_CLUSTERIP.c | 305 struct nf_conn *ct; in clusterip_tg()
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | nf_nat_l3proto_ipv6.c | 32 const struct nf_conn *ct, in nf_nat_ipv6_decode_session() 197 struct nf_conn *ct, in nf_nat_icmpv6_reply_translation() 270 struct nf_conn *ct)) in nf_nat_ipv6_fn() 272 struct nf_conn *ct; in nf_nat_ipv6_fn() 361 struct nf_conn *ct)) in nf_nat_ipv6_in() 381 struct nf_conn *ct)) in nf_nat_ipv6_out() 384 const struct nf_conn *ct; in nf_nat_ipv6_out() 422 struct nf_conn *ct)) in nf_nat_ipv6_local_fn() 424 const struct nf_conn *ct; in nf_nat_ipv6_local_fn()
|
D | nf_defrag_ipv6_hooks.c | 40 zone = nf_ct_zone((struct nf_conn *)skb->nfct); in nf_ct6_defrag_user() 63 if (skb->nfct && !nf_ct_is_template((struct nf_conn *)skb->nfct)) in ipv6_defrag()
|
D | nf_nat_masquerade_ipv6.c | 30 struct nf_conn *ct; in nf_nat_masquerade_ipv6() 53 static int device_cmp(struct nf_conn *ct, void *ifindex) in device_cmp()
|
D | nf_conntrack_proto_icmpv6.c | 102 static int icmpv6_packet(struct nf_conn *ct, in icmpv6_packet() 119 static bool icmpv6_new(struct nf_conn *ct, const struct sk_buff *skb, in icmpv6_new() 144 icmpv6_error_message(struct net *net, struct nf_conn *tmpl, in icmpv6_error_message() 196 icmpv6_error(struct net *net, struct nf_conn *tmpl, in icmpv6_error()
|
D | nft_chain_nat_ipv6.c | 30 struct nf_conn *ct) in nft_nat_do_chain()
|
D | nf_conntrack_l3proto_ipv6.c | 102 struct nf_conn *ct; in ipv6_helper() 138 struct nf_conn *ct; in ipv6_confirm() 240 struct nf_conn *ct; in ipv6_getorigdst()
|
D | nf_nat_proto_icmpv6.c | 37 const struct nf_conn *ct) in icmpv6_unique_tuple()
|
D | ip6table_nat.c | 36 struct nf_conn *ct) in ip6table_nat_do_chain()
|
D | ip6t_SYNPROXY.c | 45 struct net *net = nf_ct_net((struct nf_conn *)nfct); in synproxy_send_tcp() 322 struct nf_conn *ct; in ipv6_synproxy_hook()
|
/linux-4.1.27/include/linux/ |
D | netfilter.h | 361 struct nf_conn; 366 size_t (*build_size)(const struct nf_conn *ct); 367 int (*build)(struct sk_buff *skb, struct nf_conn *ct); 368 int (*parse)(const struct nlattr *attr, struct nf_conn *ct); 369 int (*attach_expect)(const struct nlattr *attr, struct nf_conn *ct, 371 void (*seq_adjust)(struct sk_buff *skb, struct nf_conn *ct,
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_nfct.c | 85 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in ip_vs_update_conntrack() 143 static void ip_vs_nfct_expect_callback(struct nf_conn *ct, in ip_vs_nfct_expect_callback() 225 void ip_vs_nfct_expect_related(struct sk_buff *skb, struct nf_conn *ct, in ip_vs_nfct_expect_related() 259 struct nf_conn *ct; in ip_vs_conn_drop_conntrack()
|
D | ip_vs_xmit.c | 712 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in ip_vs_nat_xmit() 801 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in ip_vs_nat_xmit_v6() 1277 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in ip_vs_icmp_xmit() 1368 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in ip_vs_icmp_xmit_v6()
|
D | ip_vs_ftp.c | 183 struct nf_conn *ct; in ip_vs_ftp_out()
|
/linux-4.1.27/net/sched/ |
D | act_connmark.c | 40 struct nf_conn *c; in tcf_connmark()
|
D | cls_flow.c | 132 const struct nf_conn *ct = nf_ct_get(skb, &ctinfo); \
|
/linux-4.1.27/include/net/ |
D | ip_vs.h | 1533 struct nf_conn *ct = nf_ct_get(skb, &ctinfo); in ip_vs_notrack() 1560 void ip_vs_nfct_expect_related(struct sk_buff *skb, struct nf_conn *ct,
|