epoc32/include/libc/netinet/udp.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 0 061f57f2323e
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     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 */