diff options
author | Dan Winship <danw@gnome.org> | 2013-10-11 14:59:26 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-11-06 10:26:16 -0500 |
commit | 47cc8b25f2efe015defde7e76e49e67086603bb3 (patch) | |
tree | cf50a6e14d227e234661f484bf5a8d0d5748f03c /libnm-glib/nm-device.h | |
parent | b7300bbe5a9f298ede02225b6b7e73e05aa78bc8 (diff) | |
download | NetworkManager-47cc8b25f2efe015defde7e76e49e67086603bb3.tar.gz |
libnm-glib: add NMDevice:physical-port-id property
Add the physical-port-id property to NMDevice so that clients can
recognize NPAR/SR-IOV devices.
Diffstat (limited to 'libnm-glib/nm-device.h')
-rw-r--r-- | libnm-glib/nm-device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libnm-glib/nm-device.h b/libnm-glib/nm-device.h index ed274caa11..bd746b3b74 100644 --- a/libnm-glib/nm-device.h +++ b/libnm-glib/nm-device.h @@ -80,6 +80,7 @@ GQuark nm_device_error_quark (void); #define NM_DEVICE_AVAILABLE_CONNECTIONS "available-connections" #define NM_DEVICE_VENDOR "vendor" #define NM_DEVICE_PRODUCT "product" +#define NM_DEVICE_PHYSICAL_PORT_ID "physical-port-id" typedef struct { NMObject parent; @@ -135,6 +136,7 @@ NMActiveConnection * nm_device_get_active_connection(NMDevice *device); const GPtrArray * nm_device_get_available_connections(NMDevice *device); const char * nm_device_get_product (NMDevice *device); const char * nm_device_get_vendor (NMDevice *device); +const char * nm_device_get_physical_port_id (NMDevice *device); typedef void (*NMDeviceDeactivateFn) (NMDevice *device, GError *error, gpointer user_data); |