http://git.etherboot.org
/
people
/
meteger
/
gpxe.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Removed some bugs in TCP
[people/meteger/gpxe.git]
/
src
/
include
/
gpxe
/
ip6.h
1
#ifndef _GPXE_IP6_H
2
#define _GPXE_IP6_H
3
4
/** @file
5
*
6
* IP6 protocol
7
*
8
*/
9
10
#include <ip.h>
11
12
/* IP6 constants */
13
14
#define IP6_VERSION 0x6
15
#define IP6_HOP_LIMIT 64
16
17
/* IP6 header */
18
19
struct ip6_header {
20
uint32_t vers:4,
21
traffic_class:8,
22
flow_label:20;
23
uint16_t payload_len;
24
uint8_t nxt_hdr;
25
uint8_t hop_limit;
26
struct in6_addr src;
27
struct in6_addr dest;
28
};
29
30
struct pk_buff;
31
struct net_device;
32
struct net_protocol;
33
34
extern struct net_protocol ipv6_protocol;
35
36
extern int ipv6_tx ( struct pk_buff *pkb, uint16_t trans_proto, struct in6_addr *dest );
37
38
#endif /* _GPXE_IP6_H */