summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_table.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-07-28 17:23:35 +0200
committerDonald Sharp <sharpd@cumulusnetwroks.com>2016-07-28 13:27:47 +0200
commitcd37dad1b99cca18773cfe2268fed29fdd33cd71 (patch)
treea51c02a24b6950833f7bd3b975a9ee8d815cca90 /bgpd/bgp_table.h
parentbgpd: divorce router-id logic from CLI & zebra (diff)
downloadfrr-cd37dad1b99cca18773cfe2268fed29fdd33cd71.tar.xz
frr-cd37dad1b99cca18773cfe2268fed29fdd33cd71.zip
bgpd: ditch unused bgp_node_*() functions
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_table.h')
-rw-r--r--bgpd/bgp_table.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/bgpd/bgp_table.h b/bgpd/bgp_table.h
index f4e5ec5b8..1114c3701 100644
--- a/bgpd/bgp_table.h
+++ b/bgpd/bgp_table.h
@@ -113,44 +113,6 @@ bgp_node_table (struct bgp_node *node)
}
/*
- * bgp_node_info
- *
- * Returns the 'info' pointer corresponding to a bgp node.
- */
-static inline void *
-bgp_node_info (const struct bgp_node *node)
-{
- return node->info;
-}
-
-/*
- * bgp_node_set_info
- */
-static inline void
-bgp_node_set_info (struct bgp_node *node, void *info)
-{
- node->info = info;
-}
-
-/*
- * bgp_node_prefix
- */
-static inline struct prefix *
-bgp_node_prefix (struct bgp_node *node)
-{
- return &node->p;
-}
-
-/*
- * bgp_node_prefixlen
- */
-static inline u_char
-bgp_node_prefixlen (struct bgp_node *node)
-{
- return bgp_node_prefix (node)->prefixlen;
-}
-
-/*
* bgp_node_parent_nolock
*
* Gets the parent node of the given node without locking it.