diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-04-19 14:26:57 -0400 | 
|---|---|---|
| committer | Mark Stapp <mjs.ietf@gmail.com> | 2021-07-19 10:36:12 -0400 | 
| commit | 1a3bd37f7c29fca429d7ef79ace80cd6db1d5563 (patch) | |
| tree | dace8bbf2ea7ec7fc1216563ebb9f1d00b61ac8a /zebra/rt.h | |
| parent | 32367e7a3b948c7447c21169478fdd659b546270 (diff) | |
zebra: use more const
Use const in many more evpn apis, especially for macaddr,
ipaddr arguments.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/rt.h')
| -rw-r--r-- | zebra/rt.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/rt.h b/zebra/rt.h index f79ddbe958..929a44ade7 100644 --- a/zebra/rt.h +++ b/zebra/rt.h @@ -93,10 +93,10 @@ extern void macfdb_read_for_bridge(struct zebra_ns *zns, struct interface *ifp,  				   struct interface *br_if);  extern void macfdb_read_specific_mac(struct zebra_ns *zns,  				     struct interface *br_if, -				     struct ethaddr *mac, vlanid_t vid); +				     const struct ethaddr *mac, vlanid_t vid);  extern void neigh_read(struct zebra_ns *zns);  extern void neigh_read_for_vlan(struct zebra_ns *zns, struct interface *ifp); -extern void neigh_read_specific_ip(struct ipaddr *ip, +extern void neigh_read_specific_ip(const struct ipaddr *ip,  				   struct interface *vlan_if);  extern void route_read(struct zebra_ns *zns);  extern int kernel_upd_mac_nh(uint32_t nh_id, struct in_addr vtep_ip);  | 
