- Timestamp:
- 05/27/10 12:20:02 (21 months ago)
- Files:
-
- 1 modified
-
Whitix/branches/netchannel/user/sdk/network/ipv4.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/branches/netchannel/user/sdk/network/ipv4.c
r2084 r2091 69 69 ipHeader->versionLength = (4 << 4) | 5; 70 70 ipHeader->id = HostToNetShort(1); 71 ipHeader->ttl = 255;71 ipHeader->ttl = 64; 72 72 ipHeader->protocol = protocol; 73 73 ipHeader->destAddr = NetToHostLong(destIp->address); 74 ipHeader->flagsFragOffset = 1 << 6; /* DF */ 74 75 ipHeader->totalLength = NetToHostShort(length + sizeof(struct IpHeader)); 75 76
