Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/net/ipv6/netfilter/
Dip6_tables.c303 const struct xt_entry_match *ematch; in ip6t_do_table()
470 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match()
483 static int check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in check_match()
495 find_check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in find_check_match()
545 struct xt_entry_match *ematch; in find_check_entry()
659 struct xt_entry_match *ematch; in cleanup_entry()
849 const struct xt_entry_match *m; in copy_entries_to_user()
911 const struct xt_entry_match *ematch; in compat_calc_entry()
1241 const struct xt_entry_match *ematch; in compat_copy_entry_to_user()
1272 compat_find_calc_match(struct xt_entry_match *m, in compat_find_calc_match()
[all …]
/linux-6.1.9/net/ipv4/netfilter/
Dip_tables.c281 const struct xt_entry_match *ematch; in ipt_do_table()
452 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match()
466 check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in check_match()
478 find_check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in find_check_match()
526 struct xt_entry_match *ematch; in find_check_entry()
642 struct xt_entry_match *ematch; in cleanup_entry()
833 const struct xt_entry_match *m; in copy_entries_to_user()
895 const struct xt_entry_match *ematch; in compat_calc_entry()
1225 const struct xt_entry_match *ematch; in compat_copy_entry_to_user()
1256 compat_find_calc_match(struct xt_entry_match *m, in compat_find_calc_match()
[all …]
/linux-6.1.9/include/uapi/linux/netfilter_ipv4/
Dip_tables.h33 #define ipt_entry_match xt_entry_match
/linux-6.1.9/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h33 #define ip6t_entry_match xt_entry_match