iPXE
lotest.h
Go to the documentation of this file.
1 #ifndef _USR_LOTEST_H
2 #define _USR_LOTEST_H
3 
4 /** @file
5  *
6  * Loopback testing
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 extern int loopback_test ( struct net_device *sender,
13  struct net_device *receiver,
14  size_t mtu, int broadcast );
15 
16 #endif /* _USR_LOTEST_H */
int loopback_test(struct net_device *sender, struct net_device *receiver, size_t mtu, int broadcast)
Perform loopback test between two network devices.
Definition: lotest.c:194
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
A network device.
Definition: netdevice.h:352
struct stp_switch sender
Sender switch.
Definition: stp.h:30
uint32_t mtu
Maximum MTU.
Definition: ena.h:28