Searched refs:match_size (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/include/uapi/linux/netfilter/ |
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))
|
/Linux-v4.19/net/bridge/netfilter/ |
D | ebt_among.c | 211 if (expected_length > em->match_size) in ebt_among_mt_check() 214 if (wormhash_offset_invalid(info->wh_dst_ofs, em->match_size) || in ebt_among_mt_check() 215 wormhash_offset_invalid(info->wh_src_ofs, em->match_size)) in ebt_among_mt_check() 223 if (expected_length > em->match_size) in ebt_among_mt_check() 240 if (em->match_size != EBT_ALIGN(expected_length)) { in ebt_among_mt_check() 242 em->match_size, expected_length, in ebt_among_mt_check()
|
D | ebtables.c | 371 left - sizeof(struct ebt_entry_match) < m->match_size) in ebt_check_match() 387 ret = xt_check_match(par, m->match_size, in ebt_check_match() 1387 m->u.match->usersize, m->match_size, in ebt_match_to_user() 1623 compat_uint_t match_size; member 1654 int off = ebt_compat_match_offset(match, m->match_size); in compat_match_to_user() 1655 compat_uint_t msize = m->match_size - off; in compat_match_to_user() 1657 if (WARN_ON(off >= m->match_size)) in compat_match_to_user() 1662 put_user(msize, &cm->match_size)) in compat_match_to_user() 1694 put_user(tsize, &cm->match_size)) in compat_target_to_user() 1778 *off += ebt_compat_match_offset(m->u.match, m->match_size); in compat_calc_match() [all …]
|
/Linux-v4.19/include/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 131 unsigned int match_size; member 224 __i += __match->match_size + \
|
/Linux-v4.19/include/linux/netfilter/ |
D | x_tables.h | 458 u_int16_t match_size; member 463 u_int16_t match_size; member 466 u_int16_t match_size; member
|
/Linux-v4.19/drivers/regulator/ |
D | ab8500.c | 1574 int match_size; member 1585 abx500_regulator.match_size = ARRAY_SIZE(ab8505_regulator_match); in abx500_get_regulator_info() 1592 abx500_regulator.match_size = ARRAY_SIZE(ab8500_regulator_match); in abx500_get_regulator_info() 1651 abx500_regulator.match_size); in ab8500_regulator_probe()
|
/Linux-v4.19/net/netfilter/ |
D | x_tables.c | 545 if (pos->u.match_size < sizeof(struct xt_entry_match)) in xt_check_entry_match() 548 if (pos->u.match_size > length) in xt_check_entry_match() 551 length -= pos->u.match_size; in xt_check_entry_match() 552 pos = ((void *)((char *)(pos) + (pos)->u.match_size)); in xt_check_entry_match() 740 u_int16_t msize = cm->u.user.match_size; in xt_compat_match_from_user() 754 m->u.user.match_size = msize; in xt_compat_match_from_user() 776 u_int16_t msize = m->u.user.match_size - off; in xt_compat_match_to_user()
|
/Linux-v4.19/net/ipv6/netfilter/ |
D | ip6_tables.c | 492 return xt_check_match(par, m->u.match_size - sizeof(*m), in check_match() 869 i += m->u.match_size) { in copy_entries_to_user()
|
/Linux-v4.19/net/ipv4/netfilter/ |
D | ip_tables.c | 475 return xt_check_match(par, m->u.match_size - sizeof(*m), in check_match() 853 i += m->u.match_size) { in copy_entries_to_user()
|