logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_swx_keycmp.h

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                             rte_swx_keycmp.h(3)

Detailed Description

       RTE SWX Key Comparison Functions

       Definition in file rte_swx_keycmp.h.

Function Documentation

rte_swx_keycmp_func_trte_swx_keycmp_func_get(uint32_tkey_size)
       Key comparison function get

       Parameterskey_size Key size in bytes.

       Returns
           Key comparison function for the given key size

Name

       rte_swx_keycmp.h

Synopsis

       #include <stdint.h>
       #include <string.h>

   Typedefstypedef uint32_t(* rte_swx_keycmp_func_t) (void *key1, void *key2, uint32_t key_size)

   Functionsrte_swx_keycmp_func_trte_swx_keycmp_func_get (uint32_t key_size)

Typedef Documentation

typedefuint32_t(*rte_swx_keycmp_func_t)(void*key1,void*key2,uint32_tkey_size)
       Key comparison function prototype

       Parameterskey1 First key to compare. Must be non-NULL.
           key2 Second key to compare. Must be non-NULL.
           key_size Key size in bytes.

       Returns
           0 when keys are different, 1 when keys are equal.

       Definition at line 31 of file rte_swx_keycmp.h.

See Also