MCPcopy Create free account
hub / github.com/F-Stack/f-stack / remove_esph

Function remove_esph

dpdk/lib/ipsec/iph.h:19–26  ·  view source on GitHub ↗

* Move preceding (L3) headers down to remove ESP header and IV. */

Source from the content-addressed store, hash-verified

17 * Move preceding (L3) headers down to remove ESP header and IV.
18 */
19static inline void
20remove_esph(char *np, char *op, uint32_t hlen)
21{
22 uint32_t i;
23
24 for (i = hlen; i-- != 0; np[i] = op[i])
25 ;
26}
27
28/*
29 * Move preceding (L3) headers up to free space for ESP header and IV.

Callers 1

trs_process_step2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected