# 2.11BSD#431 - /usr/src/sys/netinet/tcpip.h

##### Macros

    ti_ack            X
    ti_dport          X
    ti_dst            X
    ti_flags          X
    ti_len            X
    ti_next           X
    ti_off            X
    ti_pad            X
    ti_pr             X
    ti_prev           X
    ti_seq            X
    ti_sport          X
    ti_src            X
    ti_sum            X
    ti_urp            X
    ti_win            X
    ti_x1             X
    ti_x2             X

##### struct's

    tcpiphdr          X

       1: /*
       2:  * Copyright (c) 1982, 1986 Regents of the University of California.
       3:  * All rights reserved.
       4:  *
       5:  * Redistribution and use in source and binary forms are permitted
       6:  * provided that this notice is preserved and that due credit is given
       7:  * to the University of California at Berkeley. The name of the University
       8:  * may not be used to endorse or promote products derived from this
       9:  * software without specific prior written permission. This software
      10:  * is provided ``as is'' without express or implied warranty.
      11:  *
      12:  *	@(#)tcpip.h	7.2 (Berkeley) 12/7/87
      13:  */
      14:
      15: /*
      16:  * Tcp+ip header, after ip options removed.
      17:  */
      18: struct tcpiphdr {
      19:     struct  ipovly ti_i;        /* overlaid ip structure */
      20:     struct  tcphdr ti_t;        /* tcp header */
      21: };
      22: #define ti_next     ti_i.ih_next
      23: #define ti_prev     ti_i.ih_prev
      24: #define ti_pad      ti_i.ih_pad
      25: #define ti_x1       ti_i.ih_x1
      26: #define ti_pr       ti_i.ih_pr
      27: #define ti_len      ti_i.ih_len
      28: #define ti_src      ti_i.ih_src
      29: #define ti_dst      ti_i.ih_dst
      30: #define ti_sport    ti_t.th_sport
      31: #define ti_dport    ti_t.th_dport
      32: #define ti_seq      ti_t.th_seq
      33: #define ti_ack      ti_t.th_ack
      34: #define ti_x2       ti_t.th_x2
      35: #define ti_off      ti_t.th_off
      36: #define ti_flags    ti_t.th_flags
      37: #define ti_win      ti_t.th_win
      38: #define ti_sum      ti_t.th_sum
      39: #define ti_urp      ti_t.th_urp

#### Defined struct's

tcpiphdr defined in line 18; used 122 times

- in /usr/src/new/crash/dispnet.c line 538(2), 860-861(4), 874(2)
- in /usr/src/sys/netinet/tcp_debug.c line 57(2)
- in /usr/src/sys/netinet/tcp_input.c line 43(2), 72-74(4), 89-90(4), 99-101(6), 114(2), 123(2), 133(2), 152(2), 161-166(4), 181(2), 201-209(8), 250(2), 256-260(4), 268-269(4), 469(2), 700(2), 1169(2), 1214(2), 1278(2)
- in /usr/src/sys/netinet/tcp_output.c line 56(2), 217-218(4), 241-244(4), 265(2), 329(2), 391(2)
- in /usr/src/sys/netinet/tcp_subr.c line 56(2), 62(2), 68-70(6), 76(2), 107(2), 128-130(6), 138(2), 155-156(4), 176(2), 228(2), 234-235(4)
- in /usr/src/sys/netinet/tcp_usrreq.c line 315(2)
- in /usr/src/usr.sbin/trpt/trpt.c line 238(2)

#### Defined macros

ti_ack defined in line 33; used 25 times

- in /usr/src/sys/netinet/tcp_debug.c line 95
- in /usr/src/sys/netinet/tcp_input.c line 275(2), 445-446(2), 456, 693-694(2), 720, 748, 762, 775-779(2), 790, 847, 878, 952-960(4), 1139
- in /usr/src/sys/netinet/tcp_output.c line 255
- in /usr/src/sys/netinet/tcp_subr.c line 82, 149
- in /usr/src/usr.sbin/trpt/trpt.c line 259

ti_dport defined in line 31; used 5 times

- in /usr/src/sys/netinet/tcp_input.c line 284, 323
- in /usr/src/sys/netinet/tcp_subr.c line 80, 141
- in /usr/src/usr.sbin/trpt/trpt.c line 256

ti_dst defined in line 29; used 8 times

- in /usr/src/sys/netinet/tcp_input.c line 284, 322, 386, 398, 1136
- in /usr/src/sys/netinet/tcp_subr.c line 78, 140
- in /usr/src/usr.sbin/trpt/trpt.c line 255

ti_flags defined in line 36; used 13 times

- in /usr/src/sys/netinet/tcp_debug.c line 109-113(2)
- in /usr/src/sys/netinet/tcp_input.c line 61, 158, 263, 1195
- in /usr/src/sys/netinet/tcp_output.c line 291, 305, 320
- in /usr/src/sys/netinet/tcp_subr.c line 85, 152
- in /usr/src/usr.sbin/trpt/trpt.c line 277-280(2)

