#include <stdint.h>
#include <errno.h>
#include <gpxe/iobuf.h>
#include <gpxe/netdevice.h>
Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER) | |
| static int | null_open (struct net_device *netdev __unused) |
| static void | null_close (struct net_device *netdev __unused) |
| static int | null_transmit (struct net_device *netdev __unused, struct io_buffer *iobuf __unused) |
| static void | null_poll (struct net_device *netdev __unused) |
| static void | null_irq (struct net_device *netdev __unused, int enable __unused) |
Variables | |
| struct net_device_operations | null_netdev_operations |
Definition in file nullnet.c.
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
| static int null_open | ( | struct net_device *netdev | __unused | ) | [static] |
| static void null_close | ( | struct net_device *netdev | __unused | ) | [static] |
| static int null_transmit | ( | struct net_device *netdev | __unused, | |
| struct io_buffer *iobuf | __unused | |||
| ) | [static] |
| static void null_poll | ( | struct net_device *netdev | __unused | ) | [static] |
| static void null_irq | ( | struct net_device *netdev | __unused, | |
| int enable | __unused | |||
| ) | [static] |
Initial value:
{
.open = null_open,
.close = null_close,
.transmit = null_transmit,
.poll = null_poll,
.irq = null_irq,
}
Definition at line 54 of file nullnet.c.
Referenced by netdev_nullify().
1.5.7.1