home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilss / sockets / include / netinet / h / udp < prev   
Encoding:
Text File  |  1995-01-11  |  899 b   |  36 lines

  1. /*
  2.  * $Header: /ax/networking:include/netinet/udp.h:networking  1.1  $
  3.  * $Source: /ax/networking:include/netinet/udp.h: $
  4.  *
  5.  * Copyright (c) 1988 Acorn Computers Ltd., Cambridge, England
  6.  *
  7.  * $Log:    udp.h,v $
  8.  * Revision 1.1  95/01/11  10:17:08  kwelton
  9.  * Initial revision
  10.  * 
  11.  * Revision 1.3  88/06/17  20:28:19  beta
  12.  * Acorn Unix initial beta version
  13.  * 
  14.  */
  15. /* @(#)udp.h    1.1 87/07/01 3.2/4.3NFSSRC */
  16. /*
  17.  * Copyright (c) 1982, 1986 Regents of the University of California.
  18.  * All rights reserved.  The Berkeley software License Agreement
  19.  * specifies the terms and conditions for redistribution.
  20.  *
  21.  *    @(#)udp.h    7.1 (Berkeley) 6/5/86
  22.  */
  23.  
  24. /*
  25.  * Udp protocol header.
  26.  * Per RFC 768, September, 1981.
  27.  */
  28. struct udphdr {
  29.     u_short    uh_sport;        /* source port */
  30.     u_short    uh_dport;        /* destination port */
  31.     short    uh_ulen;        /* udp length */
  32.     u_short    uh_sum;            /* udp checksum */
  33. };
  34.  
  35. /* EOF udp.h */
  36.