diff options
author | brian <brian@FreeBSD.org> | 1999-11-06 22:50:59 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-11-06 22:50:59 +0000 |
commit | cac81ba45e2e673e229f5ea7773bab9d5a35b735 (patch) | |
tree | 05464cda97fbc141305fb350e1211787d0b945dc /usr.sbin/ppp/i4b.c | |
parent | 5e8870e5439ac382bd1d3732b119bf5cf81405b6 (diff) | |
download | FreeBSD-src-cac81ba45e2e673e229f5ea7773bab9d5a35b735.zip FreeBSD-src-cac81ba45e2e673e229f5ea7773bab9d5a35b735.tar.gz |
Support PPPoE
Help (lots) from: julian, archie
Facilities from: ahebert@pubnix.net
Diffstat (limited to 'usr.sbin/ppp/i4b.c')
-rw-r--r-- | usr.sbin/ppp/i4b.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/i4b.c b/usr.sbin/ppp/i4b.c index 5e76c4f..ccaa76b 100644 --- a/usr.sbin/ppp/i4b.c +++ b/usr.sbin/ppp/i4b.c @@ -269,7 +269,7 @@ i4b_OpenInfo(struct physical *p) static void i4b_device2iov(struct device *d, struct iovec *iov, int *niov, - int maxiov, pid_t newpid) + int maxiov, int *auxfd, int *nauxfd, pid_t newpid) { struct i4bdevice *dev = device2i4b(d); int sz = physical_MaxDeviceSize(); @@ -292,6 +292,7 @@ static struct device basei4bdevice = { I4B_DEVICE, "i4b", i4b_AwaitCarrier, + NULL, i4b_Raw, i4b_Offline, i4b_Cooked, @@ -306,7 +307,7 @@ static struct device basei4bdevice = { struct device * i4b_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, - int maxiov) + int maxiov, int *auxfd, int *nauxfd) { if (type == I4B_DEVICE) { struct i4bdevice *dev = (struct i4bdevice *)iov[(*niov)++].iov_base; |