Home
last modified time | relevance | path

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

/linux-4.4.14/include/uapi/linux/netfilter/
Dx_tables.h10 struct xt_entry_match { struct
132 struct xt_entry_match *__m; \
180 for ((pos) = (struct xt_entry_match *)entry->elems; \
181 (pos) < (struct xt_entry_match *)((char *)(entry) + \
183 (pos) = (struct xt_entry_match *)((char *)(pos) + \
/linux-4.4.14/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()
295 const struct xt_entry_match *ematch; in tcpmss_tg6_check()
Dx_tables.c432 const struct xt_entry_match *pos; in xt_check_entry_match()
438 pos = (struct xt_entry_match *)match; in xt_check_entry_match()
443 if (length < (int)sizeof(struct xt_entry_match)) in xt_check_entry_match()
446 if (pos->u.match_size < sizeof(struct xt_entry_match)) in xt_check_entry_match()
528 void xt_compat_match_from_user(struct xt_entry_match *m, void **dstptr, in xt_compat_match_from_user()
558 int xt_compat_match_to_user(const struct xt_entry_match *m, in xt_compat_match_to_user()
621 BUILD_BUG_ON(sizeof(struct compat_xt_entry_match) != sizeof(struct xt_entry_match)); in xt_compat_check_entry_offsets()
700 __alignof__(struct xt_entry_match)); in xt_check_entry_offsets()
/linux-4.4.14/net/ipv4/netfilter/
Dip_tables.c355 const struct xt_entry_match *ematch; in ipt_do_table()
577 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match()
591 check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in check_match()
609 find_check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in find_check_match()
665 struct xt_entry_match *ematch; in find_check_entry()
790 struct xt_entry_match *ematch; in cleanup_entry()
966 const struct xt_entry_match *m; in copy_entries_to_user()
984 + offsetof(struct xt_entry_match, in copy_entries_to_user()
1033 const struct xt_entry_match *ematch; in compat_calc_entry()
1381 const struct xt_entry_match *ematch; in compat_copy_entry_to_user()
[all …]
/linux-4.4.14/net/ipv6/netfilter/
Dip6_tables.c377 const struct xt_entry_match *ematch; in ip6t_do_table()
589 static void cleanup_match(struct xt_entry_match *m, struct net *net) in cleanup_match()
602 static int check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in check_match()
621 find_check_match(struct xt_entry_match *m, struct xt_mtchk_param *par) in find_check_match()
678 struct xt_entry_match *ematch; in find_check_entry()
801 struct xt_entry_match *ematch; in cleanup_entry()
978 const struct xt_entry_match *m; in copy_entries_to_user()
996 + offsetof(struct xt_entry_match, in copy_entries_to_user()
1045 const struct xt_entry_match *ematch; in compat_calc_entry()
1392 const struct xt_entry_match *ematch; in compat_copy_entry_to_user()
[all …]
/linux-4.4.14/include/linux/netfilter/
Dx_tables.h488 void xt_compat_match_from_user(struct xt_entry_match *m, void **dstptr,
490 int xt_compat_match_to_user(const struct xt_entry_match *m,
/linux-4.4.14/include/uapi/linux/netfilter_ipv4/
Dip_tables.h31 #define ipt_entry_match xt_entry_match
/linux-4.4.14/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h31 #define ip6t_entry_match xt_entry_match