/kernel/linux/linux-5.10/include/uapi/linux/netfilter/ |
H A D | x_tables.h | 14 __u16 match_size; member 21 __u16 match_size; member 28 __u16 match_size; member 137 __i += __m->u.match_size) { \ 185 (pos)->u.match_size))
|
/kernel/linux/linux-6.6/include/uapi/linux/netfilter/ |
H A D | x_tables.h | 14 __u16 match_size; member 21 __u16 match_size; member 28 __u16 match_size; member 137 __i += __m->u.match_size) { \ 185 (pos)->u.match_size))
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/netfilter/ |
H A D | x_tables.h | 29 __u16 match_size; member 34 __u16 match_size; member 37 __u16 match_size; member 94 ({ unsigned int __i; int __ret = 0; struct xt_entry_match * __m; for(__i = sizeof(type); __i < (e)->target_offset; __i += __m->u.match_size) { __m = (void *) e + __i; __ret = fn(__m, ##args); if(__ret != 0) break; } __ret; \ 101 #define xt_ematch_foreach(pos,entry) for((pos) = (struct xt_entry_match *) entry->elems; (pos) < (struct xt_entry_match *) ((char *) (entry) + (entry)->target_offset); (pos) = (struct xt_entry_match *) ((char *) (pos) + (pos)->u.match_size))
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/ |
H A D | x_tables.h | 29 __u16 match_size; member 34 __u16 match_size; member 37 __u16 match_size; member 94 ({ unsigned int __i; int __ret = 0; struct xt_entry_match * __m; for(__i = sizeof(type); __i < (e)->target_offset; __i += __m->u.match_size) { __m = (void *) e + __i; __ret = fn(__m, ##args); if(__ret != 0) break; } __ret; \ 101 #define xt_ematch_foreach(pos,entry) for((pos) = (struct xt_entry_match *) entry->elems; (pos) < (struct xt_entry_match *) ((char *) (entry) + (entry)->target_offset); (pos) = (struct xt_entry_match *) ((char *) (pos) + (pos)->u.match_size))
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/ |
H A D | x_tables.h | 16 __u16 match_size; member 22 __u16 match_size; member 27 __u16 match_size; member 101 __i += __m->u.match_size) { \ 140 (pos)->u.match_size))
|
/kernel/linux/linux-5.10/net/bridge/netfilter/ |
H A D | ebt_among.c | 212 if (expected_length > em->match_size) in ebt_among_mt_check() 215 if (wormhash_offset_invalid(info->wh_dst_ofs, em->match_size) || in ebt_among_mt_check() 216 wormhash_offset_invalid(info->wh_src_ofs, em->match_size)) in ebt_among_mt_check() 224 if (expected_length > em->match_size) in ebt_among_mt_check() 241 if (em->match_size != EBT_ALIGN(expected_length)) { in ebt_among_mt_check() 243 em->match_size, expected_length, in ebt_among_mt_check()
|
H A D | ebtables.c | 363 left - sizeof(struct ebt_entry_match) < m->match_size) in ebt_check_match() 379 ret = xt_check_match(par, m->match_size, in ebt_check_match() 1351 m->u.match->usersize, m->match_size, in ebt_match_to_user() 1500 compat_uint_t match_size; member 1504 /* account for possible padding between match_size and ->data */ 1531 int off = ebt_compat_match_offset(match, m->match_size); in compat_match_to_user() 1532 compat_uint_t msize = m->match_size - off; in compat_match_to_user() 1534 if (WARN_ON(off >= m->match_size)) in compat_match_to_user() 1539 put_user(msize, &cm->match_size)) in compat_match_to_user() 1571 put_user(tsize, &cm->match_size)) in compat_target_to_user() 1851 unsigned int size_kern, match_size = mwt->match_size; compat_mtw_from_user() local [all...] |
/kernel/linux/linux-6.6/net/bridge/netfilter/ |
H A D | ebt_among.c | 212 if (expected_length > em->match_size) in ebt_among_mt_check() 215 if (wormhash_offset_invalid(info->wh_dst_ofs, em->match_size) || in ebt_among_mt_check() 216 wormhash_offset_invalid(info->wh_src_ofs, em->match_size)) in ebt_among_mt_check() 224 if (expected_length > em->match_size) in ebt_among_mt_check() 241 if (em->match_size != EBT_ALIGN(expected_length)) { in ebt_among_mt_check() 243 em->match_size, expected_length, in ebt_among_mt_check()
|
H A D | ebtables.c | 402 left - sizeof(struct ebt_entry_match) < m->match_size) in ebt_check_match() 418 ret = xt_check_match(par, m->match_size, in ebt_check_match() 1461 m->u.match->usersize, m->match_size, in ebt_match_to_user() 1610 compat_uint_t match_size; member 1614 /* account for possible padding between match_size and ->data */ 1641 int off = ebt_compat_match_offset(match, m->match_size); in compat_match_to_user() 1642 compat_uint_t msize = m->match_size - off; in compat_match_to_user() 1644 if (WARN_ON(off >= m->match_size)) in compat_match_to_user() 1649 put_user(msize, &cm->match_size)) in compat_match_to_user() 1681 put_user(tsize, &cm->match_size)) in compat_target_to_user() 1961 unsigned int size_kern, match_size = mwt->match_size; compat_mtw_from_user() local [all...] |
/kernel/linux/linux-6.6/drivers/base/ |
H A D | auxiliary.c | 166 int match_size; in auxiliary_match_id() local 170 match_size = p - dev_name(&auxdev->dev); in auxiliary_match_id() 173 if (strlen(id->name) == match_size && in auxiliary_match_id() 174 !strncmp(dev_name(&auxdev->dev), id->name, match_size)) in auxiliary_match_id()
|
/kernel/linux/linux-5.10/include/uapi/linux/netfilter_bridge/ |
H A D | ebtables.h | 131 unsigned int match_size; member 226 __i += __match->match_size + \
|
/kernel/linux/linux-6.6/include/uapi/linux/netfilter_bridge/ |
H A D | ebtables.h | 131 unsigned int match_size; member 226 __i += __match->match_size + \
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter_bridge/ |
H A D | ebtables.h | 90 unsigned int match_size; member 147 ({ unsigned int __i; int __ret = 0; struct ebt_entry_match * __match; for(__i = sizeof(struct ebt_entry); __i < (e)->watchers_offset; __i += __match->match_size + sizeof(struct ebt_entry_match)) { __match = (void *) (e) + __i; __ret = fn(__match, ##args); if(__ret != 0) break; } if(__ret == 0) { if(__i != (e)->watchers_offset) __ret = - EINVAL; } __ret; \
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/netfilter_bridge/ |
H A D | ebtables.h | 90 unsigned int match_size; member 147 ({ unsigned int __i; int __ret = 0; struct ebt_entry_match * __match; for(__i = sizeof(struct ebt_entry); __i < (e)->watchers_offset; __i += __match->match_size + sizeof(struct ebt_entry_match)) { __match = (void *) (e) + __i; __ret = fn(__match, ##args); if(__ret != 0) break; } if(__ret == 0) { if(__i != (e)->watchers_offset) __ret = - EINVAL; } __ret; \
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter_bridge/ |
H A D | ebtables.h | 96 unsigned int match_size; member 175 __i += __match->match_size + \
|
/kernel/linux/linux-5.10/include/linux/netfilter/ |
H A D | x_tables.h | 457 u_int16_t match_size; member 462 u_int16_t match_size; member 465 u_int16_t match_size; member
|
/kernel/linux/linux-6.6/include/linux/netfilter/ |
H A D | x_tables.h | 461 u_int16_t match_size; member 466 u_int16_t match_size; member 469 u_int16_t match_size; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | offload.c | 709 u8 key_layer, match_size; in nfp_flower_populate_merge_match() local 728 match_size = sizeof(struct nfp_flower_mac_mpls); in nfp_flower_populate_merge_match() 729 memcpy(&merge->l2, mask, match_size); in nfp_flower_populate_merge_match() 730 mask += match_size; in nfp_flower_populate_merge_match() 734 match_size = sizeof(struct nfp_flower_tp_ports); in nfp_flower_populate_merge_match() 735 memcpy(&merge->l4, mask, match_size); in nfp_flower_populate_merge_match() 736 mask += match_size; in nfp_flower_populate_merge_match() 740 match_size = sizeof(struct nfp_flower_ipv4); in nfp_flower_populate_merge_match() 741 memcpy(&merge->ipv4, mask, match_size); in nfp_flower_populate_merge_match() 745 match_size in nfp_flower_populate_merge_match() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | offload.c | 707 u8 key_layer, match_size; in nfp_flower_populate_merge_match() local 726 match_size = sizeof(struct nfp_flower_mac_mpls); in nfp_flower_populate_merge_match() 727 memcpy(&merge->l2, mask, match_size); in nfp_flower_populate_merge_match() 728 mask += match_size; in nfp_flower_populate_merge_match() 732 match_size = sizeof(struct nfp_flower_tp_ports); in nfp_flower_populate_merge_match() 733 memcpy(&merge->l4, mask, match_size); in nfp_flower_populate_merge_match() 734 mask += match_size; in nfp_flower_populate_merge_match() 738 match_size = sizeof(struct nfp_flower_ipv4); in nfp_flower_populate_merge_match() 739 memcpy(&merge->ipv4, mask, match_size); in nfp_flower_populate_merge_match() 743 match_size in nfp_flower_populate_merge_match() [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | x_tables.c | 542 if (pos->u.match_size < sizeof(struct xt_entry_match)) in xt_check_entry_match() 545 if (pos->u.match_size > length) in xt_check_entry_match() 548 length -= pos->u.match_size; in xt_check_entry_match() 549 pos = ((void *)((char *)(pos) + (pos)->u.match_size)); in xt_check_entry_match() 737 u_int16_t msize = cm->u.user.match_size; in xt_compat_match_from_user() 748 m->u.user.match_size = msize; in xt_compat_match_from_user() 770 u_int16_t msize = m->u.user.match_size - off; in xt_compat_match_to_user()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | x_tables.c | 562 if (pos->u.match_size < sizeof(struct xt_entry_match)) in xt_check_entry_match() 565 if (pos->u.match_size > length) in xt_check_entry_match() 568 length -= pos->u.match_size; in xt_check_entry_match() 569 pos = ((void *)((char *)(pos) + (pos)->u.match_size)); in xt_check_entry_match() 757 u_int16_t msize = cm->u.user.match_size; in xt_compat_match_from_user() 768 m->u.user.match_size = msize; in xt_compat_match_from_user() 790 u_int16_t msize = m->u.user.match_size - off; in xt_compat_match_to_user()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | ab8500.c | 1527 int match_size; member 1538 abx500_regulator.match_size = ARRAY_SIZE(ab8505_regulator_match); in abx500_get_regulator_info() 1545 abx500_regulator.match_size = ARRAY_SIZE(ab8500_regulator_match); in abx500_get_regulator_info() 1604 abx500_regulator.match_size); in ab8500_regulator_probe()
|
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | ab8500.c | 1641 int match_size; member 1652 abx500_regulator.match_size = ARRAY_SIZE(ab8505_regulator_match); in abx500_get_regulator_info() 1659 abx500_regulator.match_size = ARRAY_SIZE(ab8500_regulator_match); in abx500_get_regulator_info() 1718 abx500_regulator.match_size); in ab8500_regulator_probe()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
H A D | ip_tables.c | 472 return xt_check_match(par, m->u.match_size - sizeof(*m), in check_match() 850 i += m->u.match_size) { in copy_entries_to_user()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
H A D | ip6_tables.c | 490 return xt_check_match(par, m->u.match_size - sizeof(*m), in check_match() 867 i += m->u.match_size) { in copy_entries_to_user()
|