icmp6.c (44e33a075818146eb289c39c3ca2817f54517c9f) icmp6.c (97021c246444967a8f441a90076fb4f7ef22fb3a)
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

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

103#include <netinet6/nd6.h>
104
105#ifdef IPSEC
106#include <netipsec/ipsec.h>
107#include <netipsec/key.h>
108#endif
109
110extern struct domain inet6domain;
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

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

103#include <netinet6/nd6.h>
104
105#ifdef IPSEC
106#include <netipsec/ipsec.h>
107#include <netipsec/key.h>
108#endif
109
110extern struct domain inet6domain;
111
112#ifdef VIMAGE_GLOBALS
111extern struct inpcbinfo ripcbinfo;
112extern struct inpcbhead ripcb;
113extern int icmp6errppslim;
114extern int icmp6_nodeinfo;
115
113extern struct inpcbinfo ripcbinfo;
114extern struct inpcbhead ripcb;
115extern int icmp6errppslim;
116extern int icmp6_nodeinfo;
117
116#ifdef VIMAGE_GLOBALS
117struct icmp6stat icmp6stat;
118static int icmp6errpps_count;
119static struct timeval icmp6errppslim_last;
120#endif
121
122static void icmp6_errcount(struct icmp6errstat *, int, int);
123static int icmp6_rip6_input(struct mbuf **, int);
124static int icmp6_ratelimit(const struct in6_addr *, const int, const int);

--- 2698 unchanged lines hidden ---
118struct icmp6stat icmp6stat;
119static int icmp6errpps_count;
120static struct timeval icmp6errppslim_last;
121#endif
122
123static void icmp6_errcount(struct icmp6errstat *, int, int);
124static int icmp6_rip6_input(struct mbuf **, int);
125static int icmp6_ratelimit(const struct in6_addr *, const int, const int);

--- 2698 unchanged lines hidden ---