Searched refs:esph (Results 1 – 6 of 6) sorted by relevance
263 const struct auth_hash *esph; in esp_input() local297 esph = sav->tdb_authalgxform; in esp_input()306 alen = xform_ah_authsize(esph); in esp_input()364 if (esph != NULL) { in esp_input()485 const struct auth_hash *esph; in esp_input_cb() local501 esph = sav->tdb_authalgxform; in esp_input_cb()534 if (esph != NULL) { in esp_input_cb()678 const struct auth_hash *esph; in esp_output() local694 esph = sav->tdb_authalgxform; in esp_output()904 if (esph) { in esp_output()[all …]
117 xform_ah_authsize(const struct auth_hash *esph) in xform_ah_authsize() argument121 if (esph == NULL) in xform_ah_authsize()124 switch (esph->type) { in xform_ah_authsize()128 alen = esph->hashsize / 2; /* RFC4868 2.3 */ in xform_ah_authsize()132 alen = esph->hashsize; in xform_ah_authsize()
114 struct rte_esp_hdr *esph; in outb_tun_pkt_prepare() local120 hlen = sa->hdr_len + sa->iv_len + sizeof(*esph); in outb_tun_pkt_prepare()163 iv = (uint64_t *)(esph + 1); in outb_tun_pkt_prepare()166 esph->spi = sa->spi; in outb_tun_pkt_prepare()167 esph->seq = sqn_low32(sqc); in outb_tun_pkt_prepare()282 struct rte_esp_hdr *esph; in outb_trs_pkt_prepare() local295 hlen = sa->iv_len + sizeof(*esph); in outb_trs_pkt_prepare()329 esph = (struct rte_esp_hdr *)(ph + uhlen); in outb_trs_pkt_prepare()330 iv = (uint64_t *)(esph + 1); in outb_trs_pkt_prepare()333 esph->spi = sa->spi; in outb_trs_pkt_prepare()[all …]
50 struct rte_esp_hdr esph; member
199 struct rte_esp_hdr *esph; in inb_get_sqn() local201 esph = rte_pktmbuf_mtod_offset(mb, struct rte_esp_hdr *, hlen); in inb_get_sqn()207 sqn = rte_be_to_cpu_32(esph->seq); in inb_get_sqn()
581 struct rte_esp_hdr esph = { in setup_test_string_tunneled() local610 rte_memcpy(dst, &esph, sizeof(esph)); in setup_test_string_tunneled()611 dst += sizeof(esph); in setup_test_string_tunneled()