}
static int
-m_xword(m, k, err)
- register struct mbuf *m;
- register int k, *err;
+m_xword(struct mbuf *m, int k, int *err)
{
register int len;
register u_char *cp, *np;
}
static int
-m_xhalf(m, k, err)
- register struct mbuf *m;
- register int k, *err;
+m_xhalf(struct mbuf *m, int k, int *err)
{
register int len;
register u_char *cp;
*/
u_int
-bpf_filter_with_aux_data(pc, p, wirelen, buflen, aux_data)
- register const struct bpf_insn *pc;
- register const u_char *p;
- u_int wirelen;
- register u_int buflen;
- register const struct bpf_aux_data *aux_data;
+bpf_filter_with_aux_data(const struct bpf_insn *pc, const u_char *p,
+ u_int wirelen, u_int buflen, const struct bpf_aux_data *aux_data)
{
register u_int32 A, X;
register bpf_u_int32 k;
}
u_int
-bpf_filter(pc, p, wirelen, buflen)
- register const struct bpf_insn *pc;
- register const u_char *p;
- u_int wirelen;
- register u_int buflen;
+bpf_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen,
+ u_int buflen)
{
return bpf_filter_with_aux_data(pc, p, wirelen, buflen, NULL);
}
* Otherwise, a bogus program could easily crash the system.
*/
int
-bpf_validate(f, len)
- const struct bpf_insn *f;
- int len;
+bpf_validate(const struct bpf_insn *f, int len)
{
u_int i, from;
const struct bpf_insn *p;