Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/netfilter_bridge/
H A Debt_among.h40 struct ebt_mac_wormhash { struct
46 #define ebt_mac_wormhash_size(x) ((x) ? sizeof(struct ebt_mac_wormhash) \ argument
59 (struct ebt_mac_wormhash*)((char*)(x) + (x)->wh_dst_ofs) : NULL)
61 (struct ebt_mac_wormhash*)((char*)(x) + (x)->wh_src_ofs) : NULL)
/openbmc/linux/net/bridge/netfilter/
H A Debt_among.c19 static bool ebt_mac_wormhash_contains(const struct ebt_mac_wormhash *wh, in ebt_mac_wormhash_contains()
53 static int ebt_mac_wormhash_check_integrity(const struct ebt_mac_wormhash in ebt_mac_wormhash_check_integrity()
137 const struct ebt_mac_wormhash *wh_dst, *wh_src; in ebt_among_mt()
176 static bool poolsize_invalid(const struct ebt_mac_wormhash *w) in poolsize_invalid()
187 off % __alignof__(struct ebt_mac_wormhash)) in wormhash_offset_invalid()
190 off += sizeof(struct ebt_mac_wormhash); in wormhash_offset_invalid()
195 static bool wormhash_sizes_valid(const struct ebt_mac_wormhash *wh, int a, int b) in wormhash_sizes_valid()
209 const struct ebt_mac_wormhash *wh_dst, *wh_src; in ebt_among_mt_check()