Changeset 89ac5513 in mainline for uspace/srv/net/ethip/pdu.c
- Timestamp:
- 2013-06-23T19:54:53Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ddb1922
- Parents:
- 3abf0760 (diff), 96cbd18 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/ethip/pdu.c
r3abf0760 r89ac5513 170 170 mac48_encode(&packet->sender_hw_addr, pfmt->sender_hw_addr); 171 171 pfmt->sender_proto_addr = 172 host2uint32_t_be(packet->sender_proto_addr .ipv4);172 host2uint32_t_be(packet->sender_proto_addr); 173 173 mac48_encode(&packet->target_hw_addr, pfmt->target_hw_addr); 174 174 pfmt->target_proto_addr = 175 host2uint32_t_be(packet->target_proto_addr .ipv4);175 host2uint32_t_be(packet->target_proto_addr); 176 176 177 177 *rdata = data; … … 228 228 229 229 mac48_decode(pfmt->sender_hw_addr, &packet->sender_hw_addr); 230 packet->sender_proto_addr .ipv4=230 packet->sender_proto_addr = 231 231 uint32_t_be2host(pfmt->sender_proto_addr); 232 232 mac48_decode(pfmt->target_hw_addr, &packet->target_hw_addr); 233 packet->target_proto_addr .ipv4=233 packet->target_proto_addr = 234 234 uint32_t_be2host(pfmt->target_proto_addr); 235 235 log_msg(LOG_DEFAULT, LVL_DEBUG, "packet->tpa = %x\n", pfmt->target_proto_addr); … … 238 238 } 239 239 240 241 240 /** @} 242 241 */
Note:
See TracChangeset
for help on using the changeset viewer.