Home
last modified time | relevance | path

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

/Linux-v5.15/net/bridge/netfilter/
Debtables.c2032 static int ebt_size_mwt(const struct compat_ebt_entry_mwt *match32, in ebt_size_mwt() argument
2036 const char *buf = (const char *)match32; in ebt_size_mwt()
2046 if (size_left < sizeof(*match32)) in ebt_size_mwt()
2055 ret = ebt_buf_add(state, buf, sizeof(*match32)); in ebt_size_mwt()
2058 size_left -= sizeof(*match32); in ebt_size_mwt()
2065 if (match32->match_size > size_left) in ebt_size_mwt()
2068 size_left -= match32->match_size; in ebt_size_mwt()
2070 ret = compat_mtw_from_user(match32, type, state, base); in ebt_size_mwt()
2074 if (WARN_ON(ret < match32->match_size)) in ebt_size_mwt()
2076 growth += ret - match32->match_size; in ebt_size_mwt()
[all …]