aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/server.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-04-10 13:19:23 +0000
committerBrian Somers <brian@FreeBSD.org>1998-04-10 13:19:23 +0000
commit565e35e50e2cdac423588a3d18742544bde128b0 (patch)
tree4fd95655022372ca2d6e72fd41d3d7d073afa866 /usr.sbin/ppp/server.h
parentc06d604b0351800163c0b058cf6c47e036543c24 (diff)
downloadsrc-565e35e50e2cdac423588a3d18742544bde128b0.tar.gz
src-565e35e50e2cdac423588a3d18742544bde128b0.zip
o Remove the `mode' global - it's now per physical device.
o Shuffle things that live at the datalink level into ``show link'' rather than ``show modem''. o Make both ``show'' commands prettier and more consistent, and display carrier status, link type and our name in ``show modem''. o Show redial and reconnect information in ``show link'' and remove ``show redial'' and ``show reconnect''. o Down the correct link in bundle_LinkLost(). o Remove stale -direct and -background links at the end of our main loop, not when we know they're going. This prevents unexpected pointer-invalidations... o If we ``set server'' with the same values twice, notice and don't moan about failure. o Record dial script despite our link mode. The mode may be changed later (next mod) :-) We never run scripts in -direct and -dedicated modes. o Make ``set server none'' functional again. o Correct datalink state array so that we don't report an ``unknown'' state. o Pass struct ipcp to IpcpCleanInterface, not struct fsm. o Create TUN_PREFIX define rather than hard-coding in main.c o prompt_TtyInit now handles a NULL prompt for -direct mode rather than having to create one then destroy it uncleanly. o Mention our mode in the "PPP Started" LogPHASE message. o Bring all auto links up when we have something to send. o Remove some redundant Physical_*() functions. o Show which connection is running a command when logging commands. o Initialise throughput uptime correctly.
Notes
Notes: svn path=/cvs2svn/branches/MP/; revision=35118
Diffstat (limited to 'usr.sbin/ppp/server.h')
-rw-r--r--usr.sbin/ppp/server.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/ppp/server.h b/usr.sbin/ppp/server.h
index 295e22ca278b..094231206d23 100644
--- a/usr.sbin/ppp/server.h
+++ b/usr.sbin/ppp/server.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: server.h,v 1.4.2.2 1998/04/03 19:25:55 brian Exp $
+ * $Id: server.h,v 1.4.2.3 1998/04/07 00:54:18 brian Exp $
*/
struct bundle;
@@ -32,6 +32,11 @@ struct server {
struct descriptor desc;
int fd;
char passwd[50];
+
+ struct sockaddr_un ifsun; /* local socket */
+ char *rm; /* Points to local socket path */
+
+ u_short port; /* tcp socket */
};
#define server2descriptor(s) (&(s)->desc)