Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/uapi/linux/netfilter/
A Dx_tables.h14 __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-6.3-rc2/net/bridge/netfilter/
A Debt_among.c212 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()
A Debtables.c1610 compat_uint_t match_size; member
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; in compat_mtw_from_user() local
1986 size_kern = match_size; in compat_mtw_from_user()
2013 state->buf_user_offset += match_size; in compat_mtw_from_user()
2023 return off + match_size; in compat_mtw_from_user()
2065 size_left -= match32->match_size; in ebt_size_mwt()
2077 buf += match32->match_size; in ebt_size_mwt()
[all …]
/linux-6.3-rc2/drivers/base/
A Dauxiliary.c166 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()
/linux-6.3-rc2/include/uapi/linux/netfilter_bridge/
A Debtables.h131 unsigned int match_size; member
224 __i += __match->match_size + \
/linux-6.3-rc2/include/linux/netfilter/
A Dx_tables.h461 u_int16_t match_size; member
466 u_int16_t match_size; member
469 u_int16_t match_size; member
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/flower/
A Doffload.c707 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 = sizeof(struct nfp_flower_ipv6); in nfp_flower_populate_merge_match()
[all …]
/linux-6.3-rc2/net/netfilter/
A Dx_tables.c562 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()
/linux-6.3-rc2/drivers/regulator/
A Dab8500.c1641 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()
/linux-6.3-rc2/net/ipv6/netfilter/
A Dip6_tables.c490 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()
/linux-6.3-rc2/net/ipv4/netfilter/
A Dip_tables.c473 return xt_check_match(par, m->u.match_size - sizeof(*m), in check_match()
851 i += m->u.match_size) { in copy_entries_to_user()

Completed in 36 milliseconds