Changeset 2ff150e in mainline for uspace/srv/inet/pdu.c
- Timestamp:
- 2012-02-13T08:25:46Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 081971b
- Parents:
- fe4310f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/inet/pdu.c
rfe4310f r2ff150e 73 73 BIT_V(uint16_t, FF_FLAG_DF) : 0); 74 74 hdr->ttl = packet->ttl; 75 hdr->proto = 0;75 hdr->proto = packet->proto; 76 76 hdr->chksum = 0; 77 77 hdr->src_addr = host2uint32_t_be(packet->src.ipv4); … … 125 125 /* XXX Flags */ 126 126 /* XXX Fragment offset */ 127 /* XXX Protocol */128 127 /* XXX Checksum */ 129 128 … … 131 130 packet->dest.ipv4 = uint32_t_be2host(hdr->dest_addr); 132 131 packet->tos = hdr->tos; 132 packet->proto = hdr->proto; 133 133 packet->ttl = hdr->ttl; 134 134 packet->df = (uint16_t_be2host(hdr->tos) & BIT_V(uint16_t, FF_FLAG_DF))
Note:
See TracChangeset
for help on using the changeset viewer.