diff options
author | Martin Mares <mj@ucw.cz> | 1999-03-01 20:13:54 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-03-01 20:13:54 +0000 |
commit | 1b769b08c195f7d95525131f65e5794c3c09a335 (patch) | |
tree | d473d2b13c7b810452d593bd44416c474d924e9f /nest/protocol.h | |
parent | 025d14cd5a0909b534762e5a50bfef97c2b4c9ee (diff) |
Renamed struct rtattr to struct rta to make things more consistent and
avoid namespace clashes with <linux/rtnetlink.h>. Other files should
not be affected since they use 'rta' directly.
Diffstat (limited to 'nest/protocol.h')
-rw-r--r-- | nest/protocol.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/protocol.h b/nest/protocol.h index 8a27350c..9463861e 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -15,7 +15,7 @@ struct iface; struct rte; struct neighbor; -struct rtattr; +struct rta; struct network; struct proto_config; struct config; @@ -91,7 +91,7 @@ struct proto { void (*rt_notify)(struct proto *, struct network *net, struct rte *new, struct rte *old); void (*neigh_notify)(struct neighbor *neigh); - int (*rta_same)(struct rtattr *, struct rtattr *); + int (*rta_same)(struct rta *, struct rta *); int (*rte_better)(struct rte *, struct rte *); void (*rte_insert)(struct network *, struct rte *); void (*rte_remove)(struct network *, struct rte *); |