Deleted Added
sdiff udiff text old ( 56016 ) new ( 62587 )
full compact
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 *
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
77struct mbuf;
78struct sockaddr;
79struct socket;
80struct sockopt;
81struct domain;
82struct proc;
83struct ip6_hdr;
84struct 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 {
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 */
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 ---