diff options
Diffstat (limited to 'include/linux/ppp_channel.h')
-rw-r--r-- | include/linux/ppp_channel.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/ppp_channel.h b/include/linux/ppp_channel.h index a942892d6dfe..0d3fa63e90ea 100644 --- a/include/linux/ppp_channel.h +++ b/include/linux/ppp_channel.h | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/list.h> | 22 | #include <linux/list.h> |
23 | #include <linux/skbuff.h> | 23 | #include <linux/skbuff.h> |
24 | #include <linux/poll.h> | 24 | #include <linux/poll.h> |
25 | #include <net/net_namespace.h> | ||
25 | 26 | ||
26 | struct ppp_channel; | 27 | struct ppp_channel; |
27 | 28 | ||
@@ -39,8 +40,8 @@ struct ppp_channel { | |||
39 | int mtu; /* max transmit packet size */ | 40 | int mtu; /* max transmit packet size */ |
40 | int hdrlen; /* amount of headroom channel needs */ | 41 | int hdrlen; /* amount of headroom channel needs */ |
41 | void *ppp; /* opaque to channel */ | 42 | void *ppp; /* opaque to channel */ |
42 | /* the following are not used at present */ | ||
43 | int speed; /* transfer rate (bytes/second) */ | 43 | int speed; /* transfer rate (bytes/second) */ |
44 | /* the following is not used at present */ | ||
44 | int latency; /* overhead time in milliseconds */ | 45 | int latency; /* overhead time in milliseconds */ |
45 | }; | 46 | }; |
46 | 47 | ||
@@ -56,6 +57,9 @@ extern void ppp_input(struct ppp_channel *, struct sk_buff *); | |||
56 | that we may have missed a packet. */ | 57 | that we may have missed a packet. */ |
57 | extern void ppp_input_error(struct ppp_channel *, int code); | 58 | extern void ppp_input_error(struct ppp_channel *, int code); |
58 | 59 | ||
60 | /* Attach a channel to a given PPP unit in specified net. */ | ||
61 | extern int ppp_register_net_channel(struct net *, struct ppp_channel *); | ||
62 | |||
59 | /* Attach a channel to a given PPP unit. */ | 63 | /* Attach a channel to a given PPP unit. */ |
60 | extern int ppp_register_channel(struct ppp_channel *); | 64 | extern int ppp_register_channel(struct ppp_channel *); |
61 | 65 | ||