equal
deleted
inserted
replaced
1 udp.h |
1 /* UDP.H |
|
2 * |
|
3 * Portions copyright (c) 1997-1999 Symbian Ltd. All rights reserved. |
|
4 */ |
|
5 |
|
6 /* |
|
7 * Copyright (c) 1982, 1986 Regents of the University of California. |
|
8 * All rights reserved. The Berkeley software License Agreement |
|
9 * specifies the terms and conditions for redistribution. |
|
10 */ |
|
11 |
|
12 /* |
|
13 * Udp protocol header. |
|
14 * Per RFC 768, September, 1981. |
|
15 */ |
|
16 |
|
17 #ifndef _NETINET_UDP_H |
|
18 #define _NETINET_UDP_H |
|
19 |
|
20 #ifdef __cplusplus |
|
21 extern "C" { |
|
22 #endif |
|
23 /** |
|
24 @publishedAll |
|
25 @released |
|
26 */ |
|
27 struct udphdr { |
|
28 u_short uh_sport; /* source port */ |
|
29 u_short uh_dport; /* destination port */ |
|
30 short uh_ulen; /* udp length */ |
|
31 u_short uh_sum; /* udp checksum */ |
|
32 }; |
|
33 |
|
34 #ifdef __cplusplus |
|
35 } |
|
36 #endif |
|
37 |
|
38 #endif /* _NETINET_UDP_H */ |