ip_icmp.h (207369) | ip_icmp.h (269699) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. 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 --- 13 unchanged lines hidden (view full) --- 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 * @(#)ip_icmp.h 8.1 (Berkeley) 6/10/93 | 1/*- 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. 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 --- 13 unchanged lines hidden (view full) --- 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 * @(#)ip_icmp.h 8.1 (Berkeley) 6/10/93 |
30 * $FreeBSD: head/sys/netinet/ip_icmp.h 207369 2010-04-29 11:52:42Z bz $ | 30 * $FreeBSD: head/sys/netinet/ip_icmp.h 269699 2014-08-08 01:57:15Z kevlo $ |
31 */ 32 33#ifndef _NETINET_IP_ICMP_H_ 34#define _NETINET_IP_ICMP_H_ 35 36/* 37 * Interface Control Message Protocol Definitions. 38 * Per RFC 792, September 1981. --- 163 unchanged lines hidden (view full) --- 202 ((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO || \ 203 (type) == ICMP_ROUTERADVERT || (type) == ICMP_ROUTERSOLICIT || \ 204 (type) == ICMP_TSTAMP || (type) == ICMP_TSTAMPREPLY || \ 205 (type) == ICMP_IREQ || (type) == ICMP_IREQREPLY || \ 206 (type) == ICMP_MASKREQ || (type) == ICMP_MASKREPLY) 207 208#ifdef _KERNEL 209void icmp_error(struct mbuf *, int, int, uint32_t, int); | 31 */ 32 33#ifndef _NETINET_IP_ICMP_H_ 34#define _NETINET_IP_ICMP_H_ 35 36/* 37 * Interface Control Message Protocol Definitions. 38 * Per RFC 792, September 1981. --- 163 unchanged lines hidden (view full) --- 202 ((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO || \ 203 (type) == ICMP_ROUTERADVERT || (type) == ICMP_ROUTERSOLICIT || \ 204 (type) == ICMP_TSTAMP || (type) == ICMP_TSTAMPREPLY || \ 205 (type) == ICMP_IREQ || (type) == ICMP_IREQREPLY || \ 206 (type) == ICMP_MASKREQ || (type) == ICMP_MASKREPLY) 207 208#ifdef _KERNEL 209void icmp_error(struct mbuf *, int, int, uint32_t, int); |
210void icmp_input(struct mbuf *, int); | 210int icmp_input(struct mbuf **, int *, int); |
211int ip_next_mtu(int, int); 212#endif 213 214#endif | 211int ip_next_mtu(int, int); 212#endif 213 214#endif |