![]() |
![]() |
![]() |
libnm-util Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
NMSettingInfinibandNMSettingInfiniband — Describes connection properties for IP-over-InfiniBand networks |
#include <nm-setting-infiniband.h> #define NM_SETTING_INFINIBAND_SETTING_NAME enum NMSettingInfinibandError; #define NM_TYPE_SETTING_INFINIBAND_ERROR #define NM_SETTING_INFINIBAND_ERROR GQuark nm_setting_infiniband_error_quark (void); #define NM_SETTING_INFINIBAND_MAC_ADDRESS #define NM_SETTING_INFINIBAND_MTU #define NM_SETTING_INFINIBAND_TRANSPORT_MODE NMSettingInfiniband; GType nm_setting_infiniband_get_type (void); NMSetting * nm_setting_infiniband_new (void); const GByteArray * nm_setting_infiniband_get_mac_address (NMSettingInfiniband *setting); guint32 nm_setting_infiniband_get_mtu (NMSettingInfiniband *setting); const char * nm_setting_infiniband_get_transport_mode (NMSettingInfiniband *setting);
"mac-address" GArray_guchar_* : Read / Write "mtu" guint : Read / Write / Construct "transport-mode" gchar* : Read / Write / Construct
The NMSettingInfiniband object is a NMSetting subclass that describes properties necessary for connection to IP-over-InfiniBand networks.
typedef enum { NM_SETTING_INFINIBAND_ERROR_UNKNOWN = 0, NM_SETTING_INFINIBAND_ERROR_INVALID_PROPERTY, NM_SETTING_INFINIBAND_ERROR_MISSING_PROPERTY } NMSettingInfinibandError;
#define NM_TYPE_SETTING_INFINIBAND_ERROR (nm_setting_infiniband_error_get_type ())
#define NM_SETTING_INFINIBAND_ERROR nm_setting_infiniband_error_quark ()
GQuark nm_setting_infiniband_error_quark (void);
Registers an error quark for NMSettingInfiniband if necessary.
Returns : |
the error quark used for NMSettingInfiniband errors. |
NMSetting * nm_setting_infiniband_new (void);
Creates a new NMSettingInfiniband object with default values.
Returns : |
the new empty NMSettingInfiniband object. transfer full. |
const GByteArray * nm_setting_infiniband_get_mac_address (NMSettingInfiniband *setting);
|
the NMSettingInfiniband |
Returns : |
the "mac-address" property of the setting |
guint32 nm_setting_infiniband_get_mtu (NMSettingInfiniband *setting);
|
the NMSettingInfiniband |
Returns : |
the "mtu" property of the setting |
"mac-address"
property"mac-address" GArray_guchar_* : Read / Write
If specified, this connection will only apply to the IPoIB device whose permanent MAC address matches. This property does not change the MAC address of the device (i.e. MAC spoofing).
"mtu"
property"mtu" guint : Read / Write / Construct
If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple frames.
Default value: 0
"transport-mode"
property"transport-mode" gchar* : Read / Write / Construct
The IP-over-InfiniBand transport mode. Either 'datagram' or 'connected'.
Default value: "datagram"