ti_len defined in line 27; used 41 times

- in /usr/src/sys/netinet/tcp_debug.c line 96
- in /usr/src/sys/netinet/tcp_input.c line 60-63(2), 103-111(4), 117, 124-129(3), 154-157(2), 221-222(3), 243, 492-493(2), 505, 532-535(3), 546-551(2), 562, 576, 586-590(3), 629, 721, 955, 1011, 1035, 1142-1143(2)
- in /usr/src/sys/netinet/tcp_output.c line 327
- in /usr/src/sys/netinet/tcp_subr.c line 76, 147
- in /usr/src/usr.sbin/trpt/trpt.c line 260

ti_next defined in line 22; used 8 times

- in /usr/src/sys/netinet/tcp_input.c line 90, 114, 133, 161, 218
- in /usr/src/sys/netinet/tcp_subr.c line 72, 144, 235

ti_off defined in line 35; used 4 times

- in /usr/src/sys/netinet/tcp_input.c line 235
- in /usr/src/sys/netinet/tcp_output.c line 289
- in /usr/src/sys/netinet/tcp_subr.c line 84, 151

ti_pad defined in line 24; used 3 times

- in /usr/src/sys/netinet/tcp_input.c line 220
- in /usr/src/sys/netinet/tcp_subr.c line 74, 146

ti_pr defined in line 26; used 1 times

- in /usr/src/sys/netinet/tcp_subr.c line 75

ti_prev defined in line 23; used 10 times

- in /usr/src/sys/netinet/tcp_input.c line 99-101(2), 134-135(2), 142, 218
- in /usr/src/sys/netinet/tcp_subr.c line 72, 144, 236-237(2)

ti_seq defined in line 32; used 37 times

- in /usr/src/sys/netinet/tcp_debug.c line 94
- in /usr/src/sys/netinet/tcp_input.c line 57, 91(2), 103(2), 112, 124-128(3), 152, 166, 274(2), 420, 461, 491, 510-511(2), 521-525(2), 548, 561, 586, 599, 611, 701, 951(2), 959, 996-997(2), 1143
- in /usr/src/sys/netinet/tcp_output.c line 254
- in /usr/src/sys/netinet/tcp_subr.c line 81, 148
- in /usr/src/usr.sbin/trpt/trpt.c line 258

ti_sport defined in line 30; used 5 times

- in /usr/src/sys/netinet/tcp_input.c line 284, 395
- in /usr/src/sys/netinet/tcp_subr.c line 79, 141
- in /usr/src/usr.sbin/trpt/trpt.c line 254

ti_src defined in line 28; used 7 times

- in /usr/src/sys/netinet/tcp_input.c line 225, 238, 284, 394
- in /usr/src/sys/netinet/tcp_subr.c line 77, 140
- in /usr/src/usr.sbin/trpt/trpt.c line 253

ti_sum defined in line 38; used 4 times

- in /usr/src/sys/netinet/tcp_input.c line 223
- in /usr/src/sys/netinet/tcp_output.c line 329
- in /usr/src/sys/netinet/tcp_subr.c line 87, 155

ti_urp defined in line 39; used 18 times

- in /usr/src/sys/netinet/tcp_debug.c line 108
- in /usr/src/sys/netinet/tcp_input.c line 277(2), 526-527(2), 563-567(3), 969, 977-978(2), 996-997(2), 1011, 1217
- in /usr/src/sys/netinet/tcp_output.c line 304
- in /usr/src/sys/netinet/tcp_subr.c line 88, 154

ti_win defined in line 37; used 10 times

- in /usr/src/sys/netinet/tcp_input.c line 276(2), 721, 953-958(3)
- in /usr/src/sys/netinet/tcp_output.c line 302
- in /usr/src/sys/netinet/tcp_subr.c line 86, 153
- in /usr/src/usr.sbin/trpt/trpt.c line 261

ti_x1 defined in line 25; used 3 times

- in /usr/src/sys/netinet/tcp_input.c line 219
- in /usr/src/sys/netinet/tcp_subr.c line 73, 145

ti_x2 defined in line 34; used 2 times

- in /usr/src/sys/netinet/tcp_subr.c line 83, 150

#### Usage of this include

tcpip.h used 11 times

- in /usr/src/new/crash/dispnet.c line 38
- in /usr/src/new/crash/inet.c line 26
- in /usr/src/sys/netinet/tcp_debug.c line 44
- in /usr/src/sys/netinet/tcp_input.c line 37
- in /usr/src/sys/netinet/tcp_output.c line 37
- in /usr/src/sys/netinet/tcp_subr.c line 38
- in /usr/src/sys/netinet/tcp_timer.c line 37
- in /usr/src/sys/netinet/tcp_usrreq.c line 38
- in /usr/src/ucb/PORT/systat/netstat.c line 29
- in /usr/src/ucb/netstat/inet.c line 37
- in /usr/src/usr.sbin/trpt/trpt.c line 40

Last modified: 1988-04-28 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1218 |