Deleted Added
full compact
in_cksum.c (1247) in_cksum.c (2056)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
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

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

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 * from tahoe: in_cksum.c 1.2 86/01/05
34 * from: @(#)in_cksum.c 1.3 (Berkeley) 1/19/91
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
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

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

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 * from tahoe: in_cksum.c 1.2 86/01/05
34 * from: @(#)in_cksum.c 1.3 (Berkeley) 1/19/91
35 * $Id: in_cksum.c,v 1.4 1993/12/19 00:50:02 wollman Exp $
35 * $Id: in_cksum.c,v 1.5 1994/03/07 11:47:30 davidg Exp $
36 */
37
36 */
37
38#include "param.h"
39#include "systm.h"
40#include "sys/mbuf.h"
38#include <sys/param.h>
39#include <sys/systm.h>
40#include <sys/mbuf.h>
41
42/*
43 * Checksum routine for Internet Protocol family headers.
44 *
45 * This routine is very heavily used in the network
46 * code and should be modified for each CPU to be as fast as possible.
47 *
48 * This implementation is 386 version.

--- 189 unchanged lines hidden ---
41
42/*
43 * Checksum routine for Internet Protocol family headers.
44 *
45 * This routine is very heavily used in the network
46 * code and should be modified for each CPU to be as fast as possible.
47 *
48 * This implementation is 386 version.

--- 189 unchanged lines hidden ---