Deleted Added
sdiff udiff text old ( 56016 ) new ( 62587 )
full compact
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
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 *
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
79struct mbuf;
80struct sockaddr;
81struct socket;
82struct domain;
83struct proc;
84struct ip6_hdr;
85struct pr_usrreqs;
86
87/*
88 * argument type for the last arg of pr_ctlinput().
89 * should be consulted only with AF_INET6 family.
90 */
91struct ip6ctlparam {
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 */
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 ---