summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_vxlan.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/zebra_vxlan.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/zebra_vxlan.h')
-rw-r--r--zebra/zebra_vxlan.h129
1 files changed, 67 insertions, 62 deletions
diff --git a/zebra/zebra_vxlan.h b/zebra/zebra_vxlan.h
index e5f0bd2f6..f9ecd8333 100644
--- a/zebra/zebra_vxlan.h
+++ b/zebra/zebra_vxlan.h
@@ -41,68 +41,73 @@
#define ZEBRA_VXLIF_MASTER_CHANGE 0x2
#define ZEBRA_VXLIF_VLAN_CHANGE 0x4
-extern void zebra_vxlan_print_macs_vni (struct vty *vty, struct zebra_vrf *zvrf,
- vni_t vni);
-extern void zebra_vxlan_print_macs_all_vni (struct vty *vty,
- struct zebra_vrf *zvrf);
-extern void zebra_vxlan_print_macs_all_vni_vtep (struct vty *vty,
- struct zebra_vrf *zvrf,
- struct in_addr vtep_ip);
-extern void zebra_vxlan_print_specific_mac_vni (struct vty *vty,
- struct zebra_vrf *zvrf, vni_t vni, struct ethaddr *mac);
-extern void zebra_vxlan_print_macs_vni_vtep (struct vty *vty,
- struct zebra_vrf *zvrf, vni_t vni, struct in_addr vtep_ip);
-extern void zebra_vxlan_print_neigh_vni (struct vty *vty, struct zebra_vrf *zvrf,
- vni_t vni);
-extern void zebra_vxlan_print_neigh_all_vni (struct vty *vty,
- struct zebra_vrf *zvrf);
-extern void zebra_vxlan_print_specific_neigh_vni (struct vty *vty,
- struct zebra_vrf *zvrf, vni_t vni, struct ipaddr *ip);
-extern void zebra_vxlan_print_neigh_vni_vtep (struct vty *vty,
- struct zebra_vrf *zvrf, vni_t vni, struct in_addr vtep_ip);
-extern void zebra_vxlan_print_vni (struct vty *vty, struct zebra_vrf *zvrf, vni_t vni);
-extern void zebra_vxlan_print_vnis (struct vty *vty, struct zebra_vrf *zvrf);
+extern void zebra_vxlan_print_macs_vni(struct vty *vty, struct zebra_vrf *zvrf,
+ vni_t vni);
+extern void zebra_vxlan_print_macs_all_vni(struct vty *vty,
+ struct zebra_vrf *zvrf);
+extern void zebra_vxlan_print_macs_all_vni_vtep(struct vty *vty,
+ struct zebra_vrf *zvrf,
+ struct in_addr vtep_ip);
+extern void zebra_vxlan_print_specific_mac_vni(struct vty *vty,
+ struct zebra_vrf *zvrf,
+ vni_t vni, struct ethaddr *mac);
+extern void zebra_vxlan_print_macs_vni_vtep(struct vty *vty,
+ struct zebra_vrf *zvrf, vni_t vni,
+ struct in_addr vtep_ip);
+extern void zebra_vxlan_print_neigh_vni(struct vty *vty, struct zebra_vrf *zvrf,
+ vni_t vni);
+extern void zebra_vxlan_print_neigh_all_vni(struct vty *vty,
+ struct zebra_vrf *zvrf);
+extern void zebra_vxlan_print_specific_neigh_vni(struct vty *vty,
+ struct zebra_vrf *zvrf,
+ vni_t vni, struct ipaddr *ip);
+extern void zebra_vxlan_print_neigh_vni_vtep(struct vty *vty,
+ struct zebra_vrf *zvrf, vni_t vni,
+ struct in_addr vtep_ip);
+extern void zebra_vxlan_print_vni(struct vty *vty, struct zebra_vrf *zvrf,
+ vni_t vni);
+extern void zebra_vxlan_print_vnis(struct vty *vty, struct zebra_vrf *zvrf);
-extern int zebra_vxlan_svi_up (struct interface *ifp, struct interface *link_if);
-extern int zebra_vxlan_svi_down (struct interface *ifp, struct interface *link_if);
-extern int zebra_vxlan_local_neigh_add_update (struct interface *ifp,
- struct interface *link_if,
- struct ipaddr *ip,
- struct ethaddr *macaddr,
- u_int16_t state,
- u_char ext_learned);
-extern int zebra_vxlan_local_neigh_del (struct interface *ifp,
- struct interface *link_if,
- struct ipaddr *ip);
-extern int zebra_vxlan_remote_macip_add (struct zserv *client, int sock,
- u_short length, struct zebra_vrf *zvrf);
-extern int zebra_vxlan_remote_macip_del (struct zserv *client, int sock,
- u_short length, struct zebra_vrf *zvrf);
-extern int zebra_vxlan_local_mac_add_update (struct interface *ifp,
- struct interface *br_if,
- struct ethaddr *mac, vlanid_t vid,
- u_char sticky);
-extern int zebra_vxlan_local_mac_del (struct interface *ifp,
- struct interface *br_if,
- struct ethaddr *mac, vlanid_t vid);
-extern int zebra_vxlan_check_readd_remote_mac (struct interface *ifp,
- struct interface *br_if,
- struct ethaddr *mac, vlanid_t vid);
-extern int zebra_vxlan_check_del_local_mac (struct interface *ifp,
- struct interface *br_if,
- struct ethaddr *mac, vlanid_t vid);
-extern int zebra_vxlan_if_up (struct interface *ifp);
-extern int zebra_vxlan_if_down (struct interface *ifp);
-extern int zebra_vxlan_if_add (struct interface *ifp);
-extern int zebra_vxlan_if_update (struct interface *ifp, u_int16_t chgflags);
-extern int zebra_vxlan_if_del (struct interface *ifp);
-extern int zebra_vxlan_remote_vtep_add (struct zserv *client, int sock,
- u_short length, struct zebra_vrf *zvrf);
-extern int zebra_vxlan_remote_vtep_del (struct zserv *client, int sock,
- u_short length, struct zebra_vrf *zvrf);
-extern int zebra_vxlan_advertise_all_vni (struct zserv *client, int sock,
- u_short length, struct zebra_vrf *zvrf);
-extern void zebra_vxlan_init_tables (struct zebra_vrf *zvrf);
-extern void zebra_vxlan_close_tables (struct zebra_vrf *);
+extern int zebra_vxlan_svi_up(struct interface *ifp, struct interface *link_if);
+extern int zebra_vxlan_svi_down(struct interface *ifp,
+ struct interface *link_if);
+extern int zebra_vxlan_local_neigh_add_update(
+ struct interface *ifp, struct interface *link_if, struct ipaddr *ip,
+ struct ethaddr *macaddr, u_int16_t state, u_char ext_learned);
+extern int zebra_vxlan_local_neigh_del(struct interface *ifp,
+ struct interface *link_if,
+ struct ipaddr *ip);
+extern int zebra_vxlan_remote_macip_add(struct zserv *client, int sock,
+ u_short length, struct zebra_vrf *zvrf);
+extern int zebra_vxlan_remote_macip_del(struct zserv *client, int sock,
+ u_short length, struct zebra_vrf *zvrf);
+extern int zebra_vxlan_local_mac_add_update(struct interface *ifp,
+ struct interface *br_if,
+ struct ethaddr *mac, vlanid_t vid,
+ u_char sticky);
+extern int zebra_vxlan_local_mac_del(struct interface *ifp,
+ struct interface *br_if,
+ struct ethaddr *mac, vlanid_t vid);
+extern int zebra_vxlan_check_readd_remote_mac(struct interface *ifp,
+ struct interface *br_if,
+ struct ethaddr *mac,
+ vlanid_t vid);
+extern int zebra_vxlan_check_del_local_mac(struct interface *ifp,
+ struct interface *br_if,
+ struct ethaddr *mac, vlanid_t vid);
+extern int zebra_vxlan_if_up(struct interface *ifp);
+extern int zebra_vxlan_if_down(struct interface *ifp);
+extern int zebra_vxlan_if_add(struct interface *ifp);
+extern int zebra_vxlan_if_update(struct interface *ifp, u_int16_t chgflags);
+extern int zebra_vxlan_if_del(struct interface *ifp);
+extern int zebra_vxlan_remote_vtep_add(struct zserv *client, int sock,
+ u_short length, struct zebra_vrf *zvrf);
+extern int zebra_vxlan_remote_vtep_del(struct zserv *client, int sock,
+ u_short length, struct zebra_vrf *zvrf);
+extern int zebra_vxlan_advertise_all_vni(struct zserv *client, int sock,
+ u_short length,
+ struct zebra_vrf *zvrf);
+extern void zebra_vxlan_init_tables(struct zebra_vrf *zvrf);
+extern void zebra_vxlan_close_tables(struct zebra_vrf *);
#endif /* _ZEBRA_VXLAN_H */