diff options
author | Brian Somers <brian@FreeBSD.org> | 2000-03-14 01:46:09 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2000-03-14 01:46:09 +0000 |
commit | f013f33ee27e881a82929e677fab7303de58d27b (patch) | |
tree | a1c61a4346986b0cf311ae04013ff7d8bd31a6eb /usr.sbin/ppp/physical.c | |
parent | 56fc73ff9bfe1a2c7d4b632e2804b80c06d4dcf3 (diff) | |
download | src-test2-f013f33ee27e881a82929e677fab7303de58d27b.tar.gz src-test2-f013f33ee27e881a82929e677fab7303de58d27b.zip |
Notes
Diffstat (limited to 'usr.sbin/ppp/physical.c')
-rw-r--r-- | usr.sbin/ppp/physical.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/ppp/physical.c b/usr.sbin/ppp/physical.c index 92d47f8e0d42..f20f2d3eab40 100644 --- a/usr.sbin/ppp/physical.c +++ b/usr.sbin/ppp/physical.c @@ -97,7 +97,7 @@ #define PPPOTCPLINE "ppp" -static int physical_DescriptorWrite(struct descriptor *, struct bundle *, +static int physical_DescriptorWrite(struct fdescriptor *, struct bundle *, const fd_set *); static int @@ -128,7 +128,7 @@ struct { #define NDEVICES (sizeof devices / sizeof devices[0]) static int -physical_UpdateSet(struct descriptor *d, fd_set *r, fd_set *w, fd_set *e, +physical_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n) { return physical_doUpdateSet(d, r, w, e, n, 0); @@ -374,7 +374,7 @@ physical_Destroy(struct physical *p) } static int -physical_DescriptorWrite(struct descriptor *d, struct bundle *bundle, +physical_DescriptorWrite(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset) { struct physical *p = descriptor2physical(d); @@ -496,7 +496,7 @@ physical_ShowStatus(struct cmdargs const *arg) } void -physical_DescriptorRead(struct descriptor *d, struct bundle *bundle, +physical_DescriptorRead(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset) { struct physical *p = descriptor2physical(d); @@ -788,7 +788,7 @@ physical_Write(struct physical *p, const void *buf, size_t nbytes) } int -physical_doUpdateSet(struct descriptor *d, fd_set *r, fd_set *w, fd_set *e, +physical_doUpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n, int force) { struct physical *p = descriptor2physical(d); @@ -850,7 +850,7 @@ physical_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e) } int -physical_IsSet(struct descriptor *d, const fd_set *fdset) +physical_IsSet(struct fdescriptor *d, const fd_set *fdset) { struct physical *p = descriptor2physical(d); return p->fd >= 0 && FD_ISSET(p->fd, fdset); |