summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/physical.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-06-05 21:36:00 +0000
committerbrian <brian@FreeBSD.org>1999-06-05 21:36:00 +0000
commitb4fbb76a1315606ed5232890a285663987ef1808 (patch)
treea7dc4874df8a78ef11f5c3f4c17fade049036085 /usr.sbin/ppp/physical.h
parent66658a0618328716b17140aeb1f74f883b3fd45b (diff)
downloadFreeBSD-src-b4fbb76a1315606ed5232890a285663987ef1808.zip
FreeBSD-src-b4fbb76a1315606ed5232890a285663987ef1808.tar.gz
Correct the way ppp transfers links on the server side in MP
mode by padding out the ``struct device'' to the maximum device size. Bump the ppp version number to indicate the transfer format change. This should make MP over tty and udp devices functional again.
Diffstat (limited to 'usr.sbin/ppp/physical.h')
-rw-r--r--usr.sbin/ppp/physical.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/physical.h b/usr.sbin/ppp/physical.h
index 1f39412..18212b3 100644
--- a/usr.sbin/ppp/physical.h
+++ b/usr.sbin/ppp/physical.h
@@ -16,7 +16,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: physical.h,v 1.11 1999/05/24 16:39:14 brian Exp $
+ * $Id: physical.h,v 1.12 1999/06/01 19:08:59 brian Exp $
*
*/
@@ -44,7 +44,7 @@ struct device {
void (*destroy)(struct physical *);
ssize_t (*read)(struct physical *, void *, size_t);
ssize_t (*write)(struct physical *, const void *, size_t);
- void (*device2iov)(struct physical *, struct iovec *, int *, int, pid_t);
+ void (*device2iov)(struct device *, struct iovec *, int *, int, pid_t);
int (*speed)(struct physical *);
const char *(*openinfo)(struct physical *);
};
@@ -136,3 +136,4 @@ extern int physical_SetMode(struct physical *, int);
extern void physical_DeleteQueue(struct physical *);
extern void physical_SetupStack(struct physical *, const char *, int);
extern void physical_StopDeviceTimer(struct physical *);
+extern int physical_MaxDeviceSize(void);
OpenPOWER on IntegriCloud