Lines Matching refs:ip6
148 struct ip6_hdr *ip6; in esp_inbound_post() local
208 ip6 = (struct ip6_hdr *)ip4; in esp_inbound_post()
210 memmove(ip6, ip, sizeof(struct ip6_hdr)); in esp_inbound_post()
211 ip6->ip6_nxt = *nexthdr; in esp_inbound_post()
212 ip6->ip6_plen = htons(rte_pktmbuf_data_len(m) - in esp_inbound_post()
226 struct ip6_hdr *ip6; in esp_outbound() local
251 ip6 = (struct ip6_hdr *)ip4; in esp_outbound()
252 nlp = ip6->ip6_nxt; in esp_outbound()
307 ip6 = ip6ip_outbound(m, sizeof(struct rte_esp_hdr) + sa->iv_len, in esp_outbound()
309 esp = (struct rte_esp_hdr *)(ip6 + 1); in esp_outbound()
321 ip6 = (struct ip6_hdr *)new_ip; in esp_outbound()
322 ip6->ip6_nxt = IPPROTO_ESP; in esp_outbound()
323 ip6->ip6_plen = htons(rte_pktmbuf_data_len(m) - in esp_outbound()