- Sync with ng_bpf.h, rev. 1.7
- Remove extra brace. Submitted by: Anton Yuzhaninov <citrin rambler-co.ru>
This commit is contained in:
parent
8f75133bdf
commit
c137427647
@ -35,7 +35,7 @@
|
||||
.\" $FreeBSD$
|
||||
.\" $Whistle: ng_bpf.8,v 1.2 1999/12/03 01:57:12 archie Exp $
|
||||
.\"
|
||||
.Dd December 2, 1999
|
||||
.Dd May 30, 2007
|
||||
.Dt NG_BPF 4
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -91,7 +91,7 @@ struct ng_bpf_hookprog {
|
||||
char ifMatch[NG_HOOKSIZ]; /* match dest hook */
|
||||
char ifNotMatch[NG_HOOKSIZ]; /* !match dest hook */
|
||||
int32_t bpf_prog_len; /* #isns in program */
|
||||
struct bpf_insn bpf_prog[0]; /* bpf program */
|
||||
struct bpf_insn bpf_prog[]; /* bpf program */
|
||||
};
|
||||
.Ed
|
||||
.Pp
|
||||
@ -175,7 +175,7 @@ BPFPROG=`tcpdump -s 8192 -ddd ${PATTERN} | awk -f /tmp/bpf.awk`
|
||||
ngctl msg ${NODEPATH} setprogram { thisHook=\\"${INHOOK}\\" \\
|
||||
ifMatch=\\"${MATCHHOOK}\\" \\
|
||||
ifNotMatch=\\"${NOTMATCHHOOK}\\" \\
|
||||
${BPFPROG} } }
|
||||
${BPFPROG} }
|
||||
.Ed
|
||||
.Sh SEE ALSO
|
||||
.Xr bpf 4 ,
|
||||
|
Loading…
x
Reference in New Issue
Block a user