Lines Matching refs:icmp6_hdr
1271 struct pico_icmp6_hdr *icmp6_hdr = NULL;
1309 icmp6_hdr = (struct pico_icmp6_hdr *)(f->transport_hdr + sizeof(struct pico_ipv6_exthdr));
1310 if((icmp6_hdr->type >= PICO_MLD_QUERY && icmp6_hdr->type <= PICO_MLD_DONE) || icmp6_hdr->type == PICO_MLD_REPORTV2) {
1314 icmp6_hdr->crc = 0;
1315 icmp6_hdr->crc = short_be(pico_mld_checksum(f));
1326 icmp6_hdr = (struct pico_icmp6_hdr *)f->transport_hdr;
1327 if (icmp6_hdr->type == PICO_ICMP6_NEIGH_SOL || icmp6_hdr->type == PICO_ICMP6_NEIGH_ADV || icmp6_hdr->type == PICO_ICMP6_ROUTER_SOL || icmp6_hdr->type == PICO_ICMP6_ROUTER_ADV)
1333 if (f->dev->mode == LL_MODE_ETHERNET && (is_dad || link->istentative) && icmp6_hdr->type == PICO_ICMP6_NEIGH_SOL) {
1337 icmp6_hdr->crc = 0;
1338 icmp6_hdr->crc = short_be(pico_icmp6_checksum(f));