Lines Matching refs:rte_esp_hdr
53 sizeof(struct rte_esp_hdr) - sa->iv_len - sa->digest_len; in esp_inbound()
66 ip_hdr_len + sizeof(struct rte_esp_hdr) + sa->iv_len; in esp_inbound()
72 sizeof(struct rte_esp_hdr)); in esp_inbound()
80 memcpy(aad, iv - sizeof(struct rte_esp_hdr), 8); in esp_inbound()
91 sizeof(struct rte_esp_hdr) + in esp_inbound()
97 sizeof(struct rte_esp_hdr)); in esp_inbound()
125 sym_cop->auth.data.length = sizeof(struct rte_esp_hdr) + in esp_inbound()
202 sizeof(struct rte_esp_hdr) + sa->iv_len); in esp_inbound_post()
216 ipip_inbound(m, sizeof(struct rte_esp_hdr) + sa->iv_len); in esp_inbound_post()
227 struct rte_esp_hdr *esp = NULL; in esp_outbound()
279 if (unlikely(ip_hdr_len + sizeof(struct rte_esp_hdr) + sa->iv_len + in esp_outbound()
302 ip4 = ip4ip_outbound(m, sizeof(struct rte_esp_hdr) + sa->iv_len, in esp_outbound()
304 esp = (struct rte_esp_hdr *)(ip4 + 1); 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()
313 sizeof(struct rte_esp_hdr) + sa->iv_len); in esp_outbound()
315 esp = (struct rte_esp_hdr *)(new_ip + ip_hdr_len); in esp_outbound()
375 sizeof(struct rte_esp_hdr) + sa->iv_len; in esp_outbound()
405 sizeof(struct rte_esp_hdr); in esp_outbound()
410 sizeof(struct rte_esp_hdr) + sa->iv_len; in esp_outbound()
435 sym_cop->auth.data.length = sizeof(struct rte_esp_hdr) + in esp_outbound()