Deleted Added
full compact
udp_var.h (253084) udp_var.h (254889)
1/*-
2 * Copyright (c) 1982, 1986, 1989, 1993
3 * The Regents of the University of California.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * @(#)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.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * @(#)udp_var.h 8.1 (Berkeley) 6/10/93
31 * $FreeBSD: head/sys/netinet/udp_var.h 253084 2013-07-09 09:50:15Z ae $
31 * $FreeBSD: head/sys/netinet/udp_var.h 254889 2013-08-25 21:54:41Z markj $
32 */
33
34#ifndef _NETINET_UDP_VAR_H_
35#define _NETINET_UDP_VAR_H_
36
37/*
38 * UDP kernel structures and variables.
39 */
40struct udpiphdr {
41 struct ipovly ui_i; /* overlaid ip structure */
42 struct udphdr ui_u; /* udp header */
43};
44#define ui_x1 ui_i.ih_x1
32 */
33
34#ifndef _NETINET_UDP_VAR_H_
35#define _NETINET_UDP_VAR_H_
36
37/*
38 * UDP kernel structures and variables.
39 */
40struct udpiphdr {
41 struct ipovly ui_i; /* overlaid ip structure */
42 struct udphdr ui_u; /* udp header */
43};
44#define ui_x1 ui_i.ih_x1
45#define ui_v ui_i.ih_x1[0]
45#define ui_pr ui_i.ih_pr
46#define ui_len ui_i.ih_len
47#define ui_src ui_i.ih_src
48#define ui_dst ui_i.ih_dst
49#define ui_sport ui_u.uh_sport
50#define ui_dport ui_u.uh_dport
51#define ui_ulen ui_u.uh_ulen
52#define ui_sum ui_u.uh_sum

--- 116 unchanged lines hidden ---
46#define ui_pr ui_i.ih_pr
47#define ui_len ui_i.ih_len
48#define ui_src ui_i.ih_src
49#define ui_dst ui_i.ih_dst
50#define ui_sport ui_u.uh_sport
51#define ui_dport ui_u.uh_dport
52#define ui_ulen ui_u.uh_ulen
53#define ui_sum ui_u.uh_sum

--- 116 unchanged lines hidden ---