Lines Matching refs:icmp6_hdr
137 struct icmp6_hdr *pkt;
145 pkt = (struct icmp6_hdr *) packet;
149 sockopt = offsetof(struct icmp6_hdr, icmp6_cksum);
152 c = xsendto(pingsock, packet, DEFDATALEN + sizeof (struct icmp6_hdr),
167 if (c >= 8) { /* icmp6_hdr */
168 pkt = (struct icmp6_hdr *) packet;
387 struct icmp6_hdr *pkt = alloca(datalen + sizeof(struct icmp6_hdr) + 4);
398 sendping_tail(sendping6, pkt, datalen + sizeof(struct icmp6_hdr));
524 struct icmp6_hdr *icmppkt;
528 if (sz < (datalen + sizeof(struct icmp6_hdr)))
531 icmppkt = (struct icmp6_hdr *) packet;
539 if (sz >= sizeof(struct icmp6_hdr) + sizeof(uint32_t))
652 sockopt = offsetof(struct icmp6_hdr, icmp6_cksum);
653 if (offsetof(struct icmp6_hdr, icmp6_cksum) != 2)