Searched refs:ip6h (Results 1 – 3 of 3) sorted by relevance
80 struct ip6_hdr *ip6h = NULL; in xennet_checksum_fill() local123 ip6h = m_extract(m, ehlen, sizeof(*ip6h)); in xennet_checksum_fill()124 if (ip6h == NULL) { in xennet_checksum_fill()128 if ((ip6h->ip6_vfc & IPV6_VERSION_MASK) != IPV6_VERSION) { in xennet_checksum_fill()132 nxt = ip6h->ip6_nxt; in xennet_checksum_fill()133 iphlen = sizeof(*ip6h); in xennet_checksum_fill()134 iplen = ntohs(ip6h->ip6_plen); in xennet_checksum_fill()
670 struct ip6_hdr ip6h; in mpls_label_inet6() local678 m_copydata(m, offset, sizeof(struct ip6_hdr), &ip6h); in mpls_label_inet6()681 ms->shim.ttl = ip6h.ip6_hlim; in mpls_label_inet6()684 ms->shim.exp = ip6h.ip6_vfc << 1 >> 5; in mpls_label_inet6()
2281 struct ip6_hdr *ip6h; in sctp_lowlevel_chunk_output() local 2296 ip6h = mtod(m, struct ip6_hdr *); in sctp_lowlevel_chunk_output() 2343 ip6h->ip6_flow = htonl(((tosTop << 24) | ((tosBottom|flowTop) << 16) | flowBottom)); in sctp_lowlevel_chunk_output() 2344 ip6h->ip6_nxt = IPPROTO_SCTP; in sctp_lowlevel_chunk_output() 2345 ip6h->ip6_plen = m->m_pkthdr.len; in sctp_lowlevel_chunk_output() 2346 ip6h->ip6_dst = sin6->sin6_addr; in sctp_lowlevel_chunk_output() 2413 ip6h->ip6_src = lsa6->sin6_addr; in sctp_lowlevel_chunk_output() 2419 ip6h->ip6_hlim = in6pcb_selecthlim(&inp->ip_inp.inp, in sctp_lowlevel_chunk_output() 2428 sin6->sin6_addr = ip6h->ip6_dst; in sctp_lowlevel_chunk_output() 2429 lsa6->sin6_addr = ip6h in sctp_lowlevel_chunk_output() 3134 struct ip6_hdr *ip6h; sctp_are_there_new_addresses() local 8515 struct ip6_hdr *ip6h; global() local [all...]