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
- in /usr/src/sys/netinet/tcp_debug.c line
44(2)
- in /usr/src/sys/netinet/tcp_input.c line
35(2),
62-64(4),
79-80(4),
89-91(6),
101(2),
108(2),
118(2),
137(2),
146-151(4),
166(2),
184-192(8),
232(2),
238-242(4),
250-251(4),
436(2),
596(2),
949(2),
994(2),
1055(2)
- in /usr/src/sys/netinet/tcp_output.c line
49(2),
216-217(4),
223-226(4),
247(2),
312(2),
370(2)
- in /usr/src/sys/netinet/tcp_subr.c line
51(2),
57(2),
63-70(8),
101(2),
117-119(6),
127(2),
144-145(4),
165(2),
205(2),
211-212(4)
- in /usr/src/sys/netinet/tcp_usrreq.c line
308(2)
Defined macros
ti_ack
defined in line
26; used 21 times
- in /usr/src/sys/netinet/tcp_debug.c line
81
- in /usr/src/sys/netinet/tcp_input.c line
257(2),
415-416(2),
425,
586-587(2),
617-621(3),
627,
643,
666,
739-743(3),
919
- in /usr/src/sys/netinet/tcp_output.c line
237
- in /usr/src/sys/netinet/tcp_subr.c line
76,
138
ti_len
defined in line
20; used 34 times
- in /usr/src/sys/netinet/tcp_debug.c line
82
- in /usr/src/sys/netinet/tcp_input.c line
52,
93-98(3),
109-114(3),
139-142(2),
203-204(3),
225,
448-451(3),
464,
482-484(3),
503-508(3),
520-525(3),
794,
815,
922-923(2)
- in /usr/src/sys/netinet/tcp_output.c line
310
- in /usr/src/sys/netinet/tcp_subr.c line
70,
136
ti_pr
defined in line
19; used 1 times
ti_seq
defined in line
25; used 34 times
- in /usr/src/sys/netinet/tcp_debug.c line
80
- in /usr/src/sys/netinet/tcp_input.c line
49,
81(2),
93(2),
99,
109-113(3),
137,
151,
256(2),
391,
429,
447,
454-455(2),
480,
492-496(2),
507,
520,
597,
738-742(3),
779-780(2),
923
- in /usr/src/sys/netinet/tcp_output.c line
236
- in /usr/src/sys/netinet/tcp_subr.c line
75,
137
ti_urp
defined in line
32; used 18 times
ti_x1
defined in line
18; used 3 times
ti_x2
defined in line
27; used 2 times
Usage of this include