Deleted Added
full compact
ip6protosw.h (56016) ip6protosw.h (62587)
1/* $FreeBSD: head/sys/netinet6/ip6protosw.h 62587 2000-07-04 16:35:15Z itojun $ */
2/* $KAME: ip6protosw.h,v 1.10 2000/03/29 22:51:25 itojun Exp $ */
3
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

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
4/*
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 * 1. Redistributions of source code must retain the above copyright

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

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
29 * $FreeBSD: head/sys/netinet6/ip6protosw.h 56016 2000-01-15 05:20:40Z shin $
30 */
31
32/* BSDI protosw.h,v 2.3 1996/10/11 16:02:40 pjd Exp */
33
34/*-
35 * Copyright (c) 1982, 1986, 1993
36 * The Regents of the University of California. All rights reserved.
37 *

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

69#ifndef _NETINET6_IP6PROTOSW_H_
70#define _NETINET6_IP6PROTOSW_H_
71
72/*
73 * Protocol switch table for IPv6.
74 * All other definitions should refer to sys/protosw.h
75 */
76
32 */
33
34/* BSDI protosw.h,v 2.3 1996/10/11 16:02:40 pjd Exp */
35
36/*-
37 * Copyright (c) 1982, 1986, 1993
38 * The Regents of the University of California. All rights reserved.
39 *

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

71#ifndef _NETINET6_IP6PROTOSW_H_
72#define _NETINET6_IP6PROTOSW_H_
73
74/*
75 * Protocol switch table for IPv6.
76 * All other definitions should refer to sys/protosw.h
77 */
78
77struct mbuf;
78struct sockaddr;
79struct socket;
80struct sockopt;
81struct domain;
82struct proc;
83struct ip6_hdr;
84struct pr_usrreqs;
79struct mbuf;
80struct sockaddr;
81struct socket;
82struct domain;
83struct proc;
84struct ip6_hdr;
85struct pr_usrreqs;
85
86/*
87 * argument type for the last arg of pr_ctlinput().
88 * should be consulted only with AF_INET6 family.
89 */
90struct ip6ctlparam {
86
87/*
88 * argument type for the last arg of pr_ctlinput().
89 * should be consulted only with AF_INET6 family.
90 */
91struct ip6ctlparam {
91 struct mbuf *ip6c_m; /* start of mbuf chain */
92 struct ip6_hdr *ip6c_ip6; /* ip6 header of target packet */
93 int ip6c_off; /* offset of the target proto header */
92 struct mbuf *ip6c_m; /* start of mbuf chain */
93 struct ip6_hdr *ip6c_ip6; /* ip6 header of target packet */
94 int ip6c_off; /* offset of the target proto header */
94};
95
96struct ip6protosw {
97 int pr_type; /* socket type used for */
98 struct domain *pr_domain; /* domain protocol a member of */
99 short pr_protocol; /* protocol number */
100 short pr_flags; /* see below */
101

--- 29 unchanged lines hidden ---
95};
96
97struct ip6protosw {
98 int pr_type; /* socket type used for */
99 struct domain *pr_domain; /* domain protocol a member of */
100 short pr_protocol; /* protocol number */
101 short pr_flags; /* see below */
102

--- 29 unchanged lines hidden ---