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

Function sqn_hi32

dpdk/lib/ipsec/ipsec_sqn.h:23–31  ·  view source on GitHub ↗

* gets SQN.hi32 bits, SQN supposed to be in network byte order. */

Source from the content-addressed store, hash-verified

21 * gets SQN.hi32 bits, SQN supposed to be in network byte order.
22 */
23static inline rte_be32_t
24sqn_hi32(rte_be64_t sqn)
25{
26#if RTE_BYTE_ORDER == RTE_BIG_ENDIAN
27 return (sqn >> 32);
28#else
29 return sqn;
30#endif
31}
32
33/*
34 * gets SQN.low32 bits, SQN supposed to be in network byte order.

Callers 2

inb_pkt_xprepareFunction · 0.85
outb_pkt_xprepareFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected