Changeset 12df1f1 in mainline for uspace/srv/net/inetsrv/icmpv6.c
- Timestamp:
- 2013-07-15T16:42:08Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a940f1d
- Parents:
- 956d4281
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/icmpv6.c
r956d4281 r12df1f1 84 84 rdgram.size = size; 85 85 86 icmpv6_p seudo_headerphdr;86 icmpv6_phdr_t phdr; 87 87 88 88 host2addr128_t_be(dest_v6, phdr.src_addr); … … 94 94 uint16_t cs_phdr = 95 95 inet_checksum_calc(INET_CHECKSUM_INIT, &phdr, 96 sizeof(icmpv6_p seudo_header));96 sizeof(icmpv6_phdr_t)); 97 97 98 98 uint16_t cs_all = inet_checksum_calc(cs_phdr, reply, size); … … 186 186 dgram.size = rsize; 187 187 188 icmpv6_p seudo_headerphdr;188 icmpv6_phdr_t phdr; 189 189 190 190 host2addr128_t_be(sdu->src, phdr.src_addr); … … 196 196 uint16_t cs_phdr = 197 197 inet_checksum_calc(INET_CHECKSUM_INIT, &phdr, 198 sizeof(icmpv6_p seudo_header));198 sizeof(icmpv6_phdr_t)); 199 199 200 200 uint16_t cs_all = inet_checksum_calc(cs_phdr, rdata, rsize);
Note:
See TracChangeset
for help on using the changeset viewer.