aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/id.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-04-30 23:53:56 +0000
committerBrian Somers <brian@FreeBSD.org>1998-04-30 23:53:56 +0000
commit6f38457323b5d63cb4b6cf0459fa3a2c721b0d10 (patch)
tree7c37ecbe36841a82aa8b5e8c8af66e8a0b8b8cd4 /usr.sbin/ppp/id.h
parent9c281ab21bdef48b9019209705fbdcd51bb7e2a3 (diff)
downloadsrc-6f38457323b5d63cb4b6cf0459fa3a2c721b0d10.tar.gz
src-6f38457323b5d63cb4b6cf0459fa3a2c721b0d10.zip
o Create a new ``timer'' log level. This lets us ``set
log debug'' without filling our filesystem/screen with junk that we don't really want to see. o change PHYS_STDIN to PHYS_DIRECT - we can handle incoming connections that aren't on STDIN_FILENO now. o Allow return values from our FSM LayerUp functions. If LayerUp() fails, the FSM does an immediate FsmDown() without calling the fsm_parent's Layer{Up,Down} functions. o Clear the close-on-exec flag of file descriptor 3 when executing chat programs so that our documented ability to communicate with /dev/tty via that descriptor works. Also document it as descriptor 3, not 4 :-O o Allow a ``rm'' command as an alias for ``remove''. o Fix the bind()/connect()/accept() calls made by the MP server. o Create bundle_SendDatalink() and bundle_ReceiveDatalink(). This allows `struct datalink's to flatten themselves, pass through a pipe (read: the eye of a needle !) and come alive at the other end. The donator then fork()s & exec()s pppmpipe, ``passing'' the connection to another ppp instance. *** PPP NOW TALKS MULTILINK :-))) *** Our link utilization is hideous, and lots of code needs tidying still. It's also probably riddled with bugs ! It's been tested against itself only, and has hung once, so confidence isn't high....
Notes
Notes: svn path=/cvs2svn/branches/MP/; revision=35568
Diffstat (limited to 'usr.sbin/ppp/id.h')
-rw-r--r--usr.sbin/ppp/id.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/id.h b/usr.sbin/ppp/id.h
index ee3ae91210ed..2b02bb7ac35a 100644
--- a/usr.sbin/ppp/id.h
+++ b/usr.sbin/ppp/id.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: id.h,v 1.3.4.2 1998/04/17 22:05:19 brian Exp $
+ * $Id: id.h,v 1.3.4.3 1998/04/28 01:25:20 brian Exp $
*/
struct utmp;
@@ -41,5 +41,5 @@ extern int ID0uu_lock(const char *);
extern int ID0uu_unlock(const char *);
extern void ID0login(struct utmp *);
extern void ID0logout(const char *);
-extern int ID0bind_un(int, const struct sockaddr_un *, int);
-extern int ID0connect_un(int, const struct sockaddr_un *, int);
+extern int ID0bind_un(int, const struct sockaddr_un *);
+extern int ID0connect_un(int, const struct sockaddr_un *);