summaryrefslogtreecommitdiffstats
path: root/src/plugins/af_xdp/af_xdp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/af_xdp/af_xdp.h')
-rw-r--r--src/plugins/af_xdp/af_xdp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/af_xdp/af_xdp.h b/src/plugins/af_xdp/af_xdp.h
index 825a3fb29fd..85c8fee545d 100644
--- a/src/plugins/af_xdp/af_xdp.h
+++ b/src/plugins/af_xdp/af_xdp.h
@@ -113,6 +113,8 @@ typedef struct
u8 rxq_num;
+ char *netns;
+
struct xsk_umem **umem;
struct xsk_socket **xsk;
@@ -149,6 +151,7 @@ typedef struct
char *linux_ifname;
char *name;
char *prog;
+ char *netns;
af_xdp_mode_t mode;
af_xdp_create_flag_t flags;
u32 rxq_size;