home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilss / sockets / include / netinet / h / tcpip < prev    next >
Encoding:
Text File  |  1995-01-11  |  1.3 KB  |  50 lines

  1. /*
  2.  * $Header: /ax/networking:include/netinet/tcpip.h:networking  1.1  $
  3.  * $Source: /ax/networking:include/netinet/tcpip.h: $
  4.  *
  5.  * Copyright (c) 1988 Acorn Computers Ltd., Cambridge, England
  6.  *
  7.  * $Log:    tcpip.h,v $
  8.  * Revision 1.1  95/01/11  10:17:07  kwelton
  9.  * Initial revision
  10.  * 
  11.  * Revision 1.3  88/06/17  20:28:16  beta
  12.  * Acorn Unix initial beta version
  13.  * 
  14.  */
  15. /* @(#)tcpip.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.  *    @(#)tcpip.h    7.1 (Berkeley) 6/5/86
  22.  */
  23.  
  24. /*
  25.  * Tcp+ip header, after ip options removed.
  26.  */
  27. struct tcpiphdr {
  28.     struct     ipovly ti_i;        /* overlaid ip structure */
  29.     struct    tcphdr ti_t;        /* tcp header */
  30. };
  31. #define    ti_next        ti_i.ih_next
  32. #define    ti_prev        ti_i.ih_prev
  33. #define    ti_x1        ti_i.ih_x1
  34. #define    ti_pr        ti_i.ih_pr
  35. #define    ti_len        ti_i.ih_len
  36. #define    ti_src        ti_i.ih_src
  37. #define    ti_dst        ti_i.ih_dst
  38. #define    ti_sport    ti_t.th_sport
  39. #define    ti_dport    ti_t.th_dport
  40. #define    ti_seq        ti_t.th_seq
  41. #define    ti_ack        ti_t.th_ack
  42. #define    ti_x2        ti_t.th_x2
  43. #define    ti_off        ti_t.th_off
  44. #define    ti_flags    ti_t.th_flags
  45. #define    ti_win        ti_t.th_win
  46. #define    ti_sum        ti_t.th_sum
  47. #define    ti_urp        ti_t.th_urp
  48.  
  49. /* EOF tcpip.h */
  50.