aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec/ah_decrypt.c
AgeCommit message (Expand)AuthorFilesLines
2021-06-29ipsec: Fix setting the hi-sequence number for decryptNeale Ranns1-4/+7
2021-02-26ipsec: move the IPSec SA pool out of ipsec_mainNeale Ranns1-4/+3
2021-02-25ipsec: ipsec.h tidy upNeale Ranns1-0/+19
2021-02-12ipsec: Store thread-index in buffer meta-data during SA handoffNeale Ranns1-0/+1
2021-02-04ipsec: one thread index per-SANeale Ranns1-3/+3
2019-12-23ipsec: Test and fix IPSec worker hand-offNeale Ranns1-2/+2
2019-12-17ipsec: bind an SA to a workerNeale Ranns1-10/+28
2019-09-25ip: respect buffer boundary when searching for ipv6 headersKlement Sekera1-1/+2
2019-08-01ipsec: Redo the anit-replay check post decryptNeale Ranns1-0/+7
2019-07-24ipsec: GCM, Anti-replay and ESN fixessNeale Ranns1-2/+2
2019-06-18ipsec: ipsec-tun protectNeale Ranns1-6/+1
2019-06-05ipsec: ah_decrypt reworkFilip Tehlar1-167/+283
2019-05-14IPSEC: remove unecessary pass by reference of sequence numberNeale Ranns1-1/+1
2019-04-04ipsec: trunc_size -> icv_sizeDamjan Marion1-1/+1
2019-03-29IPSEC-GRE: fixes and API update to common types.Neale Ranns1-4/+1
2019-03-28ipsec: anti-replay code cleanupDamjan Marion1-22/+4
2019-03-27ipsec: compress ipsec_sa_t so data used by dataplane code fits in cachelineDamjan Marion1-5/+6
2019-03-25IPSEC tests fnd fix or Extended Sequence NumbersNeale Ranns1-8/+4
2019-03-20ipsec: keep crypto data inside SADamjan Marion1-4/+2
2019-03-19crypto: introduce crypto infraDamjan Marion1-4/+2
2019-03-05ipsec: cleanup, remove unnecessary code,Kingwel Xie1-4/+2
2019-02-22IPSEC: header exportsNeale Ranns1-0/+1
2019-02-18IPSEC: move SA counters into the stats segmentNeale Ranns1-2/+8
2019-02-07IPSEC: no second lookup after tunnel encapNeale Ranns1-3/+3
2018-12-04ipsec: simplify bumping counters - cosmetic changeKlement Sekera1-36/+10
2018-12-02IPSEC-AH: anti-replay testingNeale Ranns1-4/+5
2018-11-30IPSEC-AH: fix packet dropNeale Ranns1-5/+0
2018-10-29migrate ipsec to new multiarch infraKlement Sekera1-11/+6
2018-10-23c11 safe string handling supportDave Barach1-3/+3
2018-10-23ipsec: fix wrong counter bumpKlement Sekera1-1/+1
2018-10-22ipsec: split ipsec nodes into ip4/ip6 nodesKlement Sekera1-81/+108
2018-10-03ipsec: add missing ipv6 ah code & ipv6 testsKlement Sekera1-13/+45
2017-11-28IPSec AH protocol enhancement in VPP native core“mukeshyadav1984”1-0/+343
an class="n">u16 last_kick_avail_idx; } virtio_vring_t; typedef union { struct { u16 domain; u8 bus; u8 slot:5; u8 function:3; }; u32 as_u32; } pci_addr_t; typedef struct { CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); u32 flags; clib_spinlock_t lockp; u32 dev_instance; u32 hw_if_index; u32 sw_if_index; u16 virtio_net_hdr_sz; virtio_if_type_t type; union { u32 id; pci_addr_t pci_addr; }; u32 per_interface_next_index; int fd; union { int tap_fd; u32 pci_dev_handle; }; virtio_vring_t *vrings; u64 features, remote_features; /* error */ clib_error_t *error; u16 max_queue_pairs; u16 tx_ring_sz; u16 rx_ring_sz; u8 status; u8 mac_addr[6]; u64 bar[2]; u8 *host_if_name; u8 *net_ns; u8 *host_bridge; u8 host_mac_addr[6]; ip4_address_t host_ip4_addr; u8 host_ip4_prefix_len; ip6_address_t host_ip6_addr; u8 host_ip6_prefix_len; int ifindex; } virtio_if_t; typedef struct { /* logging */ vlib_log_class_t log_default; virtio_if_t *interfaces; } virtio_main_t; extern virtio_main_t virtio_main; extern vnet_device_class_t virtio_device_class; extern vlib_node_registration_t virtio_input_node; clib_error_t *virtio_vring_init (vlib_main_t * vm, virtio_if_t * vif, u16 idx, u16 sz); clib_error_t *virtio_vring_free (vlib_main_t * vm, virtio_if_t * vif, u32 idx); extern void virtio_free_used_desc (vlib_main_t * vm, virtio_vring_t * vring); extern void virtio_free_rx_buffers (vlib_main_t * vm, virtio_vring_t * vring); extern void virtio_set_net_hdr_size (virtio_if_t * vif); extern void virtio_show (vlib_main_t * vm, u32 * hw_if_indices, u8 show_descr, u32 type); extern void virtio_pci_legacy_notify_queue (vlib_main_t * vm, virtio_if_t * vif, u16 queue_id); format_function_t format_virtio_device_name; static_always_inline void virtio_kick (vlib_main_t * vm, virtio_vring_t * vring, virtio_if_t * vif) { if (vif->type == VIRTIO_IF_TYPE_PCI) virtio_pci_legacy_notify_queue (vm, vif, vring->queue_id); else { u64 x = 1; int __clib_unused r; r = write (vring->kick_fd, &x, sizeof (x)); vring->last_kick_avail_idx = vring->avail->idx; } } #endif /* _VNET_DEVICES_VIRTIO_VIRTIO_H_ */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */