X-Git-Url: https://git.tcpdump.org/libpcap/blobdiff_plain/041fe47c6126400cf5453a91770c983b5a022aaf..09b51d326c38ea8e10ce4da09c09d50e08c5aeb8:/pcap/bpf.h diff --git a/pcap/bpf.h b/pcap/bpf.h index bfc60d2c..3970d0a1 100644 --- a/pcap/bpf.h +++ b/pcap/bpf.h @@ -80,6 +80,7 @@ #define lib_pcap_bpf_h #include +#include #ifdef __cplusplus extern "C" { @@ -117,8 +118,6 @@ struct bpf_program { struct bpf_insn *bf_insns; }; -#include - /* * The instruction encodings. * @@ -150,7 +149,7 @@ struct bpf_program { #define BPF_B 0x10 /* 0x18 reserved; used by BSD/OS */ #define BPF_MODE(code) ((code) & 0xe0) -#define BPF_IMM 0x00 +#define BPF_IMM 0x00 #define BPF_ABS 0x20 #define BPF_IND 0x40 #define BPF_MEM 0x60 @@ -244,8 +243,8 @@ struct bpf_program { */ struct bpf_insn { u_short code; - u_char jt; - u_char jf; + u_char jt; + u_char jf; bpf_u_int32 k; };