diff options
| author | Stephen Hemminger <shemminger@osdl.org> | 2004-02-05 21:39:44 -0800 |
|---|---|---|
| committer | Stephen Hemminger <shemminger@osdl.org> | 2004-02-05 21:39:44 -0800 |
| commit | 6434c04175e058429430e2064d3a0ce112ce45ad (patch) | |
| tree | 4001117bad47dcd300748c89f9ea6fa9ef76d177 /include/linux/netdevice.h | |
| parent | fa13a7b8fd68f4c00fc8c6905261b50a4733d8c3 (diff) | |
[NET]: Hash netdevices by ifindex for faster lookup.
Diffstat (limited to 'include/linux/netdevice.h')
| -rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 11723ab7e2c5..1a77c3caf115 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -377,6 +377,8 @@ struct net_device struct list_head todo_list; /* device name hash chain */ struct hlist_node name_hlist; + /* device index hash chain */ + struct hlist_node index_hlist; /* register/unregister state machine */ enum { NETREG_UNINITIALIZED=0, |
