OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [ecos-2.0/] [packages/] [net/] [tcpip/] [v2_0/] [include/] [netinet6/] [tcpipv6.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1254 phoenix
//==========================================================================
2
//
3
//      include/netinet6_tcpipv6.h
4
//
5
//      
6
//
7
//==========================================================================
8
//####BSDCOPYRIGHTBEGIN####
9
//
10
// -------------------------------------------
11
//
12
// Portions of this software may have been derived from OpenBSD or other sources,
13
// and are covered by the appropriate copyright disclaimers included herein.
14
//
15
// -------------------------------------------
16
//
17
//####BSDCOPYRIGHTEND####
18
//==========================================================================
19
//#####DESCRIPTIONBEGIN####
20
//
21
// Author(s):    gthomas
22
// Contributors: gthomas
23
// Date:         2000-01-10
24
// Purpose:      
25
// Description:  
26
//              
27
//
28
//####DESCRIPTIONEND####
29
//
30
//==========================================================================
31
 
32
 
33
/* $OpenBSD: tcpipv6.h,v 1.4 1999/12/10 08:53:18 angelos Exp $ */
34
 
35
/*
36
%%% copyright-nrl-95
37
This software is Copyright 1995-1998 by Randall Atkinson, Ronald Lee,
38
Daniel McDonald, Bao Phan, and Chris Winters. All Rights Reserved. All
39
rights under this copyright have been assigned to the US Naval Research
40
Laboratory (NRL). The NRL Copyright Notice and License Agreement Version
41
1.1 (January 17, 1995) applies to this software.
42
You should have received a copy of the license with this software. If you
43
didn't get a copy, you may request one from <license@ipv6.nrl.navy.mil>.
44
 
45
*/
46
 
47
#ifndef _NETINET6_TCPIPV6_H
48
#define _NETINET6_TCPIPV6_H 1
49
 
50
#include <netinet6/ip6.h>
51
#include <netinet/tcp.h>
52
 
53
struct tcpipv6hdr {
54
        struct ip6_hdr ti6_i;
55
        struct tcphdr ti6_t;
56
};
57
 
58
#define ti6_src         ti6_i.ipv6_src
59
#define ti6_dst         ti6_i.ipv6_dst
60
#define ti6_sport       ti6_t.th_sport
61
#define ti6_dport       ti6_t.th_dport
62
#define ti6_seq         ti6_t.th_seq
63
#define ti6_ack         ti6_t.th_ack
64
#define ti6_x2          ti6_t.th_x2
65
#define ti6_off         ti6_t.th_off
66
#define ti6_flags       ti6_t.th_flags
67
#define ti6_win         ti6_t.th_win
68
#define ti6_sum         ti6_t.th_sum
69
#define ti6_urp         ti6_t.th_urp
70
 
71
#endif /* _NETINET6_TCPIPV6_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.