|
|
| version 1.3, 2004/02/14 17:47:41 | version 1.4, 2004/02/14 17:55:50 |
|---|---|
| Line 54 struct ng_bpf_hookprog { | Line 54 struct ng_bpf_hookprog { |
| char ifMatch[NG_HOOKLEN+1]; /* match dest hook */ | char ifMatch[NG_HOOKLEN+1]; /* match dest hook */ |
| char ifNotMatch[NG_HOOKLEN+1]; /* !match dest hook */ | char ifNotMatch[NG_HOOKLEN+1]; /* !match dest hook */ |
| int32_t bpf_prog_len; /* #isns in program */ | int32_t bpf_prog_len; /* #isns in program */ |
| struct bpf_insn bpf_prog[]; /* bpf program */ | struct bpf_insn bpf_prog[__ARRAY_ZERO]; /* bpf program */ |
| }; | }; |
| #define NG_BPF_HOOKPROG_SIZE(numInsn) \ | #define NG_BPF_HOOKPROG_SIZE(numInsn) \ |