Searched refs:match_size (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/include/uapi/linux/netfilter/
H A Dx_tables.h13 __u16 match_size; member in struct:xt_entry_match::__anon13460::__anon13461
20 __u16 match_size; member in struct:xt_entry_match::__anon13460::__anon13462
27 __u16 match_size; member in union:xt_entry_match::__anon13460
136 __i += __m->u.match_size) { \
184 (pos)->u.match_size))
/linux-4.1.27/net/bridge/netfilter/
H A Debtables.c368 left - sizeof(struct ebt_entry_match) < m->match_size) ebt_check_match()
378 ret = xt_check_match(par, m->match_size, ebt_check_match()
1580 compat_uint_t match_size; member in struct:compat_ebt_entry_mwt
1584 /* account for possible padding between match_size and ->data */ ebt_compat_entry_padsize()
1612 int off = ebt_compat_match_offset(match, m->match_size); compat_match_to_user()
1613 compat_uint_t msize = m->match_size - off; compat_match_to_user()
1615 BUG_ON(off >= m->match_size); compat_match_to_user()
1618 strlen(match->name) + 1) || put_user(msize, &cm->match_size)) compat_match_to_user()
1645 strlen(target->name) + 1) || put_user(tsize, &cm->match_size)) compat_target_to_user()
1726 *off += ebt_compat_match_offset(m->u.match, m->match_size); compat_calc_match()
1907 unsigned int size_kern, match_size = mwt->match_size; compat_mtw_from_user() local
1920 off = ebt_compat_match_offset(match, match_size); compat_mtw_from_user()
1925 memcpy(dst, mwt->data, match_size); compat_mtw_from_user()
1930 size_kern = match_size; compat_mtw_from_user()
1944 memcpy(dst, mwt->data, match_size); compat_mtw_from_user()
1955 state->buf_kern_offset += match_size + off; compat_mtw_from_user()
1956 state->buf_user_offset += match_size; compat_mtw_from_user()
1961 BUG_ON(state->buf_kern_offset - (match_size + off) + size_kern > state->buf_kern_len - pad); compat_mtw_from_user()
1964 return off + match_size; compat_mtw_from_user()
2003 if (match32->match_size > size_left) ebt_size_mwt()
2006 size_left -= match32->match_size; ebt_size_mwt()
2012 BUG_ON(ret < match32->match_size); ebt_size_mwt()
2013 growth += ret - match32->match_size; ebt_size_mwt()
2017 buf += match32->match_size; ebt_size_mwt()
2020 match_kern->match_size = ret; ebt_size_mwt()
H A Debt_among.c189 if (em->match_size != EBT_ALIGN(expected_length)) { ebt_among_mt_check()
191 em->match_size, expected_length, ebt_among_mt_check()
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
H A Debtables.h124 unsigned int match_size; member in struct:ebt_entry_match
205 __i += __match->match_size + \
/linux-4.1.27/include/linux/netfilter/
H A Dx_tables.h363 u_int16_t match_size; member in struct:compat_xt_entry_match::__anon12286::__anon12287
368 u_int16_t match_size; member in struct:compat_xt_entry_match::__anon12286::__anon12288
371 u_int16_t match_size; member in union:compat_xt_entry_match::__anon12286
/linux-4.1.27/net/netfilter/
H A Dx_tables.c496 u_int16_t msize = cm->u.user.match_size; xt_compat_match_from_user()
509 m->u.user.match_size = msize; xt_compat_match_from_user()
523 u_int16_t msize = m->u.user.match_size - off; xt_compat_match_to_user()
526 put_user(msize, &cm->u.user.match_size) || xt_compat_match_to_user()
/linux-4.1.27/drivers/regulator/
H A Dab8500.c2965 int match_size; member in struct:__anon8372
2976 abx500_regulator.match_size = ARRAY_SIZE(ab9540_regulator_match); abx500_get_regulator_info()
2983 abx500_regulator.match_size = ARRAY_SIZE(ab8505_regulator_match); abx500_get_regulator_info()
2990 abx500_regulator.match_size = ARRAY_SIZE(ab8540_regulator_match); abx500_get_regulator_info()
2997 abx500_regulator.match_size = ARRAY_SIZE(ab8500_regulator_match); abx500_get_regulator_info()
3056 abx500_regulator.match_size); ab8500_regulator_probe()
/linux-4.1.27/net/ipv4/netfilter/
H A Dip_tables.c596 ret = xt_check_match(par, m->u.match_size - sizeof(*m), check_match()
970 i += m->u.match_size) { copy_entries_to_user()
/linux-4.1.27/net/ipv6/netfilter/
H A Dip6_tables.c608 ret = xt_check_match(par, m->u.match_size - sizeof(*m), check_match()
983 i += m->u.match_size) { copy_entries_to_user()

Completed in 575 milliseconds