Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/include/linux/netfilter/
Dx_tables.h297 int xt_match_to_user(const struct xt_entry_match *m,
298 struct xt_entry_match __user *u);
522 void xt_compat_match_from_user(struct xt_entry_match *m, void **dstptr,
524 int xt_compat_match_to_user(const struct xt_entry_match *m,
/Linux-v6.6/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.c332 int xt_match_to_user(const struct xt_entry_match *m, in xt_match_to_user()
333 struct xt_entry_match __user *u) in xt_match_to_user()
548 const struct xt_entry_match *pos; in xt_check_entry_match()
554 pos = (struct xt_entry_match *)match; in xt_check_entry_match()
559 if (length < (int)sizeof(struct xt_entry_match)) in xt_check_entry_match()
562 if (pos->u.match_size < sizeof(struct xt_entry_match)) in xt_check_entry_match()
751 void xt_compat_match_from_user(struct xt_entry_match *m, void **dstptr, in xt_compat_match_from_user()
784 int xt_compat_match_to_user(const struct xt_entry_match *m, in xt_compat_match_to_user()
861 BUILD_BUG_ON(sizeof(struct compat_xt_entry_match) != sizeof(struct xt_entry_match)); in xt_compat_check_entry_offsets()
952 __alignof__(struct xt_entry_match)); in xt_check_entry_offsets()
/Linux-v6.6/net/ipv4/netfilter/
Dip_tables.c279 const struct xt_entry_match *ematch; in ipt_do_table()
450 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match()
464 check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in check_match()
476 find_check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in find_check_match()
524 struct xt_entry_match *ematch; in find_check_entry()
640 struct xt_entry_match *ematch; in cleanup_entry()
831 const struct xt_entry_match *m; in copy_entries_to_user()
893 const struct xt_entry_match *ematch; in compat_calc_entry()
1222 const struct xt_entry_match *ematch; in compat_copy_entry_to_user()
1253 compat_find_calc_match(struct xt_entry_match *m, in compat_find_calc_match()
[all …]
/Linux-v6.6/net/ipv6/netfilter/
Dip6_tables.c301 const struct xt_entry_match *ematch; in ip6t_do_table()
468 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match()
481 static int check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in check_match()
493 find_check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in find_check_match()
543 struct xt_entry_match *ematch; in find_check_entry()
657 struct xt_entry_match *ematch; in cleanup_entry()
847 const struct xt_entry_match *m; in copy_entries_to_user()
909 const struct xt_entry_match *ematch; in compat_calc_entry()
1238 const struct xt_entry_match *ematch; in compat_copy_entry_to_user()
1269 compat_find_calc_match(struct xt_entry_match *m, in compat_find_calc_match()
[all …]
/Linux-v6.6/include/uapi/linux/netfilter_ipv4/
Dip_tables.h33 #define ipt_entry_match xt_entry_match
/Linux-v6.6/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h33 #define ip6t_entry_match xt_entry_match