Commit | Line | Data |
---|---|---|
eb44bfb2 | 1 | /* udp_var.h 4.2 81/11/15 */ |
dcfc0daf | 2 | |
eb44bfb2 BJ |
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 | |
dcfc0daf | 20 | struct inpcb udb; |
eb44bfb2 | 21 | #endif |