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