mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
[NET]: Move hardware header operations out of netdevice.
Since hardware header operations are part of the protocol class not the device instance, make them into a separate object and save memory. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b95cce3576
commit
3b04ddde02
65 changed files with 479 additions and 473 deletions
|
@ -353,13 +353,6 @@ typedef struct isdn_net_local_s {
|
|||
/* a particular channel (including */
|
||||
/* the frame_cnt */
|
||||
|
||||
int (*org_hhc)(
|
||||
struct neighbour *neigh,
|
||||
struct hh_cache *hh);
|
||||
/* Ptr to orig. header_cache_update */
|
||||
void (*org_hcu)(struct hh_cache *,
|
||||
struct net_device *,
|
||||
unsigned char *);
|
||||
int pppbind; /* ippp device for bindings */
|
||||
int dialtimeout; /* How long shall we try on dialing? (jiffies) */
|
||||
int dialwait; /* How long shall we wait after failed attempt? (jiffies) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue