platform: add IPIP links support
This commit is contained in:
@@ -2045,6 +2045,15 @@ const NMPClass _nmp_classes[NMP_OBJECT_TYPE_MAX] = {
|
||||
.cmd_plobj_to_string = (const char *(*) (const NMPlatformObject *obj, char *buf, gsize len)) nm_platform_lnk_infiniband_to_string,
|
||||
.cmd_plobj_cmp = (int (*) (const NMPlatformObject *obj1, const NMPlatformObject *obj2)) nm_platform_lnk_infiniband_cmp,
|
||||
},
|
||||
[NMP_OBJECT_TYPE_LNK_IPIP - 1] = {
|
||||
.obj_type = NMP_OBJECT_TYPE_LNK_IPIP,
|
||||
.sizeof_data = sizeof (NMPObjectLnkIpIp),
|
||||
.sizeof_public = sizeof (NMPlatformLnkIpIp),
|
||||
.obj_type_name = "ipip",
|
||||
.lnk_link_type = NM_LINK_TYPE_IPIP,
|
||||
.cmd_plobj_to_string = (const char *(*) (const NMPlatformObject *obj, char *buf, gsize len)) nm_platform_lnk_ipip_to_string,
|
||||
.cmd_plobj_cmp = (int (*) (const NMPlatformObject *obj1, const NMPlatformObject *obj2)) nm_platform_lnk_ipip_cmp,
|
||||
},
|
||||
[NMP_OBJECT_TYPE_LNK_MACVLAN - 1] = {
|
||||
.obj_type = NMP_OBJECT_TYPE_LNK_MACVLAN,
|
||||
.sizeof_data = sizeof (NMPObjectLnkMacvlan),
|
||||
|
Reference in New Issue
Block a user