Home
last modified time | relevance | path

Searched refs:ip6h (Results 1 – 3 of 3) sorted by relevance

/f-stack/dpdk/lib/librte_net/
H A Drte_net.c319 const struct rte_ipv6_hdr *ip6h; in rte_net_get_ptype() local
323 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() local
455 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()
/f-stack/dpdk/drivers/net/virtio/
H A Dvirtio_rxtx.c392 struct rte_ipv6_hdr *ip6h; in virtio_tso_fix_cksum() local
407 ip6h = (struct rte_ipv6_hdr *)iph; in virtio_tso_fix_cksum()
408 ip_paylen = ip6h->payload_len; in virtio_tso_fix_cksum()
/f-stack/freebsd/netinet/
H A Dsctp_output.c4270 struct ip6_hdr *ip6h; in sctp_lowlevel_chunk_output() local
4319 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 …]