Hot Downloads



The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: bigendian-littleendian

bigendian-littleendian 16 years 8 months ago #206

The structure of IP-header is like this in /usr/include/netinet/ip.h.Can somebody explain me why the header length and version fields are interchanged in bigendian and little endian.I know that bigendian means Higher order byte will come first.But here he is interchanging the nibbles(4-bit fields).
struct iphdr
unsigned int ihl:4;
unsigned int version:4;
unsigned int version:4;
unsigned int ihl:4;
# error "Please fix <bits/endian.h>"
u_int8_t tos;
u_int16_t tot_len;
u_int16_t id;
u_int16_t frag_off;
u_int8_t ttl;
u_int8_t protocol;
u_int16_t check;
u_int32_t saddr;
u_int32_t daddr;
/*The options start here. */
  • Page:
  • 1
Time to create page: 0.131 seconds


Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V


  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup