1: /*
   2:  * Copyright (c) 1982, 1986 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)tcpip.h	7.1 (Berkeley) 6/5/86
   7:  */
   8: 
   9: /*
  10:  * Tcp+ip header, after ip options removed.
  11:  */
  12: struct tcpiphdr {
  13:     struct  ipovly ti_i;        /* overlaid ip structure */
  14:     struct  tcphdr ti_t;        /* tcp header */
  15: };
  16: #define ti_next     ti_i.ih_next
  17: #define ti_prev     ti_i.ih_prev
  18: #define ti_x1       ti_i.ih_x1
  19: #define ti_pr       ti_i.ih_pr
  20: #define ti_len      ti_i.ih_len
  21: #define ti_src      ti_i.ih_src
  22: #define ti_dst      ti_i.ih_dst
  23: #define ti_sport    ti_t.th_sport
  24: #define ti_dport    ti_t.th_dport
  25: #define ti_seq      ti_t.th_seq
  26: #define ti_ack      ti_t.th_ack
  27: #define ti_x2       ti_t.th_x2
  28: #define ti_off      ti_t.th_off
  29: #define ti_flags    ti_t.th_flags
  30: #define ti_win      ti_t.th_win
  31: #define ti_sum      ti_t.th_sum
  32: #define ti_urp      ti_t.th_urp

Defined struct's

tcpiphdr defined in line 12; used 112 times

Defined macros

ti_dport defined in line 24; used 4 times
ti_dst defined in line 22; used 7 times
ti_next defined in line 16; used 8 times
ti_pr defined in line 19; used 1 times
ti_prev defined in line 17; used 10 times
ti_sport defined in line 23; used 4 times
ti_src defined in line 21; used 6 times
ti_x1 defined in line 18; used 3 times
ti_x2 defined in line 27; used 2 times

Usage of this include

Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1026
Valid CSS Valid XHTML 1.0 Strict