Deleted Added
full compact
udp_var.h (128019) udp_var.h (133874)
1/*
2 * Copyright (c) 1982, 1986, 1989, 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 * @(#)udp_var.h 8.1 (Berkeley) 6/10/93
1/*
2 * Copyright (c) 1982, 1986, 1989, 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 * @(#)udp_var.h 8.1 (Berkeley) 6/10/93
30 * $FreeBSD: head/sys/netinet/udp_var.h 128019 2004-04-07 20:46:16Z imp $
30 * $FreeBSD: head/sys/netinet/udp_var.h 133874 2004-08-16 18:32:07Z rwatson $
31 */
32
33#ifndef _NETINET_UDP_VAR_H_
34#define _NETINET_UDP_VAR_H_
35
36/*
37 * UDP kernel structures and variables.
38 */
39struct udpiphdr {
31 */
32
33#ifndef _NETINET_UDP_VAR_H_
34#define _NETINET_UDP_VAR_H_
35
36/*
37 * UDP kernel structures and variables.
38 */
39struct udpiphdr {
40 struct ipovly ui_i; /* overlaid ip structure */
40 struct ipovly ui_i; /* overlaid ip structure */
41 struct udphdr ui_u; /* udp header */
42};
43#define ui_x1 ui_i.ih_x1
44#define ui_pr ui_i.ih_pr
45#define ui_len ui_i.ih_len
46#define ui_src ui_i.ih_src
47#define ui_dst ui_i.ih_dst
48#define ui_sport ui_u.uh_sport

--- 63 unchanged lines hidden ---
41 struct udphdr ui_u; /* udp header */
42};
43#define ui_x1 ui_i.ih_x1
44#define ui_pr ui_i.ih_pr
45#define ui_len ui_i.ih_len
46#define ui_src ui_i.ih_src
47#define ui_dst ui_i.ih_dst
48#define ui_sport ui_u.uh_sport

--- 63 unchanged lines hidden ---