aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/id.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-04-28 01:25:46 +0000
committerBrian Somers <brian@FreeBSD.org>1998-04-28 01:25:46 +0000
commit1fa665f5b363853f2e5ebdf453e9af3b7e752729 (patch)
tree468a8c3d43eac7cc8a507231151a3fe2f8d67301 /usr.sbin/ppp/id.h
parent107d62e7ac793df852b39f8b73b2636c3ee15c24 (diff)
downloadsrc-1fa665f5b363853f2e5ebdf453e9af3b7e752729.tar.gz
src-1fa665f5b363853f2e5ebdf453e9af3b7e752729.zip
o Add the link name to modem diagnostics.
o Create struct mpserver as part of struct mp. mpserver creates a unix-domain socket based on the peers auth name and endpoint discriminator. If it already exists, ppp will ``pass the link'' over to the owner of the socket, joining it into the bundle of another ppp invocation, otherwise ppp waits for other invocations to pass it links through this socket. The final piece of code will be the code that flattens our datalink info and passes it down this channel (not yet implemented).
Notes
Notes: svn path=/cvs2svn/branches/MP/; revision=35481
Diffstat (limited to 'usr.sbin/ppp/id.h')
-rw-r--r--usr.sbin/ppp/id.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ppp/id.h b/usr.sbin/ppp/id.h
index 7fab89c8eee8..ee3ae91210ed 100644
--- a/usr.sbin/ppp/id.h
+++ b/usr.sbin/ppp/id.h
@@ -23,10 +23,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: id.h,v 1.3.4.1 1998/02/19 02:08:47 brian Exp $
+ * $Id: id.h,v 1.3.4.2 1998/04/17 22:05:19 brian Exp $
*/
struct utmp;
+struct sockaddr_un;
extern void ID0init(void);
extern uid_t ID0realuid(void);
@@ -40,3 +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);