Index: bpf_filter.c =================================================================== RCS file: /cvs/src/sys/net/bpf_filter.c,v retrieving revision 1.24 diff -u -p -r1.24 bpf_filter.c --- bpf_filter.c 13 Feb 2011 22:41:10 -0000 1.24 +++ bpf_filter.c 18 Sep 2014 09:33:28 -0000 @@ -88,10 +88,7 @@ int bpf_m_xword(struct mbuf *, u_int32_t int bpf_m_xhalf(struct mbuf *, u_int32_t, int *); int -bpf_m_xword(m, k, err) - struct mbuf *m; - u_int32_t k; - int *err; +bpf_m_xword(struct mbuf *m, u_int32_t k, int *err) { int len; u_char *cp, *np; @@ -123,10 +120,7 @@ bpf_m_xword(m, k, err) } int -bpf_m_xhalf(m, k, err) - struct mbuf *m; - u_int32_t k; - int *err; +bpf_m_xhalf(struct mbuf *m, u_int32_t k, int *err) { int len; u_char *cp; @@ -155,11 +149,7 @@ bpf_m_xhalf(m, k, err) * buflen is the amount of data present */ u_int -bpf_filter(pc, p, wirelen, buflen) - struct bpf_insn *pc; - u_char *p; - u_int wirelen; - u_int buflen; +bpf_filter(struct bpf_insn *pc, u_char *p, u_int wirelen, u_int buflen) { u_int32_t A = 0, X = 0; u_int32_t k; @@ -485,9 +475,7 @@ bpf_filter(pc, p, wirelen, buflen) * Otherwise, a bogus program could easily crash the system. */ int -bpf_validate(f, len) - struct bpf_insn *f; - int len; +bpf_validate(struct bpf_insn *f, int len) { u_int i, from; struct bpf_insn *p;