Home
last modified time | relevance | path

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

/f-stack/dpdk/examples/ipsec-secgw/
H A Dipip.h20 struct ip6_hdr *inip6, *outip6; in ipip_outbound() local
46 RTE_ASSERT(outip6 != NULL); in ipip_outbound()
50 outip6->ip6_plen = htons(rte_pktmbuf_data_len(m) - in ipip_outbound()
53 outip6->ip6_nxt = IPPROTO_ESP; in ipip_outbound()
54 outip6->ip6_hops = IPDEFTTL; in ipip_outbound()
56 memcpy(&outip6->ip6_src.s6_addr, src, 16); in ipip_outbound()
57 memcpy(&outip6->ip6_dst.s6_addr, dst, 16); in ipip_outbound()
59 return outip6; in ipip_outbound()
127 struct ip6_hdr *inip6, *outip6; in ipip_inbound() local
138 outip6 = (struct ip6_hdr *)outip4; in ipip_inbound()
[all …]