Home
last modified time | relevance | path

Searched refs:xt_entry_match (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/include/uapi/linux/netfilter/
Dx_tables.h11 struct xt_entry_match { struct
133 struct xt_entry_match *__m; \
181 for ((pos) = (struct xt_entry_match *)entry->elems; \
182 (pos) < (struct xt_entry_match *)((char *)(entry) + \
184 (pos) = (struct xt_entry_match *)((char *)(pos) + \
/Linux-v4.19/include/linux/netfilter/
Dx_tables.h297 int xt_match_to_user(const struct xt_entry_match *m,
298 struct xt_entry_match __user *u);
519 void xt_compat_match_from_user(struct xt_entry_match *m, void **dstptr,
521 int xt_compat_match_to_user(const struct xt_entry_match *m,
/Linux-v4.19/net/netfilter/
Dxt_TCPMSS.c254 static inline bool find_syn_match(const struct xt_entry_match *m) in find_syn_match()
270 const struct xt_entry_match *ematch; in tcpmss_tg4_check()
294 const struct xt_entry_match *ematch; in tcpmss_tg6_check()
Dx_tables.c317 int xt_match_to_user(const struct xt_entry_match *m, in xt_match_to_user()
318 struct xt_entry_match __user *u) in xt_match_to_user()
531 const struct xt_entry_match *pos; in xt_check_entry_match()
537 pos = (struct xt_entry_match *)match; in xt_check_entry_match()
542 if (length < (int)sizeof(struct xt_entry_match)) in xt_check_entry_match()
545 if (pos->u.match_size < sizeof(struct xt_entry_match)) in xt_check_entry_match()
734 void xt_compat_match_from_user(struct xt_entry_match *m, void **dstptr, in xt_compat_match_from_user()
770 int xt_compat_match_to_user(const struct xt_entry_match *m, in xt_compat_match_to_user()
847 BUILD_BUG_ON(sizeof(struct compat_xt_entry_match) != sizeof(struct xt_entry_match)); in xt_compat_check_entry_offsets()
938 __alignof__(struct xt_entry_match)); in xt_check_entry_offsets()
/Linux-v4.19/net/ipv6/netfilter/
Dip6_tables.c305 const struct xt_entry_match *ematch; in ip6t_do_table()
472 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match()
485 static int check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in check_match()
497 find_check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in find_check_match()
547 struct xt_entry_match *ematch; in find_check_entry()
661 struct xt_entry_match *ematch; in cleanup_entry()
851 const struct xt_entry_match *m; in copy_entries_to_user()
913 const struct xt_entry_match *ematch; in compat_calc_entry()
1245 const struct xt_entry_match *ematch; in compat_copy_entry_to_user()
1276 compat_find_calc_match(struct xt_entry_match *m, in compat_find_calc_match()
[all …]
/Linux-v4.19/net/ipv4/netfilter/
Dip_tables.c283 const struct xt_entry_match *ematch; in ipt_do_table()
454 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match()
468 check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in check_match()
480 find_check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in find_check_match()
528 struct xt_entry_match *ematch; in find_check_entry()
644 struct xt_entry_match *ematch; in cleanup_entry()
835 const struct xt_entry_match *m; in copy_entries_to_user()
897 const struct xt_entry_match *ematch; in compat_calc_entry()
1229 const struct xt_entry_match *ematch; in compat_copy_entry_to_user()
1260 compat_find_calc_match(struct xt_entry_match *m, in compat_find_calc_match()
[all …]
/Linux-v4.19/include/uapi/linux/netfilter_ipv4/
Dip_tables.h33 #define ipt_entry_match xt_entry_match
/Linux-v4.19/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h33 #define ip6t_entry_match xt_entry_match