Functions
nm_setting_sriov_new ()
NMSetting *
nm_setting_sriov_new (void
);
nm_setting_sriov_get_total_vfs ()
guint
nm_setting_sriov_get_total_vfs (NMSettingSriov *setting
);
nm_setting_sriov_get_num_vfs ()
guint
nm_setting_sriov_get_num_vfs (NMSettingSriov *setting
);
nm_setting_sriov_remove_vf ()
void
nm_setting_sriov_remove_vf (NMSettingSriov *setting
,
guint idx
);
nm_setting_sriov_remove_vf_by_index ()
gboolean
nm_setting_sriov_remove_vf_by_index (NMSettingSriov *setting
,
guint index
);
nm_setting_sriov_clear_vfs ()
void
nm_setting_sriov_clear_vfs (NMSettingSriov *setting
);
nm_setting_sriov_get_autoprobe_drivers ()
NMTernary
nm_setting_sriov_get_autoprobe_drivers
(NMSettingSriov *setting
);
nm_sriov_vf_add_vlan ()
gboolean
nm_sriov_vf_add_vlan (NMSriovVF *vf
,
guint vlan_id
);
nm_sriov_vf_remove_vlan ()
gboolean
nm_sriov_vf_remove_vlan (NMSriovVF *vf
,
guint vlan_id
);
nm_sriov_vf_get_vlan_ids ()
const guint *
nm_sriov_vf_get_vlan_ids (const NMSriovVF *vf
,
guint *length
);
nm_sriov_vf_set_vlan_qos ()
void
nm_sriov_vf_set_vlan_qos (NMSriovVF *vf
,
guint vlan_id
,
guint32 qos
);
nm_sriov_vf_get_vlan_qos ()
guint32
nm_sriov_vf_get_vlan_qos (const NMSriovVF *vf
,
guint vlan_id
);
nm_sriov_vf_new ()
NMSriovVF *
nm_sriov_vf_new (guint index
);
nm_sriov_vf_ref ()
void
nm_sriov_vf_ref (NMSriovVF *vf
);
nm_sriov_vf_unref ()
void
nm_sriov_vf_unref (NMSriovVF *vf
);
nm_sriov_vf_equal ()
gboolean
nm_sriov_vf_equal (const NMSriovVF *vf
,
const NMSriovVF *other
);
nm_sriov_vf_get_index ()
guint
nm_sriov_vf_get_index (const NMSriovVF *vf
);
nm_sriov_vf_set_attribute ()
void
nm_sriov_vf_set_attribute (NMSriovVF *vf
,
const char *name
,
GVariant *value
);
nm_sriov_vf_get_attribute_names ()
const char **
nm_sriov_vf_get_attribute_names (const NMSriovVF *vf
);
nm_sriov_vf_get_attribute ()
GVariant *
nm_sriov_vf_get_attribute (const NMSriovVF *vf
,
const char *name
);
nm_sriov_vf_attribute_validate ()
gboolean
nm_sriov_vf_attribute_validate (const char *name
,
GVariant *value
,
gboolean *known
,
GError **error
);
Types and Values
NM_SETTING_SRIOV_SETTING_NAME
#define NM_SETTING_SRIOV_SETTING_NAME "sriov"
NM_SETTING_SRIOV_TOTAL_VFS
#define NM_SETTING_SRIOV_TOTAL_VFS "total-vfs"
NM_SETTING_SRIOV_VFS
#define NM_SETTING_SRIOV_VFS "vfs"
NM_SETTING_SRIOV_AUTOPROBE_DRIVERS
#define NM_SETTING_SRIOV_AUTOPROBE_DRIVERS "autoprobe-drivers"
NM_SRIOV_VF_ATTRIBUTE_MAC
#define NM_SRIOV_VF_ATTRIBUTE_MAC "mac"
NM_SRIOV_VF_ATTRIBUTE_SPOOF_CHECK
#define NM_SRIOV_VF_ATTRIBUTE_SPOOF_CHECK "spoof-check"
NM_SRIOV_VF_ATTRIBUTE_TRUST
#define NM_SRIOV_VF_ATTRIBUTE_TRUST "trust"
NM_SRIOV_VF_ATTRIBUTE_MIN_TX_RATE
#define NM_SRIOV_VF_ATTRIBUTE_MIN_TX_RATE "min-tx-rate"
NM_SRIOV_VF_ATTRIBUTE_MAX_TX_RATE
#define NM_SRIOV_VF_ATTRIBUTE_MAX_TX_RATE "max-tx-rate"