ip6_input.c (55873) | ip6_input.c (56555) |
---|---|
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 * | 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/ip6_input.c 55873 2000-01-13 05:12:48Z shin $ | 29 * $FreeBSD: head/sys/netinet6/ip6_input.c 56555 2000-01-24 20:39:02Z brian $ |
30 */ 31 32/* 33 * Copyright (c) 1982, 1986, 1988, 1993 34 * The Regents of the University of California. All rights reserved. 35 * 36 * Redistribution and use in source and binary forms, with or without 37 * modification, are permitted provided that the following conditions --- 42 unchanged lines hidden (view full) --- 80#include <sys/syslog.h> 81#include <sys/proc.h> 82 83#include <net/if.h> 84#include <net/if_types.h> 85#include <net/if_dl.h> 86#include <net/route.h> 87#include <net/netisr.h> | 30 */ 31 32/* 33 * Copyright (c) 1982, 1986, 1988, 1993 34 * The Regents of the University of California. All rights reserved. 35 * 36 * Redistribution and use in source and binary forms, with or without 37 * modification, are permitted provided that the following conditions --- 42 unchanged lines hidden (view full) --- 80#include <sys/syslog.h> 81#include <sys/proc.h> 82 83#include <net/if.h> 84#include <net/if_types.h> 85#include <net/if_dl.h> 86#include <net/route.h> 87#include <net/netisr.h> |
88#include <net/intrq.h> |
|
88 89#include <netinet/in.h> 90#include <netinet/in_systm.h> 91#include <netinet/ip.h> 92#include <netinet/ip_icmp.h> 93#include <netinet/in_pcb.h> 94#include <netinet6/in6_var.h> 95#include <netinet6/ip6.h> --- 22 unchanged lines hidden (view full) --- 118#include <net/net_osdep.h> 119 120extern struct domain inet6domain; 121extern struct ip6protosw inet6sw[]; 122 123u_char ip6_protox[IPPROTO_MAX]; 124static int ip6qmaxlen = IFQ_MAXLEN; 125struct in6_ifaddr *in6_ifaddr; | 89 90#include <netinet/in.h> 91#include <netinet/in_systm.h> 92#include <netinet/ip.h> 93#include <netinet/ip_icmp.h> 94#include <netinet/in_pcb.h> 95#include <netinet6/in6_var.h> 96#include <netinet6/ip6.h> --- 22 unchanged lines hidden (view full) --- 119#include <net/net_osdep.h> 120 121extern struct domain inet6domain; 122extern struct ip6protosw inet6sw[]; 123 124u_char ip6_protox[IPPROTO_MAX]; 125static int ip6qmaxlen = IFQ_MAXLEN; 126struct in6_ifaddr *in6_ifaddr; |
126struct ifqueue ip6intrq; | |
127 128int ip6_forward_srcrt; /* XXX */ 129int ip6_sourcecheck; /* XXX */ 130int ip6_sourcecheck_interval; /* XXX */ 131 | 127 128int ip6_forward_srcrt; /* XXX */ 129int ip6_sourcecheck; /* XXX */ 130int ip6_sourcecheck_interval; /* XXX */ 131 |
132const int int6intrq_present = 1; 133 |
|
132#ifdef IPV6FIREWALL 133/* firewall hooks */ 134ip6_fw_chk_t *ip6_fw_chk_ptr; 135ip6_fw_ctl_t *ip6_fw_ctl_ptr; 136#endif 137 138struct ip6stat ip6stat; 139 --- 868 unchanged lines hidden --- | 134#ifdef IPV6FIREWALL 135/* firewall hooks */ 136ip6_fw_chk_t *ip6_fw_chk_ptr; 137ip6_fw_ctl_t *ip6_fw_ctl_ptr; 138#endif 139 140struct ip6stat ip6stat; 141 --- 868 unchanged lines hidden --- |