diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-02-09 09:17:27 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-10 15:52:24 -0500 |
commit | 1697599ee301a52cded6499a09bd609f7f63fd06 (patch) | |
tree | b527e775e84e39aba8e6df205765ec441925e303 /include/misc | |
parent | 4f2bd6b35b345523ac99b14ce9a1f4a98f21ebdb (diff) |
bitfield.h: add FIELD_FIT() helper
Add a helper for checking at runtime that a value will fit inside
a specified field/mask.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/misc')
0 files changed, 0 insertions, 0 deletions