Skip to content
Snippets Groups Projects
Commit a3a3da4e authored by Daniel Salzman's avatar Daniel Salzman
Browse files

xdp: remove KNOT_XDP_LISTEN_PORT_MASK from enum to mute pedantic warning

parent 8b23ca6a
No related branches found
No related tags found
No related merge requests found
Pipeline #85419 passed
......@@ -25,8 +25,9 @@
#pragma once
#define KNOT_XDP_LISTEN_PORT_MASK 0xFFFF0000 /*!< Listen port option mask. */
enum {
KNOT_XDP_LISTEN_PORT_MASK = 0xFFFF0000, /*!< Listen port option mask. */
KNOT_XDP_LISTEN_PORT_TCP = 1 << 16, /*!< Apply to TCP. */
KNOT_XDP_LISTEN_PORT_PASS = 1 << 17, /*!< Pass incoming messages to ports >= port value. */
KNOT_XDP_LISTEN_PORT_DROP = 1 << 18, /*!< Drop incoming messages to ports >= port value. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment