Deleted Added
full compact
ip6protosw.h (186750) ip6protosw.h (193731)
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 45 unchanged lines hidden (view full) ---

54 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
55 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
56 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
57 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
58 * SUCH DAMAGE.
59 *
60 * @(#)protosw.h 8.1 (Berkeley) 6/2/93
61 * BSDI protosw.h,v 2.3 1996/10/11 16:02:40 pjd Exp
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 45 unchanged lines hidden (view full) ---

54 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
55 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
56 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
57 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
58 * SUCH DAMAGE.
59 *
60 * @(#)protosw.h 8.1 (Berkeley) 6/2/93
61 * BSDI protosw.h,v 2.3 1996/10/11 16:02:40 pjd Exp
62 * $FreeBSD: head/sys/netinet6/ip6protosw.h 186750 2009-01-04 21:13:51Z rwatson $
62 * $FreeBSD: head/sys/netinet6/ip6protosw.h 193731 2009-06-08 17:15:40Z zec $
63 */
64
65#ifndef _NETINET6_IP6PROTOSW_H_
66#define _NETINET6_IP6PROTOSW_H_
67
68/*
69 * Protocol switch table for IPv6.
70 * All other definitions should refer to sys/protosw.h

--- 53 unchanged lines hidden (view full) ---

124 void (*pr_ctlinput) /* control input (from below) */
125 __P((int, struct sockaddr *, void *));
126 int (*pr_ctloutput) /* control output (from above) */
127 __P((struct socket *, struct sockopt *));
128
129/* utility hooks */
130 void (*pr_init) /* initialization hook */
131 __P((void));
63 */
64
65#ifndef _NETINET6_IP6PROTOSW_H_
66#define _NETINET6_IP6PROTOSW_H_
67
68/*
69 * Protocol switch table for IPv6.
70 * All other definitions should refer to sys/protosw.h

--- 53 unchanged lines hidden (view full) ---

124 void (*pr_ctlinput) /* control input (from below) */
125 __P((int, struct sockaddr *, void *));
126 int (*pr_ctloutput) /* control output (from above) */
127 __P((struct socket *, struct sockopt *));
128
129/* utility hooks */
130 void (*pr_init) /* initialization hook */
131 __P((void));
132 void (*pr_destroy) /* cleanup hook */
133 __P((void));
132
133 void (*pr_fasttimo) /* fast timeout (200ms) */
134 __P((void));
135 void (*pr_slowtimo) /* slow timeout (500ms) */
136 __P((void));
137 void (*pr_drain) /* flush any excess space possible */
138 __P((void));
139 struct pr_usrreqs *pr_usrreqs; /* supersedes pr_usrreq() */
140};
141
142#ifdef _KERNEL
143extern struct ip6protosw inet6sw[];
144#endif
145
146#endif /* !_NETINET6_IP6PROTOSW_H_ */
134
135 void (*pr_fasttimo) /* fast timeout (200ms) */
136 __P((void));
137 void (*pr_slowtimo) /* slow timeout (500ms) */
138 __P((void));
139 void (*pr_drain) /* flush any excess space possible */
140 __P((void));
141 struct pr_usrreqs *pr_usrreqs; /* supersedes pr_usrreq() */
142};
143
144#ifdef _KERNEL
145extern struct ip6protosw inet6sw[];
146#endif
147
148#endif /* !_NETINET6_IP6PROTOSW_H_ */