Deleted Added
full compact
62c62
< * $FreeBSD: head/sys/netinet6/ip6protosw.h 267763 2014-06-23 05:17:39Z kevlo $
---
> * $FreeBSD: head/sys/netinet6/ip6protosw.h 269699 2014-08-08 01:57:15Z kevlo $
113,143d112
< struct ip6protosw {
< short pr_type; /* socket type used for */
< struct domain *pr_domain; /* domain protocol a member of */
< short pr_protocol; /* protocol number */
< short pr_flags; /* see below */
<
< /* protocol-protocol hooks */
< int (*pr_input) /* input to protocol (from below) */
< (struct mbuf **, int *, int);
< int (*pr_output) /* output to protocol (from above) */
< (struct mbuf *, ...);
< void (*pr_ctlinput) /* control input (from below) */
< (int, struct sockaddr *, void *);
< int (*pr_ctloutput) /* control output (from above) */
< (struct socket *, struct sockopt *);
<
< /* utility hooks */
< void (*pr_init) /* initialization hook */
< (void);
< void (*pr_destroy) /* cleanup hook */
< (void);
<
< void (*pr_fasttimo) /* fast timeout (200ms) */
< (void);
< void (*pr_slowtimo) /* slow timeout (500ms) */
< (void);
< void (*pr_drain) /* flush any excess space possible */
< (void);
< struct pr_usrreqs *pr_usrreqs; /* user-protocol hook */
< };
<
145c114
< extern struct ip6protosw inet6sw[];
---
> extern struct protosw inet6sw[];