summaryrefslogtreecommitdiffstats
path: root/zebra/rt.h
diff options
context:
space:
mode:
authorwhitespace / reindent <invalid@invalid.invalid>2017-07-17 14:03:14 +0200
committerwhitespace / reindent <invalid@invalid.invalid>2017-07-17 14:04:07 +0200
commitd62a17aedeb0eebdba98238874bb13d62c48dbf9 (patch)
tree3b319b1d61c8b85b4d1f06adf8b844bb8a9b5107 /zebra/rt.h
parent*: add indent control files (diff)
downloadfrr-d62a17aedeb0eebdba98238874bb13d62c48dbf9.tar.xz
frr-d62a17aedeb0eebdba98238874bb13d62c48dbf9.zip
indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'` Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/rt.h')
-rw-r--r--zebra/rt.h53
1 files changed, 27 insertions, 26 deletions
diff --git a/zebra/rt.h b/zebra/rt.h
index 90654fb3e..81dffdf44 100644
--- a/zebra/rt.h
+++ b/zebra/rt.h
@@ -30,31 +30,32 @@
#include "zebra/zebra_ns.h"
#include "zebra/zebra_mpls.h"
-extern int kernel_route_rib (struct prefix *, struct prefix *,
- struct route_entry *, struct route_entry *);
-
-extern int kernel_address_add_ipv4 (struct interface *, struct connected *);
-extern int kernel_address_delete_ipv4 (struct interface *, struct connected *);
-extern int kernel_neigh_update (int, int, uint32_t, char *, int);
-
-extern int kernel_add_lsp (zebra_lsp_t *);
-extern int kernel_upd_lsp (zebra_lsp_t *);
-extern int kernel_del_lsp (zebra_lsp_t *);
-extern int mpls_kernel_init (void);
-
-extern int kernel_get_ipmr_sg_stats (void *mroute);
-extern int kernel_add_vtep (vni_t vni, struct interface *ifp,
- struct in_addr *vtep_ip);
-extern int kernel_del_vtep (vni_t vni, struct interface *ifp,
- struct in_addr *vtep_ip);
-extern int kernel_add_mac (struct interface *ifp, vlanid_t vid,
- struct ethaddr *mac, struct in_addr vtep_ip,
- u_char sticky);
-extern int kernel_del_mac (struct interface *ifp, vlanid_t vid,
- struct ethaddr *mac, struct in_addr vtep_ip, int local);
-
-extern int kernel_add_neigh (struct interface *ifp, struct ipaddr *ip,
- struct ethaddr *mac);
-extern int kernel_del_neigh (struct interface *ifp, struct ipaddr *ip);
+extern int kernel_route_rib(struct prefix *, struct prefix *,
+ struct route_entry *, struct route_entry *);
+
+extern int kernel_address_add_ipv4(struct interface *, struct connected *);
+extern int kernel_address_delete_ipv4(struct interface *, struct connected *);
+extern int kernel_neigh_update(int, int, uint32_t, char *, int);
+
+extern int kernel_add_lsp(zebra_lsp_t *);
+extern int kernel_upd_lsp(zebra_lsp_t *);
+extern int kernel_del_lsp(zebra_lsp_t *);
+extern int mpls_kernel_init(void);
+
+extern int kernel_get_ipmr_sg_stats(void *mroute);
+extern int kernel_add_vtep(vni_t vni, struct interface *ifp,
+ struct in_addr *vtep_ip);
+extern int kernel_del_vtep(vni_t vni, struct interface *ifp,
+ struct in_addr *vtep_ip);
+extern int kernel_add_mac(struct interface *ifp, vlanid_t vid,
+ struct ethaddr *mac, struct in_addr vtep_ip,
+ u_char sticky);
+extern int kernel_del_mac(struct interface *ifp, vlanid_t vid,
+ struct ethaddr *mac, struct in_addr vtep_ip,
+ int local);
+
+extern int kernel_add_neigh(struct interface *ifp, struct ipaddr *ip,
+ struct ethaddr *mac);
+extern int kernel_del_neigh(struct interface *ifp, struct ipaddr *ip);
#endif /* _ZEBRA_RT_H */