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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [net/] [tcpip/] [current/] [include/] [netinet6/] [tcpipv6.h] - Blame information for rev 792

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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