mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 05:40:15 +01:00
l3cfg: add nm_l3cfg_get_multi_idx() accessor
This commit is contained in:
parent
02ad6416fd
commit
9cf49804d8
1 changed files with 12 additions and 0 deletions
|
|
@ -86,6 +86,18 @@ void _nm_l3cfg_notify_platform_change(NML3Cfg * self,
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
struct _NMDedupMultiIndex;
|
||||
|
||||
struct _NMDedupMultiIndex *nm_netns_get_multi_idx(NMNetns *self);
|
||||
|
||||
static inline struct _NMDedupMultiIndex *
|
||||
nm_l3cfg_get_multi_idx(const NML3Cfg *self)
|
||||
{
|
||||
return nm_netns_get_multi_idx(self->priv.netns);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
static inline int
|
||||
nm_l3cfg_get_ifindex(const NML3Cfg *self)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue