Deleted Added
full compact
ip_icmp.c (101136) ip_icmp.c (105194)
1/*
2 * Copyright (c) 1982, 1986, 1988, 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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)ip_icmp.c 8.2 (Berkeley) 1/4/94
1/*
2 * Copyright (c) 1982, 1986, 1988, 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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)ip_icmp.c 8.2 (Berkeley) 1/4/94
34 * $FreeBSD: head/sys/netinet/ip_icmp.c 101136 2002-08-01 03:53:04Z rwatson $
34 * $FreeBSD: head/sys/netinet/ip_icmp.c 105194 2002-10-16 01:54:46Z sam $
35 */
36
37#include "opt_ipsec.h"
38#include "opt_mac.h"
39
40#include <sys/param.h>
41#include <sys/systm.h>
42#include <sys/mac.h>

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

746#ifdef ICMPPRINTFS
747 if (icmpprintfs) {
748 char buf[4 * sizeof "123"];
749 strcpy(buf, inet_ntoa(ip->ip_dst));
750 printf("icmp_send dst %s src %s\n",
751 buf, inet_ntoa(ip->ip_src));
752 }
753#endif
35 */
36
37#include "opt_ipsec.h"
38#include "opt_mac.h"
39
40#include <sys/param.h>
41#include <sys/systm.h>
42#include <sys/mac.h>

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

746#ifdef ICMPPRINTFS
747 if (icmpprintfs) {
748 char buf[4 * sizeof "123"];
749 strcpy(buf, inet_ntoa(ip->ip_dst));
750 printf("icmp_send dst %s src %s\n",
751 buf, inet_ntoa(ip->ip_src));
752 }
753#endif
754 (void) ip_output(m, opts, rt, 0, NULL);
754 (void) ip_output(m, opts, rt, 0, NULL, NULL);
755}
756
757n_time
758iptime()
759{
760 struct timeval atv;
761 u_long t;
762

--- 114 unchanged lines hidden ---
755}
756
757n_time
758iptime()
759{
760 struct timeval atv;
761 u_long t;
762

--- 114 unchanged lines hidden ---