summaryrefslogtreecommitdiffstats
path: root/include/payload.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-08-01 17:11:41 +0200
committerFlorian Westphal <fw@strlen.de>2016-08-01 17:11:41 +0200
commita0ed637e76da3fe44eb34eb2ab91d72be2365411 (patch)
treeb3774ac9bc0c3d44396f15fda8fb9534d2db7b89 /include/payload.h
parent7947f4535af129290aa84d8173a8e5b2a296ed82 (diff)
netlink: add __binop_adjust helper
binop_adjust takes an expression whose LHS is expected to be the binop expression that we use to adjust a payload expression based on a mask (to match sub-byte headers like iphdr->version). A followup patch has to pass the binop directly, so add add a helper for it. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/payload.h')
0 files changed, 0 insertions, 0 deletions