iphdr结构
摘要:
包含在/usr/src/linux/include/linux/ip.h 1 struct iphdr { 2 #if defined(__LITTLE_ENDIAN_BITFIELD) 3 __u8 ihl:4, 4 version:4; 5 #elif defined (__BIG_ENDIAN_BITFIELD) 6 __u8 version:4, 7 ihl:4; 8 #else 9 #error "Please fix "10 #endif11 __u8 tos;12 __be16 ... 阅读全文
posted @ 2014-03-21 16:58 程良 阅读(1087) 评论(0) 推荐(0) 编辑