Lines Matching defs:ip6
51 #include "ip6.h"
319 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up,
338 phu.ph.ph_src = ip6->ip6_src;
339 phu.ph.ph_dst = ip6->ip6_dst;
367 const struct ip6_hdr *ip6;
370 ip6 = (const struct ip6_hdr *)ip;
372 ip6 = NULL;
374 if (ip6) {
375 if (ip6->ip6_nxt == IPPROTO_UDP) {
378 ip6addr_string(&ip6->ip6_src),
379 ip6addr_string(&ip6->ip6_dst));
382 ip6addr_string(&ip6->ip6_src),
384 ip6addr_string(&ip6->ip6_dst),
429 register const struct ip6_hdr *ip6;
438 ip6 = (struct ip6_hdr *)bp2;
440 ip6 = NULL;
528 ip6 != NULL);
585 if (IP_V(ip) == 6 && ip6->ip6_plen && vflag && !fragmented) {
589 sum = udp6_cksum(ip6, up, length + sizeof(struct udphdr));
615 ip6 != NULL);