mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 18:50:07 +01:00
platform: add NM_PLATFORM_IP[46]_ROUTE_INIT() helper macros
This commit is contained in:
parent
c39859d240
commit
ca2b02bf98
1 changed files with 4 additions and 0 deletions
|
|
@ -616,6 +616,10 @@ typedef union {
|
|||
|
||||
#undef __NMPlatformIPRoute_COMMON
|
||||
|
||||
#define NM_PLATFORM_IP4_ROUTE_INIT(...) (&((const NMPlatformIP4Route){__VA_ARGS__}))
|
||||
|
||||
#define NM_PLATFORM_IP6_ROUTE_INIT(...) (&((const NMPlatformIP6Route){__VA_ARGS__}))
|
||||
|
||||
typedef struct {
|
||||
/* struct fib_rule_uid_range */
|
||||
guint32 start;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue