projects
/
l2tpns.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update changelog
[l2tpns.git]
/
ipv6_u.h
1
2
#ifndef __IPV6_U_H__
3
#define __IPV6_U_H__
4
5
struct
ipv6_pseudo_hdr
{
6
struct
in6_addr src
;
7
struct
in6_addr dest
;
8
uint32_t
ulp_length
;
9
uint32_t
zero
:
24
;
10
uint32_t
nexthdr
:
8
;
11
}
__attribute__
((
packed
));
12
13
// dhcp6.c
14
uint16_t
ipv6_checksum
(
struct
ipv6_pseudo_hdr
*
p_pshdr
,
uint8_t
*
buff
,
int
lenbuff
);
15
16
#endif
/* __IPV6_U_H__ */