Skip to content

Commit bf6bce7

Browse files
Stephen HemmingerDavid S. Miller
authored andcommitted
netpoll header cleanup
As Steve left netpoll beast, hopefully not to return soon. He noticed that the header was messy. He straightened it up and polished it a little, then waved goodbye. Signed-off-by: Stephen Hemminger <[email protected]>
1 parent 5de4a47 commit bf6bce7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

include/linux/netpoll.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,15 @@
1212
#include <linux/rcupdate.h>
1313
#include <linux/list.h>
1414

15-
struct netpoll;
16-
1715
struct netpoll {
1816
struct net_device *dev;
19-
char dev_name[16], *name;
17+
char dev_name[IFNAMSIZ];
18+
const char *name;
2019
void (*rx_hook)(struct netpoll *, int, char *, int);
2120

2221
u32 local_ip, remote_ip;
2322
u16 local_port, remote_port;
24-
unsigned char local_mac[6], remote_mac[6];
23+
u8 local_mac[ETH_ALEN], remote_mac[ETH_ALEN];
2524
};
2625

2726
struct netpoll_info {

0 commit comments

Comments
 (0)