repo.or.cz
/
netsniff-ng-old.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
trafgen: moved cleanup into parser
[netsniff-ng-old.git]
/
src
/
examples
/
bpfc
/
arp.bpf
blob
bf4a3ee23924735bc9ea11c4888e6c985a540f7e
1
ldh [12] ; Load Ethernet type field
2
jeq #0x806, Keep, Drop ; Check value against 0x806
3
Keep: ret #0xffffffff ; Return packet
4
Drop: ret #0 ; Discard packet