diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2020-08-03 03:29:59 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2020-08-03 03:29:59 +0000 |
commit | cbd079c1a12540c77f9ecc4ec02d553170714eea (patch) | |
tree | ea543883d2abb27e7f902a70835dde5c5040b850 /sys/Makefile | |
parent | 65d5e51cda1c03a5d1cac9d93f2894ccd1fbc805 (diff) |
add support for handling loads from BPF_RND.
this adds "rnd" and "random" as keywords in the grammar, and handles
them as an arithmetic operator. the decoder recognises the load,
so tcpdump can print it as 'ld #random'. most of the handling is
copied from the "len"/"length" keywoard handling that generates and
decodes a load of the actual wire length of the packet.
ok jmatthew@ tb@ kn@
Diffstat (limited to 'sys/Makefile')
0 files changed, 0 insertions, 0 deletions