Deleted Added
full compact
in6_cksum.c (78064) in6_cksum.c (103842)
1/* $FreeBSD: head/sys/netinet6/in6_cksum.c 78064 2001-06-11 12:39:29Z ume $ */
1/* $FreeBSD: head/sys/netinet6/in6_cksum.c 103842 2002-09-23 06:25:08Z alfred $ */
2/* $KAME: in6_cksum.c,v 1.10 2000/12/03 00:53:59 itojun Exp $ */
3
4/*
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

105#endif
106 struct ip6_hdr *ip6;
107 union {
108 u_int16_t phs[4];
109 struct {
110 u_int32_t ph_len;
111 u_int8_t ph_zero[3];
112 u_int8_t ph_nxt;
2/* $KAME: in6_cksum.c,v 1.10 2000/12/03 00:53:59 itojun Exp $ */
3
4/*
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

105#endif
106 struct ip6_hdr *ip6;
107 union {
108 u_int16_t phs[4];
109 struct {
110 u_int32_t ph_len;
111 u_int8_t ph_zero[3];
112 u_int8_t ph_nxt;
113 } ph __attribute__((__packed__));
113 } ph __packed;
114 } uph;
115 union {
116 u_int8_t c[2];
117 u_int16_t s;
118 } s_util;
119 union {
120 u_int16_t s[2];
121 u_int32_t l;

--- 200 unchanged lines hidden ---
114 } uph;
115 union {
116 u_int8_t c[2];
117 u_int16_t s;
118 } s_util;
119 union {
120 u_int16_t s[2];
121 u_int32_t l;

--- 200 unchanged lines hidden ---