Home
last modified time | relevance | path

Searched refs:target_offset (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/netfilter_arp/
Darp_tables.h31 .target_offset = sizeof(struct arpt_entry), \
67 __u16 target_offset; member
77 return (void *)e + e->target_offset; in compat_arpt_get_target()
/kernel/linux/linux-5.10/include/linux/netfilter_ipv4/
Dip_tables.h50 .target_offset = sizeof(struct ipt_entry), \
81 __u16 target_offset; member
92 return (void *)e + e->target_offset; in compat_ipt_get_target()
/kernel/linux/linux-5.10/include/uapi/linux/netfilter_bridge/
Debtables.h188 unsigned int target_offset; member
197 return (struct ebt_entry_target *)((char *)e + e->target_offset); in ebt_get_target()
246 __i < (e)->target_offset; \
256 if (__i != (e)->target_offset) \
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter_bridge/
Debtables.h148 unsigned int target_offset; member
156 return (void *)e + e->target_offset; in ebt_get_target()
196 __i < (e)->target_offset; \
206 if (__i != (e)->target_offset) \
/kernel/linux/linux-5.10/include/linux/netfilter_ipv6/
Dip6_tables.h45 __u16 target_offset; member
55 return (void *)e + e->target_offset; in compat_ip6t_get_target()
/kernel/linux/linux-5.10/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h117 __u16 target_offset; member
144 .target_offset = sizeof(struct ip6t_entry), \
265 return (struct xt_entry_target *)((char *)e + e->target_offset); in ip6t_get_target()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter_ipv6/
Dip6_tables.h80 __u16 target_offset; member
95 {.target_offset = sizeof(struct ip6t_entry),.next_offset = (__size), \
144 return(struct xt_entry_target *) ((char *) e + e->target_offset); in ip6t_get_target()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter_ipv6/
Dip6_tables.h79 __u16 target_offset; member
99 .target_offset = sizeof(struct ip6t_entry), \
179 return (void *)e + e->target_offset; in ip6t_get_target()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter_bridge/
Debtables.h133 unsigned int target_offset; member
150target_offset; __i += __watcher->watcher_size + sizeof(struct ebt_entry_watcher)) { __watcher = (v…
/kernel/linux/linux-5.10/include/uapi/linux/netfilter_arp/
Darp_tables.h101 __u16 target_offset; member
202 return (struct xt_entry_target *)((char *)e + e->target_offset); in arpt_get_target()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter_arp/
Darp_tables.h71 __u16 target_offset; member
135 return (void *)e + e->target_offset; in arpt_get_target()
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
Daic7xxx_osm.c548 unsigned int target_offset; in DEF_SCSI_QCMD() local
550 target_offset = starget->id; in DEF_SCSI_QCMD()
552 target_offset += 8; in DEF_SCSI_QCMD()
554 return &ahc->platform_data->starget[target_offset]; in DEF_SCSI_QCMD()
569 unsigned int target_offset; in ahc_linux_target_alloc() local
571 target_offset = starget->id; in ahc_linux_target_alloc()
573 target_offset += 8; in ahc_linux_target_alloc()
587 int flags = sc->device_flags[target_offset]; in ahc_linux_target_alloc()
1363 tags = tag_info->tag_commands[devinfo->target_offset]; in ahc_linux_user_tagdepth()
1429 int target_offset; in ahc_linux_run_command() local
[all …]
Daic7xxx_proc.c49 u_int target_id, u_int target_offset);
136 u_int target_offset) in ahc_dump_target_state() argument
150 starget = ahc->platform_data->starget[target_offset]; in ahc_dump_target_state()
/kernel/linux/linux-5.10/include/uapi/linux/netfilter_ipv4/
Dip_tables.h113 __u16 target_offset; member
225 return (struct xt_entry_target *)((char *)e + e->target_offset); in ipt_get_target()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter_ipv4/
Dip_tables.h78 __u16 target_offset; member
124 return(struct xt_entry_target *) ((char *) e + e->target_offset); in ipt_get_target()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter_ipv4/
Dip_tables.h76 __u16 target_offset; member
148 return (void *)e + e->target_offset; in ipt_get_target()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/
Dx_tables.h94 … = 0; struct xt_entry_match * __m; for(__i = sizeof(type); __i < (e)->target_offset; __i += __m->u…
101 …elems; (pos) < (struct xt_entry_match *) ((char *) (entry) + (entry)->target_offset); (pos) = (str…
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/
Dx_tables.h136 __i < (e)->target_offset; \
183 (entry)->target_offset); \
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/
Dx_tables.h100 __i < (e)->target_offset; \
138 (entry)->target_offset); \
/kernel/linux/linux-5.10/net/netfilter/
Dx_tables.c801 unsigned int target_offset, in xt_compat_check_entry_offsets() argument
808 if (target_offset < size_of_base_struct) in xt_compat_check_entry_offsets()
811 if (target_offset + sizeof(*t) > next_offset) in xt_compat_check_entry_offsets()
814 t = (void *)(e + target_offset); in xt_compat_check_entry_offsets()
818 if (target_offset + t->u.target_size > next_offset) in xt_compat_check_entry_offsets()
824 if (COMPAT_XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_compat_check_entry_offsets()
843 return xt_check_entry_match(elems, base + target_offset, in xt_compat_check_entry_offsets()
894 unsigned int target_offset, in xt_check_entry_offsets() argument
902 if (target_offset < size_of_base_struct) in xt_check_entry_offsets()
905 if (target_offset + sizeof(*t) > next_offset) in xt_check_entry_offsets()
[all …]
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Darp_tables.c294 return e->target_offset == sizeof(struct arpt_entry) && in unconditional()
474 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
705 if (xt_target_to_user(t, userptr + off + e->target_offset)) { in copy_entries_to_user()
1092 ret = xt_compat_check_entry_offsets(e, e->elems, e->target_offset, in check_compat_entry_size_and_hooks()
1141 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
1303 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1317 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1324 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
Dip_tables.c114 return e->target_offset == sizeof(struct ipt_entry) && in unconditional()
611 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
849 i < e->target_offset; in copy_entries_to_user()
860 if (xt_target_to_user(t, userptr + off + e->target_offset)) { in copy_entries_to_user()
1222 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1242 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1248 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1310 e->target_offset, e->next_offset); in check_compat_entry_size_and_hooks()
1374 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dip6_tables.c139 return e->target_offset == sizeof(struct ip6t_entry) && in unconditional()
630 err = xt_check_entry_offsets(e, e->elems, e->target_offset, in check_entry_size_and_hooks()
866 i < e->target_offset; in copy_entries_to_user()
877 if (xt_target_to_user(t, userptr + off + e->target_offset)) { in copy_entries_to_user()
1239 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1259 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1265 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1327 e->target_offset, e->next_offset); in check_compat_entry_size_and_hooks()
1391 de->target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_from_user()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter_arp/
Darp_tables.h71 __u16 target_offset; member
/kernel/linux/linux-5.10/net/bridge/netfilter/
Debtables.c396 size_t left = ((char *)e + e->target_offset) - (char *)w; in ebt_check_watcher()
532 e->watchers_offset > e->target_offset || in ebt_check_entry_size_and_hooks()
533 e->target_offset >= e->next_offset) in ebt_check_entry_size_and_hooks()
537 if (e->next_offset - e->target_offset < sizeof(struct ebt_entry_target)) in ebt_check_entry_size_and_hooks()
708 gap = e->next_offset - e->target_offset; in ebt_check_entry()
788 if (e->target_offset + sizeof(struct ebt_standard_target) > in check_chainloops()
1378 hlp = ubase + (((char *)e + e->target_offset) - base); in ebt_entry_to_user()
1598 u32 watchers_offset, target_offset, next_offset; in compat_copy_entry_to_user() local
1631 target_offset = e->target_offset - (origsize - *size); in compat_copy_entry_to_user()
1641 put_user(target_offset, &ce->target_offset) || in compat_copy_entry_to_user()

12