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

/linux-master/include/uapi/linux/netfilter/
H A Dx_tables.h14 __u16 match_size; member in struct:xt_entry_match::__anon638::__anon639
21 __u16 match_size; member in struct:xt_entry_match::__anon638::__anon640
28 __u16 match_size; member in union:xt_entry_match::__anon638
137 __i += __m->u.match_size) { \
185 (pos)->u.match_size))
/linux-master/net/bridge/netfilter/
H A Debt_among.c212 if (expected_length > em->match_size)
215 if (wormhash_offset_invalid(info->wh_dst_ofs, em->match_size) ||
216 wormhash_offset_invalid(info->wh_src_ofs, em->match_size))
224 if (expected_length > em->match_size)
241 if (em->match_size != EBT_ALIGN(expected_length)) {
243 em->match_size, expected_length,
H A Debtables.c402 left - sizeof(struct ebt_entry_match) < m->match_size)
418 ret = xt_check_match(par, m->match_size,
1465 m->u.match->usersize, m->match_size,
1614 compat_uint_t match_size; member in struct:compat_ebt_entry_mwt
1618 /* account for possible padding between match_size and ->data */
1645 int off = ebt_compat_match_offset(match, m->match_size);
1646 compat_uint_t msize = m->match_size - off;
1648 if (WARN_ON(off >= m->match_size))
1653 put_user(msize, &cm->match_size))
1685 put_user(tsize, &cm->match_size))
1965 unsigned int size_kern, match_size = mwt->match_size; local
[all...]
/linux-master/drivers/base/
H A Dauxiliary.c166 int match_size; local
170 match_size = p - dev_name(&auxdev->dev);
173 if (strlen(id->name) == match_size &&
174 !strncmp(dev_name(&auxdev->dev), id->name, match_size))
/linux-master/include/uapi/linux/netfilter_bridge/
H A Debtables.h131 unsigned int match_size; member in struct:ebt_entry_match
226 __i += __match->match_size + \
/linux-master/include/linux/netfilter/
H A Dx_tables.h461 u_int16_t match_size; member in struct:compat_xt_entry_match::__anon1363::__anon1364
466 u_int16_t match_size; member in struct:compat_xt_entry_match::__anon1363::__anon1365
469 u_int16_t match_size; member in union:compat_xt_entry_match::__anon1363
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Doffload.c707 u8 key_layer, match_size; local
726 match_size = sizeof(struct nfp_flower_mac_mpls);
727 memcpy(&merge->l2, mask, match_size);
728 mask += match_size;
732 match_size = sizeof(struct nfp_flower_tp_ports);
733 memcpy(&merge->l4, mask, match_size);
734 mask += match_size;
738 match_size = sizeof(struct nfp_flower_ipv4);
739 memcpy(&merge->ipv4, mask, match_size);
743 match_size
[all...]
/linux-master/net/netfilter/
H A Dx_tables.c562 if (pos->u.match_size < sizeof(struct xt_entry_match))
565 if (pos->u.match_size > length)
568 length -= pos->u.match_size;
569 pos = ((void *)((char *)(pos) + (pos)->u.match_size));
757 u_int16_t msize = cm->u.user.match_size;
768 m->u.user.match_size = msize;
790 u_int16_t msize = m->u.user.match_size - off;
/linux-master/drivers/regulator/
H A Dab8500.c1641 int match_size; member in struct:__anon2228
1652 abx500_regulator.match_size = ARRAY_SIZE(ab8505_regulator_match);
1659 abx500_regulator.match_size = ARRAY_SIZE(ab8500_regulator_match);
1718 abx500_regulator.match_size);
/linux-master/net/ipv4/netfilter/
H A Dip_tables.c471 return xt_check_match(par, m->u.match_size - sizeof(*m),
849 i += m->u.match_size) {
/linux-master/net/ipv6/netfilter/
H A Dip6_tables.c488 return xt_check_match(par, m->u.match_size - sizeof(*m),
865 i += m->u.match_size) {

Completed in 175 milliseconds