diff options
author | Dave Barach <dave@barachs.net> | 2018-11-24 18:29:26 -0500 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-11-25 16:47:45 +0000 |
commit | c2b4dc598149e9aa2e1727259257b2650f95c683 (patch) | |
tree | 9eab89a8a02244e35ce4f3197f04e4e1b13f2afa /src/vlib/error.c | |
parent | ce55bcde5d3e4d69af4b9bcd3e8f4c31732a8603 (diff) |
Use a dissector table instead of strcmp
... to map vpp node names to dissector handles.
Wireshark has an easy-to-use string to dissector function handle
hashing scheme, so use it. Thanks to Guy Harris for writing up the
incantation.
Change-Id: I6c1eb609332b0afe87154ba447a98f783e13ca68
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vlib/error.c')
0 files changed, 0 insertions, 0 deletions