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
/
ipv4_tcp_http.bpf
blob
7469d0c63ee1257f97c91e4c6ca1fc8acdedd308
1
ldh [12]
2
jeq #0x800, Cont1, Drop
3
Cont1: ldb [23]
4
jeq #0x6, Cont2, Drop
5
Cont2: ldh [20]
6
jset #0x1fff, Drop, Cont3
7
Cont3: ldxb 4 * ([14] & 0xf)
8
ldh [x + 14]
9
jeq #0x50, Keep, Cont4
10
Cont4: ldh [x + 16]
11
jeq #0x50, Keep, Drop
12
Keep: ret #0xffffffff
13
Drop: ret #0