mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-10 04:20:30 +01:00
libnm: add nm_utils_bond_option_arp_ip_targets_split() helper
Note yet used. The way how we split the option is relevant at various places. The code should use the same helper function.
This commit is contained in:
parent
f78e0bf246
commit
4ee0e8f075
2 changed files with 12 additions and 0 deletions
|
|
@ -10,6 +10,14 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
const char **
|
||||
nm_utils_bond_option_arp_ip_targets_split (const char *arp_ip_target)
|
||||
{
|
||||
return nm_utils_strsplit_set_full (arp_ip_target, ",", NM_UTILS_STRSPLIT_SET_FLAGS_STRSTRIP);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
gboolean
|
||||
nm_utils_vlan_priority_map_parse_str (NMVlanPriorityMap map_type,
|
||||
const char *str,
|
||||
|
|
|
|||
|
|
@ -46,6 +46,10 @@ NM_AUTO_DEFINE_FCN0 (NMWireGuardPeer *, _nm_auto_unref_wgpeer, nm_wireguard_peer
|
|||
|
||||
/****************************************************************************/
|
||||
|
||||
const char **nm_utils_bond_option_arp_ip_targets_split (const char *arp_ip_target);
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
static inline guint32
|
||||
nm_utils_vlan_priority_map_get_max_prio (NMVlanPriorityMap map, gboolean from)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue