summaryrefslogtreecommitdiffstats
path: root/examples/udpfwd/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/udpfwd/parse.h')
-rw-r--r--examples/udpfwd/parse.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/udpfwd/parse.h b/examples/udpfwd/parse.h
index e25e64e..7df7671 100644
--- a/examples/udpfwd/parse.h
+++ b/examples/udpfwd/parse.h
@@ -16,6 +16,8 @@
#ifndef __PARSE_H__
#define __PARSE_H__
+#include <sched.h>
+
#define PARSE_LIST_DELIM "-"
union parse_val {
@@ -68,7 +70,8 @@ format_addr(const struct sockaddr_storage *sp, char buf[], size_t len)
return inet_ntop(sp->ss_family, addr, buf, len);
}
-int parse_netbe_arg(struct netbe_port *prt, const char *arg);
+int parse_netbe_arg(struct netbe_port *prt, const char *arg,
+ rte_cpuset_t *cpuset);
int netbe_parse_dest(const char *fname, struct netbe_dest_prm *prm);