diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-10-03 11:01:34 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-10-03 11:01:34 -0500 |
| commit | e2d5b146763e6798738688f5b1b2b30225b4ccdc (patch) | |
| tree | 13c24d6673aaec3c8a081ac6771e59ae4ecac598 /include | |
| parent | 78032727c35f804b4d60303789931a4f51bd7699 (diff) | |
ISDN: Make hard_start_xmit() device type specific
One goal is now achieved: Different types of ISDN net devices now have
a struct ops which describes them, so we don't have a mess of
if (lp->p_encap == <whatever>) everywhere, but things even nicely
split into
isdn_net.c: Common stuff and ethernet, raw-ip, and similar
isdn_ciscohdlck.c: Cisco HDLC + keepalive
isdn_ppp.c: Sync PPP
where common code to be used library-like is provided by isdn_net.c
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/isdn.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/isdn.h b/include/linux/isdn.h index 1d255e01fbad..e1d2a910400c 100644 --- a/include/linux/isdn.h +++ b/include/linux/isdn.h @@ -282,6 +282,8 @@ struct isdn_net_dev_s; struct isdn_net_local_s; struct isdn_netif_ops { + int (*hard_start_xmit) (struct sk_buff *skb, + struct net_device *dev); int (*hard_header) (struct sk_buff *skb, struct net_device *dev, unsigned short type, |
