4.4BSD snapshot (revision 8.1); add 1993 to copyright
[unix-history] / usr / src / sys / netinet / tcpip.h
CommitLineData
8ae0e4b4 1/*
e7a3707f
KB
2 * Copyright (c) 1982, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
8ae0e4b4 4 *
dbf0c423 5 * %sccs.include.redist.c%
2b6b6284 6 *
e7a3707f 7 * @(#)tcpip.h 8.1 (Berkeley) %G%
8ae0e4b4 8 */
88ba45d6
BJ
9
10/*
11 * Tcp+ip header, after ip options removed.
12 */
13struct tcpiphdr {
14 struct ipovly ti_i; /* overlaid ip structure */
15 struct tcphdr ti_t; /* tcp header */
16};
17#define ti_next ti_i.ih_next
18#define ti_prev ti_i.ih_prev
19#define ti_x1 ti_i.ih_x1
20#define ti_pr ti_i.ih_pr
21#define ti_len ti_i.ih_len
22#define ti_src ti_i.ih_src
23#define ti_dst ti_i.ih_dst
24#define ti_sport ti_t.th_sport
25#define ti_dport ti_t.th_dport
26#define ti_seq ti_t.th_seq
27#define ti_ack ti_t.th_ack
28#define ti_x2 ti_t.th_x2
29#define ti_off ti_t.th_off
30#define ti_flags ti_t.th_flags
31#define ti_win ti_t.th_win
32#define ti_sum ti_t.th_sum
33#define ti_urp ti_t.th_urp