Lines Matching refs:ip6
93 static int dccp6_cksum(const struct ip6_hdr *ip6, const struct dccp_hdr *dh, u_int len) in dccp6_cksum() argument
111 phu.ph.ph_src = ip6->ip6_src; in dccp6_cksum()
112 phu.ph.ph_dst = ip6->ip6_dst; in dccp6_cksum()
221 const struct ip6_hdr *ip6; in dccp_print() local
233 ip6 = (const struct ip6_hdr *)data2; in dccp_print()
235 ip6 = NULL; in dccp_print()
254 if (ip6) { in dccp_print()
256 ip6addr_string(&ip6->ip6_src), sport, in dccp_print()
257 ip6addr_string(&ip6->ip6_dst), dport); in dccp_print()
283 if (ip6) { in dccp_print()
284 if (ip6->ip6_plen && vflag) { in dccp_print()
287 sum = dccp6_cksum(ip6, dh, len); in dccp_print()