xref: /csrg-svn/sys/netinet/udp_var.h (revision 4901)
1 /*	udp_var.h	4.2	81/11/15	*/
2 
3 struct	udpiphdr {
4 	struct 	ipovly ui_i;		/* overlaid ip structure */
5 	struct	udphdr ui_u;		/* udp header */
6 };
7 #define	ui_next		ui_i.ih_next
8 #define	ui_prev		ui_i.ih_prev
9 #define	ui_x1		ui_i.ih_x1
10 #define	ui_pr		ui_i.ih_pr
11 #define	ui_len		ui_i.ih_len
12 #define	ui_src		ui_i.ih_src
13 #define	ui_dst		ui_i.ih_dst
14 #define	ui_sport	ui_u.uh_sport
15 #define	ui_dport	ui_u.uh_dport
16 #define	ui_ulen		ui_u.uh_ulen
17 #define	ui_sum		ui_u.uh_sum
18 
19 #ifdef KERNEL
20 struct	inpcb udb;
21 #endif
22