Home
last modified time | relevance | path

Searched refs:xt_entry_target (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.10/include/net/tc_act/
Dtc_ipt.h7 struct xt_entry_target;
13 struct xt_entry_target *tcfi_t;
/Linux-v5.10/include/uapi/linux/netfilter_arp/
Darp_tables.h23 #define arpt_entry_target xt_entry_target
200 static __inline__ struct xt_entry_target *arpt_get_target(struct arpt_entry *e) in arpt_get_target()
202 return (struct xt_entry_target *)((char *)e + e->target_offset); in arpt_get_target()
/Linux-v5.10/include/uapi/linux/netfilter_ipv4/
Dip_tables.h34 #define ipt_entry_target xt_entry_target
222 static __inline__ struct xt_entry_target *
225 return (struct xt_entry_target *)((char *)e + e->target_offset); in ipt_get_target()
/Linux-v5.10/include/uapi/linux/netfilter/
Dx_tables.h34 struct xt_entry_target { struct
66 struct xt_entry_target target; argument
71 struct xt_entry_target target;
/Linux-v5.10/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h34 #define ip6t_entry_target xt_entry_target
262 static __inline__ struct xt_entry_target *
265 return (struct xt_entry_target *)((char *)e + e->target_offset); in ip6t_get_target()
/Linux-v5.10/net/sched/
Dact_ipt.c33 static int ipt_init_target(struct net *net, struct xt_entry_target *t, in ipt_init_target()
64 static void ipt_destroy_target(struct xt_entry_target *t, struct net *net) in ipt_destroy_target()
92 [TCA_IPT_TARG] = { .len = sizeof(struct xt_entry_target) },
103 struct xt_entry_target *td, *t; in __tcf_ipt_init()
136 td = (struct xt_entry_target *)nla_data(tb[TCA_IPT_TARG]); in __tcf_ipt_init()
278 struct xt_entry_target *t; in tcf_ipt_dump()
/Linux-v5.10/include/linux/netfilter/
Dx_tables.h299 int xt_target_to_user(const struct xt_entry_target *t,
300 struct xt_entry_target __user *u);
527 void xt_compat_target_from_user(struct xt_entry_target *t, void **dstptr,
529 int xt_compat_target_to_user(const struct xt_entry_target *t,
/Linux-v5.10/net/ipv4/netfilter/
Darp_tables.c164 static inline const struct xt_entry_target *
221 const struct xt_entry_target *t; in arpt_do_table()
389 struct xt_entry_target *t = arpt_get_target(e); in check_target()
408 struct xt_entry_target *t; in find_check_entry()
438 const struct xt_entry_target *t; in check_underflow()
468 < sizeof(struct arpt_entry) + sizeof(struct xt_entry_target)) in check_entry_size_and_hooks()
502 struct xt_entry_target *t; in cleanup_entry()
689 const struct xt_entry_target *t; in copy_entries_to_user()
739 const struct xt_entry_target *t; in compat_calc_entry()
1062 struct xt_entry_target *t; in compat_release_entry()
[all …]
Dip_tables.c119 static inline const struct xt_entry_target *
279 const struct xt_entry_target *t; in ipt_do_table()
500 struct xt_entry_target *t = ipt_get_target(e); in check_target()
520 struct xt_entry_target *t; in find_check_entry()
574 const struct xt_entry_target *t; in check_underflow()
605 < sizeof(struct ipt_entry) + sizeof(struct xt_entry_target)) in check_entry_size_and_hooks()
640 struct xt_entry_target *t; in cleanup_entry()
833 const struct xt_entry_target *t; in copy_entries_to_user()
895 const struct xt_entry_target *t; in compat_calc_entry()
1220 struct xt_entry_target *t; in compat_copy_entry_to_user()
[all …]
/Linux-v5.10/net/ipv6/netfilter/
Dip6_tables.c143 static inline const struct xt_entry_target *
301 const struct xt_entry_target *t; in ip6t_do_table()
518 struct xt_entry_target *t = ip6t_get_target(e); in check_target()
539 struct xt_entry_target *t; in find_check_entry()
592 const struct xt_entry_target *t; in check_underflow()
623 < sizeof(struct ip6t_entry) + sizeof(struct xt_entry_target)) in check_entry_size_and_hooks()
657 struct xt_entry_target *t; in cleanup_entry()
849 const struct xt_entry_target *t; in copy_entries_to_user()
911 const struct xt_entry_target *t; in compat_calc_entry()
1236 struct xt_entry_target *t; in compat_copy_entry_to_user()
[all …]
/Linux-v5.10/include/linux/netfilter_ipv6/
Dip6_tables.h52 static inline struct xt_entry_target *
/Linux-v5.10/include/linux/netfilter_arp/
Darp_tables.h73 static inline struct xt_entry_target *
/Linux-v5.10/include/linux/netfilter_ipv4/
Dip_tables.h89 static inline struct xt_entry_target *
/Linux-v5.10/net/netfilter/
Dx_tables.c320 int xt_target_to_user(const struct xt_entry_target *t, in xt_target_to_user()
321 struct xt_entry_target __user *u) in xt_target_to_user()
899 const struct xt_entry_target *t; in xt_check_entry_offsets()
1112 void xt_compat_target_from_user(struct xt_entry_target *t, void **dstptr, in xt_compat_target_from_user()
1142 int xt_compat_target_to_user(const struct xt_entry_target *t, in xt_compat_target_to_user()