diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-03-28 16:44:50 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-03-29 11:35:40 +0200 |
commit | 6eb1e01b1a7cc5e73829bf2a050ba2cff57cbebd (patch) | |
tree | 45c76dd7d4cd33b0d03012df87eb4b83cfabff13 /src/ndp.h | |
parent | eea7d037b93020dd5d5d2e5a698e88650a0f0912 (diff) |
ndp: code cleanup
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/ndp.h')
-rw-r--r-- | src/ndp.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/ndp.h b/src/ndp.h deleted file mode 100644 index abd5b0a..0000000 --- a/src/ndp.h +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright (C) 2012-2013 Steven Barth <steven@midlink.org> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License v2 as published by - * the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - */ - -#pragma once -#include "odhcpd.h" -#include <time.h> - -#ifndef SOL_NETLINK -#define SOL_NETLINK 270 -#endif - -#define NDP_MAX_NEIGHBORS 1000 - -struct ndp_neighbor { - struct list_head head; - struct interface *iface; - struct in6_addr addr; - uint8_t len; - time_t timeout; -}; |