We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ff3c5e commit a40bc5cCopy full SHA for a40bc5c
testprogs/TESTrun
@@ -4534,6 +4534,22 @@ my %accept_blocks = (
4534
(006) ret #262144
4535
',
4536
}, # ip_broadcast_24
4537
+ ip_broadcast_0 => {
4538
+ # tcpdump does this by default (matches 0.0.0.0 and 255.255.255.255).
4539
+ DLT => 'RAW',
4540
+ netmask => '0.0.0.0',
4541
+ aliases => ['ip broadcast'],
4542
+ opt => '
4543
+ (000) ldb [0]
4544
+ (001) and #0xf0
4545
+ (002) jeq #0x40 jt 3 jf 7
4546
+ (003) ld [16]
4547
+ (004) jeq #0x0 jt 6 jf 5
4548
+ (005) jeq #0xffffffff jt 6 jf 7
4549
+ (006) ret #262144
4550
+ (007) ret #0
4551
+ ',
4552
+ }, # ip_broadcast_0
4553
4554
ip_proto => {
4555
DLT => 'EN10MB',
0 commit comments