Changeset 12df1f1 in mainline for uspace/srv/net/inetsrv/icmpv6.c


Ignore:
Timestamp:
2013-07-15T16:42:08Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a940f1d
Parents:
956d4281
Message:

cherrypick trivial changes from lp:~as-s/helenos/ipv6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/inetsrv/icmpv6.c

    r956d4281 r12df1f1  
    8484        rdgram.size = size;
    8585       
    86         icmpv6_pseudo_header phdr;
     86        icmpv6_phdr_t phdr;
    8787       
    8888        host2addr128_t_be(dest_v6, phdr.src_addr);
     
    9494        uint16_t cs_phdr =
    9595            inet_checksum_calc(INET_CHECKSUM_INIT, &phdr,
    96             sizeof(icmpv6_pseudo_header));
     96            sizeof(icmpv6_phdr_t));
    9797       
    9898        uint16_t cs_all = inet_checksum_calc(cs_phdr, reply, size);
     
    186186        dgram.size = rsize;
    187187       
    188         icmpv6_pseudo_header phdr;
     188        icmpv6_phdr_t phdr;
    189189       
    190190        host2addr128_t_be(sdu->src, phdr.src_addr);
     
    196196        uint16_t cs_phdr =
    197197            inet_checksum_calc(INET_CHECKSUM_INIT, &phdr,
    198             sizeof(icmpv6_pseudo_header));
     198            sizeof(icmpv6_phdr_t));
    199199       
    200200        uint16_t cs_all = inet_checksum_calc(cs_phdr, rdata, rsize);
Note: See TracChangeset for help on using the changeset viewer.