Changeset 12df1f1 in mainline for uspace/srv/net/inetsrv/pdu.c
- Timestamp:
- 2013-07-15T16:42:08Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a940f1d
- Parents:
- 956d4281
- File:
-
- 1 edited
-
uspace/srv/net/inetsrv/pdu.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/pdu.c
r956d4281 r12df1f1 464 464 addr48(ndp->sender_hw_addr, message->mac); 465 465 466 icmpv6_p seudo_headerphdr;466 icmpv6_phdr_t phdr; 467 467 468 468 host2addr128_t_be(ndp->sender_proto_addr, phdr.src_addr); … … 474 474 uint16_t cs_phdr = 475 475 inet_checksum_calc(INET_CHECKSUM_INIT, &phdr, 476 sizeof(icmpv6_p seudo_header));476 sizeof(icmpv6_phdr_t)); 477 477 478 478 uint16_t cs_all = inet_checksum_calc(cs_phdr, dgram->data,
Note:
See TracChangeset
for help on using the changeset viewer.
