platform: rename nm_linux_platform_get_link_fdb_table()
Rename nm_linux_platform_get_link_fdb_table() to nm_linux_platform_get_bridge_fdb(). The new name better indicates that the function returns the bridge FDB entries.
This commit is contained in:
@@ -920,7 +920,7 @@ nm_bond_manager_send_arp(int bond_ifindex,
|
||||
int i;
|
||||
gs_free NMEtherAddr **fdb_addrs = NULL;
|
||||
|
||||
fdb_addrs = nm_linux_platform_get_link_fdb_table(platform, ifindexes, 2);
|
||||
fdb_addrs = nm_linux_platform_get_bridge_fdb(platform, ifindexes, 2);
|
||||
/* we want to send a Reverse ARP (RARP) packet */
|
||||
data.op = htons(ARP_OP_RARP);
|
||||
|
||||
|
@@ -10519,7 +10519,7 @@ parse_fdb_cb(const struct nl_msg *msg, void *arg)
|
||||
}
|
||||
|
||||
NMEtherAddr **
|
||||
nm_linux_platform_get_link_fdb_table(NMPlatform *platform, int *ifindexes, guint ifindexes_len)
|
||||
nm_linux_platform_get_bridge_fdb(NMPlatform *platform, int *ifindexes, guint ifindexes_len)
|
||||
{
|
||||
int nle;
|
||||
struct nl_sock *sk = NULL;
|
||||
|
@@ -26,7 +26,7 @@ GType nm_linux_platform_get_type(void);
|
||||
struct _NMDedupMultiIndex;
|
||||
|
||||
NMEtherAddr **
|
||||
nm_linux_platform_get_link_fdb_table(NMPlatform *platform, int *ifindexes, guint ifindexes_len);
|
||||
nm_linux_platform_get_bridge_fdb(NMPlatform *platform, int *ifindexes, guint ifindexes_len);
|
||||
|
||||
NMPlatform *nm_linux_platform_new(struct _NMDedupMultiIndex *multi_idx,
|
||||
gboolean log_with_ptr,
|
||||
|
Reference in New Issue
Block a user