2 * Copyright (c) 1982, 1986 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
8 * UDP kernel structures and variables.
11 #ifndef _NETINET_UDP_VAR_H
12 #define _NETINET_UDP_VAR_H
14 #pragma ident "%Z%%M% %I% %E% SMI"
15 /* udp_var.h 1.8 88/08/19 SMI; from UCB 7.1 6/5/86 */
22 struct ipovly ui_i
; /* overlaid ip structure */
23 struct udphdr ui_u
; /* udp header */
25 #define ui_next ui_i.ih_next
26 #define ui_prev ui_i.ih_prev
27 #define ui_x1 ui_i.ih_x1
28 #define ui_pr ui_i.ih_pr
29 #define ui_len ui_i.ih_len
30 #define ui_src ui_i.ih_src
31 #define ui_dst ui_i.ih_dst
32 #define ui_sport ui_u.uh_sport
33 #define ui_dport ui_u.uh_dport
34 #define ui_ulen ui_u.uh_ulen
35 #define ui_sum ui_u.uh_sum
44 #define UDP_TTL 30 /* time to live for UDP packets */
50 #endif /* _NETINET_UDP_VAR_H */