diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-10-26 18:46:55 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:22:37 -0500 |
commit | 5de4a473bda49554e4e9bd93b78f43c49a7ea69c (patch) | |
tree | 13a74efb896968e8b535561d5024e3cc8a2f19cc /include/linux/netpoll.h | |
parent | 2bdfe0baeca0e2750037b8fba71905c00ac3c515 (diff) |
netpoll queue cleanup
The beast had a long and not very happy history. At one
point, a friend (netdump) had asked that he open up a little.
Well, the friend was long gone now, and the beast had
this dangling piece hanging (netpoll_queue).
It wasn't hard to stitch the netpoll_queue back in
where it belonged and make everything tidy.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Diffstat (limited to 'include/linux/netpoll.h')
-rw-r--r-- | include/linux/netpoll.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h index c65d12ec7bb0..b7eb008c43de 100644 --- a/include/linux/netpoll.h +++ b/include/linux/netpoll.h | |||
@@ -18,7 +18,7 @@ struct netpoll { | |||
18 | struct net_device *dev; | 18 | struct net_device *dev; |
19 | char dev_name[16], *name; | 19 | char dev_name[16], *name; |
20 | void (*rx_hook)(struct netpoll *, int, char *, int); | 20 | void (*rx_hook)(struct netpoll *, int, char *, int); |
21 | void (*drop)(struct sk_buff *skb); | 21 | |
22 | u32 local_ip, remote_ip; | 22 | u32 local_ip, remote_ip; |
23 | u16 local_port, remote_port; | 23 | u16 local_port, remote_port; |
24 | unsigned char local_mac[6], remote_mac[6]; | 24 | unsigned char local_mac[6], remote_mac[6]; |
@@ -44,7 +44,7 @@ int netpoll_trap(void); | |||
44 | void netpoll_set_trap(int trap); | 44 | void netpoll_set_trap(int trap); |
45 | void netpoll_cleanup(struct netpoll *np); | 45 | void netpoll_cleanup(struct netpoll *np); |
46 | int __netpoll_rx(struct sk_buff *skb); | 46 | int __netpoll_rx(struct sk_buff *skb); |
47 | void netpoll_queue(struct sk_buff *skb); | 47 | |
48 | 48 | ||
49 | #ifdef CONFIG_NETPOLL | 49 | #ifdef CONFIG_NETPOLL |
50 | static inline int netpoll_rx(struct sk_buff *skb) | 50 | static inline int netpoll_rx(struct sk_buff *skb) |