Searched refs:match_size (Results 1 – 9 of 9) sorted by relevance
/linux-4.4.14/include/uapi/linux/netfilter/ |
D | x_tables.h | 13 __u16 match_size; member 20 __u16 match_size; member 27 __u16 match_size; member 136 __i += __m->u.match_size) { \ 184 (pos)->u.match_size))
|
/linux-4.4.14/net/bridge/netfilter/ |
D | ebtables.c | 370 left - sizeof(struct ebt_entry_match) < m->match_size) in ebt_check_match() 380 ret = xt_check_match(par, m->match_size, in ebt_check_match() 1582 compat_uint_t match_size; member 1614 int off = ebt_compat_match_offset(match, m->match_size); in compat_match_to_user() 1615 compat_uint_t msize = m->match_size - off; in compat_match_to_user() 1617 BUG_ON(off >= m->match_size); in compat_match_to_user() 1620 strlen(match->name) + 1) || put_user(msize, &cm->match_size)) in compat_match_to_user() 1647 strlen(target->name) + 1) || put_user(tsize, &cm->match_size)) in compat_target_to_user() 1728 *off += ebt_compat_match_offset(m->u.match, m->match_size); in compat_calc_match() 1909 unsigned int size_kern, match_size = mwt->match_size; in compat_mtw_from_user() local [all …]
|
D | ebt_among.c | 189 if (em->match_size != EBT_ALIGN(expected_length)) { in ebt_among_mt_check() 191 em->match_size, expected_length, in ebt_among_mt_check()
|
/linux-4.4.14/include/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 124 unsigned int match_size; member 205 __i += __match->match_size + \
|
/linux-4.4.14/include/linux/netfilter/ |
D | x_tables.h | 427 u_int16_t match_size; member 432 u_int16_t match_size; member 435 u_int16_t match_size; member
|
/linux-4.4.14/net/netfilter/ |
D | x_tables.c | 446 if (pos->u.match_size < sizeof(struct xt_entry_match)) in xt_check_entry_match() 449 if (pos->u.match_size > length) in xt_check_entry_match() 452 length -= pos->u.match_size; in xt_check_entry_match() 453 pos = ((void *)((char *)(pos) + (pos)->u.match_size)); in xt_check_entry_match() 534 u_int16_t msize = cm->u.user.match_size; in xt_compat_match_from_user() 548 m->u.user.match_size = msize; in xt_compat_match_from_user() 564 u_int16_t msize = m->u.user.match_size - off; in xt_compat_match_to_user() 567 put_user(msize, &cm->u.user.match_size) || in xt_compat_match_to_user()
|
/linux-4.4.14/drivers/regulator/ |
D | ab8500.c | 2965 int match_size; member 2976 abx500_regulator.match_size = ARRAY_SIZE(ab9540_regulator_match); in abx500_get_regulator_info() 2983 abx500_regulator.match_size = ARRAY_SIZE(ab8505_regulator_match); in abx500_get_regulator_info() 2990 abx500_regulator.match_size = ARRAY_SIZE(ab8540_regulator_match); in abx500_get_regulator_info() 2997 abx500_regulator.match_size = ARRAY_SIZE(ab8500_regulator_match); in abx500_get_regulator_info() 3056 abx500_regulator.match_size); in ab8500_regulator_probe()
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | ip_tables.c | 599 ret = xt_check_match(par, m->u.match_size - sizeof(*m), in check_match() 980 i += m->u.match_size) { in copy_entries_to_user()
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | ip6_tables.c | 610 ret = xt_check_match(par, m->u.match_size - sizeof(*m), in check_match() 992 i += m->u.match_size) { in copy_entries_to_user()
|