Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/include/linux/netfilter/
Dx_tables.h297 int xt_match_to_user(const struct xt_entry_match *m,
298 struct xt_entry_match __user *u);
518 void xt_compat_match_from_user(struct xt_entry_match *m, void **dstptr,
520 int xt_compat_match_to_user(const struct xt_entry_match *m,
/Linux-v5.4/net/netfilter/
Dxt_TCPMSS.c251 static inline bool find_syn_match(const struct xt_entry_match *m) in find_syn_match()
267 const struct xt_entry_match *ematch; in tcpmss_tg4_check()
291 const struct xt_entry_match *ematch; in tcpmss_tg6_check()
Dx_tables.c312 int xt_match_to_user(const struct xt_entry_match *m, in xt_match_to_user()
313 struct xt_entry_match __user *u) in xt_match_to_user()
526 const struct xt_entry_match *pos; in xt_check_entry_match()
532 pos = (struct xt_entry_match *)match; in xt_check_entry_match()
537 if (length < (int)sizeof(struct xt_entry_match)) in xt_check_entry_match()
540 if (pos->u.match_size < sizeof(struct xt_entry_match)) in xt_check_entry_match()
729 void xt_compat_match_from_user(struct xt_entry_match *m, void **dstptr, in xt_compat_match_from_user()
765 int xt_compat_match_to_user(const struct xt_entry_match *m, in xt_compat_match_to_user()
842 BUILD_BUG_ON(sizeof(struct compat_xt_entry_match) != sizeof(struct xt_entry_match)); in xt_compat_check_entry_offsets()
933 __alignof__(struct xt_entry_match)); in xt_check_entry_offsets()
/Linux-v5.4/net/ipv4/netfilter/
Dip_tables.c280 const struct xt_entry_match *ematch; in ipt_do_table()
451 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match()
465 check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in check_match()
477 find_check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in find_check_match()
525 struct xt_entry_match *ematch; in find_check_entry()
641 struct xt_entry_match *ematch; in cleanup_entry()
832 const struct xt_entry_match *m; in copy_entries_to_user()
894 const struct xt_entry_match *ematch; in compat_calc_entry()
1226 const struct xt_entry_match *ematch; in compat_copy_entry_to_user()
1257 compat_find_calc_match(struct xt_entry_match *m, in compat_find_calc_match()
[all …]
/Linux-v5.4/net/ipv6/netfilter/
Dip6_tables.c302 const struct xt_entry_match *ematch; in ip6t_do_table()
469 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match()
482 static int check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in check_match()
494 find_check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in find_check_match()
544 struct xt_entry_match *ematch; in find_check_entry()
658 struct xt_entry_match *ematch; in cleanup_entry()
848 const struct xt_entry_match *m; in copy_entries_to_user()
910 const struct xt_entry_match *ematch; in compat_calc_entry()
1242 const struct xt_entry_match *ematch; in compat_copy_entry_to_user()
1273 compat_find_calc_match(struct xt_entry_match *m, in compat_find_calc_match()
[all …]
/Linux-v5.4/include/uapi/linux/netfilter_ipv4/
Dip_tables.h33 #define ipt_entry_match xt_entry_match
/Linux-v5.4/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h33 #define ip6t_entry_match xt_entry_match