blob: abd5b0a84a6e0cbaf6810c3d930779b977331658 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/**
* 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;
};
|