DPDK logo

Elixir Cross Referencer

/*-
 * Copyright (c) <2010-2017>, Intel Corporation. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */
/* Created 2011 by Keith Wiles @ intel.com */

#ifndef LPKTGENLIB_H_
#define LPKTGENLIB_H_

#define lua_c
#include <lua.h>
#include <lauxlib.h>

#ifdef __cplusplus
extern "C" {
#endif

#define LUA_PKTGENLIBNAME   "pktgen"
#define PKTGEN_SHORTCUTS    "Pktgen"

LUALIB_API int luaopen_pktgen(lua_State *L);
void pktgen_lua_openlib(lua_State *L);

void _lua_openlib(lua_State *L);

#ifdef __cplusplus
}
#endif

#endif /* LPKTGENLIB_H_ */