Searched refs:ip6hdr (Results 1 – 3 of 3) sorted by relevance
100 struct ip6_hdr ip6hdr; /* capsule IP header, host byte ordered */ in in6_l2tp_output() local133 memset(&ip6hdr, 0, sizeof(ip6hdr)); in in6_l2tp_output()134 ip6hdr.ip6_src = sin6_src->sin6_addr; in in6_l2tp_output()135 ip6hdr.ip6_dst = sin6_dst->sin6_addr; in in6_l2tp_output()137 ip6hdr.ip6_vfc = 0x60; in in6_l2tp_output()138 ip6hdr.ip6_nxt = IPPROTO_L2TP; in in6_l2tp_output()139 ip6hdr.ip6_hlim = ip6_l2tp_hlim; in in6_l2tp_output()141 ip6hdr.ip6_plen = 0; in in6_l2tp_output()143 ip6hdr.ip6_plen += sizeof(uint32_t); in in6_l2tp_output()146 ip6hdr.ip6_plen += var->lv_peer_cookie_len; in in6_l2tp_output()[all …]
238 struct ip6_hdr *ip6hdr = mtod(m, struct ip6_hdr *); in mbuf_return_hdrs6() local240 *ip6 = ip6hdr; in mbuf_return_hdrs6()241 return (void *)(ip6hdr + 1); in mbuf_return_hdrs6()
635 struct ip6_hdr *ip6hdr; in mpls_unlabel_inet6() local648 ip6hdr = mtod(m, struct ip6_hdr *); in mpls_unlabel_inet6()651 ip6hdr->ip6_hlim = ms.shim.ttl + 1; in mpls_unlabel_inet6()