git://git.onelab.eu
/
ipfw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sync with the new ipfw3 version.
[ipfw.git]
/
dummynet2
/
include
/
netinet
/
ip.h
diff --git
a/dummynet2/include/netinet/ip.h
b/dummynet2/include/netinet/ip.h
index
bdd8cf0
..
e88551f
100644
(file)
--- a/
dummynet2/include/netinet/ip.h
+++ b/
dummynet2/include/netinet/ip.h
@@
-22,11
+22,11
@@
*/
struct ip {
#if BYTE_ORDER == LITTLE_ENDIAN
*/
struct ip {
#if BYTE_ORDER == LITTLE_ENDIAN
- u_
int
ip_hl:4, /* header length */
+ u_
char
ip_hl:4, /* header length */
ip_v:4; /* version */
#endif
#if BYTE_ORDER == BIG_ENDIAN
ip_v:4; /* version */
#endif
#if BYTE_ORDER == BIG_ENDIAN
- u_
int
ip_v:4, /* version */
+ u_
char
ip_v:4, /* version */
ip_hl:4; /* header length */
#endif
u_char ip_tos; /* type of service */
ip_hl:4; /* header length */
#endif
u_char ip_tos; /* type of service */