.pru_attach and kernel warnings
Garrett Wollman
wollman at hergotha.csail.mit.edu
Sat Aug 16 05:40:22 UTC 2008
In article <200808161356.26891.rfrench at freebsd.org>,
rfrench at freebsd.org writes:
>static int
>mpls_attach(struct socket *so)
The prototype for a protocol attach functions is
int (*pru_attach)(struct socket *so, int proto, struct thread *td);
(see sys/protosw.h). You don't have to use these arguments, but you
do have to declare them properly.
-GAWollman
More information about the freebsd-net
mailing list