epoc32/include/libc/netinet/udp.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
williamr@2
     1
/* UDP.H
williamr@2
     2
 * 
williamr@4
     3
 * Portions Copyright (c) 1997-1999 Nokia Corporation and/or its subsidiary(-ies).
williamr@4
     4
 * All rights reserved.
williamr@2
     5
 */
williamr@2
     6
williamr@2
     7
/*
williamr@2
     8
 * Copyright (c) 1982, 1986 Regents of the University of California.
williamr@2
     9
 * All rights reserved.  The Berkeley software License Agreement
williamr@2
    10
 * specifies the terms and conditions for redistribution.
williamr@2
    11
 */
williamr@2
    12
williamr@2
    13
/*
williamr@2
    14
 * Udp protocol header.
williamr@2
    15
 * Per RFC 768, September, 1981.
williamr@2
    16
 */
williamr@2
    17
williamr@2
    18
#ifndef	_NETINET_UDP_H
williamr@2
    19
#define	_NETINET_UDP_H
williamr@2
    20
williamr@2
    21
#ifdef	__cplusplus
williamr@2
    22
extern "C" {
williamr@2
    23
#endif
williamr@2
    24
/**
williamr@2
    25
@publishedAll
williamr@2
    26
@released
williamr@2
    27
*/
williamr@2
    28
struct udphdr {
williamr@2
    29
	u_short	uh_sport;		/* source port */
williamr@2
    30
	u_short	uh_dport;		/* destination port */
williamr@2
    31
	short	uh_ulen;		/* udp length */
williamr@2
    32
	u_short	uh_sum;			/* udp checksum */
williamr@2
    33
};
williamr@2
    34
williamr@2
    35
#ifdef	__cplusplus
williamr@2
    36
}
williamr@2
    37
#endif
williamr@2
    38
williamr@2
    39
#endif	/* _NETINET_UDP_H */