ip_icmp.h (188578) | ip_icmp.h (207369) |
---|---|
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 188578 2009-02-13 15:14:43Z luigi $ | 30 * $FreeBSD: head/sys/netinet/ip_icmp.h 207369 2010-04-29 11:52:42Z bz $ |
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. --- 164 unchanged lines hidden (view full) --- 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); | 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. --- 164 unchanged lines hidden (view full) --- 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); |
211void icmp_init(void); | |
212int ip_next_mtu(int, int); 213#endif 214 215#endif | 211int ip_next_mtu(int, int); 212#endif 213 214#endif |