| libnm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
NMSerialDevice; NMSerialDeviceClass; guint32 nm_serial_device_get_bytes_received (NMSerialDevice *self); guint32 nm_serial_device_get_bytes_sent (NMSerialDevice *self);
typedef struct {
NMDeviceClass parent;
/* Signals */
void (*ppp_stats) (NMSerialDevice *self, guint32 in_bytes, guint32 out_bytes);
/* Padding for future expansion */
void (*_reserved1) (void);
void (*_reserved2) (void);
void (*_reserved3) (void);
void (*_reserved4) (void);
void (*_reserved5) (void);
void (*_reserved6) (void);
} NMSerialDeviceClass;
guint32 nm_serial_device_get_bytes_received (NMSerialDevice *self);
Gets the amount of bytes received by the serial device. This counter is reset when the device is activated.
|
a NMSerialDevice |
Returns : |
bytes received |
guint32 nm_serial_device_get_bytes_sent (NMSerialDevice *self);
Gets the amount of bytes sent by the serial device. This counter is reset when the device is activated.
|
a NMSerialDevice |
Returns : |
bytes sent |