diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2018-08-02 12:49:01 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2018-08-02 12:49:01 +0000 |
commit | 6230e45c33865c25deb08e92c5ffddb709c1dc85 (patch) | |
tree | 897230a45631d820554f4f450452fb0f401edaf6 /usr.sbin/bgpd | |
parent | 711c019a47b3bfbf423b4045136eaabd4fac62ee (diff) |
Make a few more rde specific functions static.
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/rde.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 17225b73d9b..6c17a8f90f2 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.405 2018/08/02 12:46:02 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.406 2018/08/02 12:49:00 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -90,9 +90,9 @@ void rde_rib_free(struct rib_desc *); int rde_rdomain_import(struct rde_aspath *, struct rdomain *); void rde_reload_done(void); -void rde_softreconfig_out(struct rib_entry *, void *); -void rde_softreconfig_in(struct rib_entry *, void *); -void rde_softreconfig_unload_peer(struct rib_entry *, void *); +static void rde_softreconfig_out(struct rib_entry *, void *); +static void rde_softreconfig_in(struct rib_entry *, void *); +static void rde_softreconfig_unload_peer(struct rib_entry *, void *); void rde_up_dump_upcall(struct rib_entry *, void *); void rde_update_queue_runner(void); void rde_update6_queue_runner(u_int8_t); @@ -108,9 +108,9 @@ void peer_up(u_int32_t, struct session_up *); void peer_down(u_int32_t); void peer_flush(struct rde_peer *, u_int8_t); void peer_stale(u_int32_t, u_int8_t); -void peer_recv_eor(struct rde_peer *, u_int8_t); void peer_dump(u_int32_t, u_int8_t); -void peer_send_eor(struct rde_peer *, u_int8_t); +static void peer_recv_eor(struct rde_peer *, u_int8_t); +static void peer_send_eor(struct rde_peer *, u_int8_t); void network_add(struct network_config *, int); void network_delete(struct network_config *, int); @@ -2839,7 +2839,7 @@ rde_reload_done(void) -1, NULL, 0); } -void +static void rde_softreconfig_in(struct rib_entry *re, void *ptr) { struct filterstate state; @@ -2873,7 +2873,7 @@ rde_softreconfig_in(struct rib_entry *re, void *ptr) } } -void +static void rde_softreconfig_out(struct rib_entry *re, void *ptr) { struct filterstate ostate, nstate; @@ -2928,7 +2928,7 @@ rde_softreconfig_out(struct rib_entry *re, void *ptr) rde_filterstate_clean(&nstate); } -void +static void rde_softreconfig_unload_peer(struct rib_entry *re, void *ptr) { struct filterstate ostate; @@ -3293,7 +3293,7 @@ peer_dump(u_int32_t id, u_int8_t aid) } /* End-of-RIB marker, RFC 4724 */ -void +static void peer_recv_eor(struct rde_peer *peer, u_int8_t aid) { peer->prefix_rcvd_eor++; @@ -3314,7 +3314,7 @@ peer_recv_eor(struct rde_peer *peer, u_int8_t aid) aid2str(aid)); } -void +static void peer_send_eor(struct rde_peer *peer, u_int8_t aid) { u_int16_t afi; |