提交 b7b9b190 编写于 作者: G Guillaume Nault 提交者: Dmitry Kozlov

connlimit: make connlimit.h self-contained

We need to include <stdint.h> to define 'uint*_t' and <string.h> for
'memcpy'.
Signed-off-by: NGuillaume Nault <g.nault@alphalink.fr>
上级 d0c390eb
#ifndef __CONNLIMIT_H
#define __CONNLIMIT_H
#include <stdint.h>
#include <string.h>
static inline uint64_t cl_key_from_ipv4(uint32_t ip)
{
return ip;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册