Searched refs:ip6h (Results 1 – 3 of 3) sorted by relevance
319 const struct rte_ipv6_hdr *ip6h; in rte_net_get_ptype() local323 ip6h = rte_pktmbuf_read(m, off, sizeof(*ip6h), &ip6h_copy); in rte_net_get_ptype()324 if (unlikely(ip6h == NULL)) in rte_net_get_ptype()327 proto = ip6h->proto; in rte_net_get_ptype()328 hdr_lens->l3_len = sizeof(*ip6h); in rte_net_get_ptype()451 const struct rte_ipv6_hdr *ip6h; in rte_net_get_ptype() local455 ip6h = rte_pktmbuf_read(m, off, sizeof(*ip6h), &ip6h_copy); in rte_net_get_ptype()456 if (unlikely(ip6h == NULL)) in rte_net_get_ptype()459 proto = ip6h->proto; in rte_net_get_ptype()460 hdr_lens->inner_l3_len = sizeof(*ip6h); in rte_net_get_ptype()
392 struct rte_ipv6_hdr *ip6h; in virtio_tso_fix_cksum() local407 ip6h = (struct rte_ipv6_hdr *)iph; in virtio_tso_fix_cksum()408 ip_paylen = ip6h->payload_len; in virtio_tso_fix_cksum()
4270 struct ip6_hdr *ip6h; in sctp_lowlevel_chunk_output() local4319 ip6h = mtod(m, struct ip6_hdr *); in sctp_lowlevel_chunk_output()4359 ip6h->ip6_flow = htonl(flowinfo); in sctp_lowlevel_chunk_output()4361 ip6h->ip6_nxt = IPPROTO_UDP; in sctp_lowlevel_chunk_output()4363 ip6h->ip6_nxt = IPPROTO_SCTP; in sctp_lowlevel_chunk_output()4366 ip6h->ip6_dst = sin6->sin6_addr; in sctp_lowlevel_chunk_output()4471 ip6h->ip6_src = lsa6->sin6_addr; in sctp_lowlevel_chunk_output()4499 ip6h->ip6_hlim = SCTP_GET_HLIM(inp, ro); in sctp_lowlevel_chunk_output()4504 sin6->sin6_addr = ip6h->ip6_dst; in sctp_lowlevel_chunk_output()4505 lsa6->sin6_addr = ip6h->ip6_src; in sctp_lowlevel_chunk_output()[all …]