diff options
Diffstat (limited to 'app/nginx/src/tldk')
-rw-r--r-- | app/nginx/src/tldk/be.c | 8 | ||||
-rw-r--r-- | app/nginx/src/tldk/be.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/app/nginx/src/tldk/be.c b/app/nginx/src/tldk/be.c index b226c26..1309aa4 100644 --- a/app/nginx/src/tldk/be.c +++ b/app/nginx/src/tldk/be.c @@ -122,8 +122,8 @@ be_lcore_lpm_init(struct tldk_ctx *tcx, uint32_t sid, } int -be_lpm4_dst_lookup(void *data, const struct in_addr *addr, - struct tle_dest *res) +be_lpm4_dst_lookup(void *data, __rte_unused uint64_t sdata, + const struct in_addr *addr, struct tle_dest *res) { int32_t rc; uint32_t idx; @@ -142,8 +142,8 @@ be_lpm4_dst_lookup(void *data, const struct in_addr *addr, } int -be_lpm6_dst_lookup(void *data, const struct in6_addr *addr, - struct tle_dest *res) +be_lpm6_dst_lookup(void *data, __rte_unused uint64_t sdata, + const struct in6_addr *addr, struct tle_dest *res) { int32_t rc; struct tldk_ctx *tcx; diff --git a/app/nginx/src/tldk/be.h b/app/nginx/src/tldk/be.h index 900dfa8..035a698 100644 --- a/app/nginx/src/tldk/be.h +++ b/app/nginx/src/tldk/be.h @@ -31,9 +31,9 @@ extern volatile int force_quit; -int be_lpm4_dst_lookup(void *data, const struct in_addr *addr, +int be_lpm4_dst_lookup(void *data, uint64_t sdata, const struct in_addr *addr, struct tle_dest *res); -int be_lpm6_dst_lookup(void *data, const struct in6_addr *addr, +int be_lpm6_dst_lookup(void *data, uint64_t sdata, const struct in6_addr *addr, struct tle_dest *res); int be_lcore_lpm_init(struct tldk_ctx *tcx, uint32_t sid, const struct tldk_ctx_conf *cf); |