Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4680 right-hear 1
#ifndef _NETINET_UDP_H
2
#define _NETINET_UDP_H
3
 
4
#include 
5
#include 
6
 
7
__BEGIN_DECLS
8
 
9
struct udphdr {		/* size 8     28/0x1c with IP header */
10
  uint16_t source;	/* offset 0   20/0x14 */
11
  uint16_t dest;	/* offset 2   22/0x16 */
12
  uint16_t len;		/* offset 4   24/0x18 */
13
  uint16_t check;	/* offset 6   26/0x1a */
14
};
15
 
16
#define SOL_UDP            17      /* sockopt level for UDP */
17
 
18
__END_DECLS
19
 
20
#endif