Defines | |
#define | VALID_NLMSG(h, s) |
Functions | |
const char * | media_type_to_string (int media_type) |
guint16 | mdio_read (int sockfd, struct ifreq *ifr, int location, gboolean new_ioctl_nums) |
Read a word from the MII transceiver management registers. | |
void | mii_get_rate (HalDevice *d) |
void | mii_get_link (HalDevice *d) |
void | link_detection_handle_message (struct nlmsghdr *hdr, HalDevice *d) |
gboolean | link_detection_data_ready (GIOChannel *channel, GIOCondition cond, gpointer user_data) |
void | link_detection_init (HalDevice *d) |
void | net_class_pre_process (ClassDeviceHandler *self, HalDevice *d, const char *sysfs_path, struct sysfs_class_device *class_device) |
This method is called just before the device is either merged onto the sysdevice or added to the GDL (cf. | |
void | net_class_post_merge (ClassDeviceHandler *self, HalDevice *d) |
Variables | |
ClassDeviceHandler | net_class_handler |
Method specialisations for input device class. | |
ClassDeviceHandler | net_class_handler |
Method specialisations for input device class. |
|
Value: ((NLMSG_OK (h, s) && \ s >= sizeof (struct nlmsghdr) && \ s >= h->nlmsg_len)) Definition at line 303 of file net_class_device.c. |
|
Read a word from the MII transceiver management registers.
Definition at line 121 of file net_class_device.c. |
|
This method is called just before the device is either merged onto the sysdevice or added to the GDL (cf. merge_or_add). This is useful for extracting more information about the device through e.g. ioctl's using the device file property and also for setting info.category|capability.
Definition at line 412 of file net_class_device.c. References parse_dec(). |
|
Initial value: { class_device_init, class_device_detection_done, class_device_shutdown, class_device_tick, class_device_accept, class_device_visit, class_device_removed, class_device_udev_event, class_device_get_device_file_target, net_class_pre_process, net_class_post_merge, class_device_got_udi, NULL, "net", "net", FALSE, TRUE }
Definition at line 478 of file net_class_device.c. |