version 1.81, 2004/09/04 23:30:07 |
version 1.82, 2005/02/02 21:41:55 |
Line 102 __KERNEL_RCSID(0, "$NetBSD$"); |
|
Line 102 __KERNEL_RCSID(0, "$NetBSD$"); |
|
|
|
struct inpcbtable rawcbtable; |
struct inpcbtable rawcbtable; |
|
|
int rip_pcbnotify __P((struct inpcbtable *, struct in_addr, |
int rip_pcbnotify(struct inpcbtable *, struct in_addr, |
struct in_addr, int, int, void (*) __P((struct inpcb *, int)))); |
struct in_addr, int, int, void (*)(struct inpcb *, int)); |
int rip_bind __P((struct inpcb *, struct mbuf *)); |
int rip_bind(struct inpcb *, struct mbuf *); |
int rip_connect __P((struct inpcb *, struct mbuf *)); |
int rip_connect(struct inpcb *, struct mbuf *); |
void rip_disconnect __P((struct inpcb *)); |
void rip_disconnect(struct inpcb *); |
|
|
/* |
/* |
* Nominal space allocated to a raw ip socket. |
* Nominal space allocated to a raw ip socket. |
Line 241 rip_pcbnotify(table, faddr, laddr, proto |
|
Line 241 rip_pcbnotify(table, faddr, laddr, proto |
|
struct in_addr faddr, laddr; |
struct in_addr faddr, laddr; |
int proto; |
int proto; |
int errno; |
int errno; |
void (*notify) __P((struct inpcb *, int)); |
void (*notify)(struct inpcb *, int); |
{ |
{ |
struct inpcb *inp, *ninp; |
struct inpcb *inp, *ninp; |
int nmatch; |
int nmatch; |
Line 272 rip_ctlinput(cmd, sa, v) |
|
Line 272 rip_ctlinput(cmd, sa, v) |
|
void *v; |
void *v; |
{ |
{ |
struct ip *ip = v; |
struct ip *ip = v; |
void (*notify) __P((struct inpcb *, int)) = in_rtchange; |
void (*notify)(struct inpcb *, int) = in_rtchange; |
int errno; |
int errno; |
|
|
if (sa->sa_family != AF_INET || |
if (sa->sa_family != AF_INET || |