Revision 9a158361 nest/protocol.h
nest/protocol.h | ||
---|---|---|
13 | 13 |
#include "lib/resource.h" |
14 | 14 |
|
15 | 15 |
struct iface; |
16 |
struct ifa; |
|
16 | 17 |
struct rte; |
17 | 18 |
struct neighbor; |
18 | 19 |
struct rta; |
... | ... | |
96 | 97 |
* General protocol hooks: |
97 | 98 |
* |
98 | 99 |
* if_notify Notify protocol about interface state changes. |
100 |
* ifa_notify Notify protocol about interface address changes. |
|
99 | 101 |
* rt_notify Notify protocol about routing table updates. |
100 | 102 |
* neigh_notify Notify protocol about neighbor cache events. |
101 | 103 |
* make_tmp_attrs Construct ea_list from private attrs stored in rte. |
... | ... | |
106 | 108 |
* 0=process it through the import filter set by the user. |
107 | 109 |
*/ |
108 | 110 |
|
109 |
void (*if_notify)(struct proto *, unsigned flags, struct iface *new, struct iface *old); |
|
111 |
void (*if_notify)(struct proto *, unsigned flags, struct iface *i); |
|
112 |
void (*ifa_notify)(struct proto *, unsigned flags, struct ifa *a); |
|
110 | 113 |
void (*rt_notify)(struct proto *, struct network *net, struct rte *new, struct rte *old); |
111 | 114 |
void (*neigh_notify)(struct neighbor *neigh); |
112 | 115 |
struct ea_list *(*make_tmp_attrs)(struct rte *rt, struct linpool *pool); |
Also available in: Unified diff