summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/net/sppptun.h
diff options
context:
space:
mode:
authorJames Carlson <james.d.carlson@sun.com>2009-05-29 08:53:34 -0400
committerJames Carlson <james.d.carlson@sun.com>2009-05-29 08:53:34 -0400
commitf53eecf557986dac6ededb388fedd6ca63be0350 (patch)
treefc7a51aa1700243330df3d0b104adb4d5a5097a1 /usr/src/uts/common/net/sppptun.h
parent00ba712d889cedd6eb0c7de606f61b180572b600 (diff)
downloadillumos-joyent-f53eecf557986dac6ededb388fedd6ca63be0350.tar.gz
PSARC 2009/317 Solaris PPP/PPPoE Updates
4695172 3COM has its own incompatible dialect of PPPoE 4704518 security checks on chap peer name cause interoperability problems 4711045 pppd should not be discarding debug information on fatal signals 4711046 pppoec should provide a way to limit match against wildcard service 4714306 sppptun should not use M_ERROR to signal protocol problems 4743677 pppd can trigger latent access server bug 4750809 pppd needs lint cleanup 4947676 spppcomp_wput() allows an unprivileged process to "hang" the system. 5058886 PPPD misses first LCP configuration request 5060749 need a way to log demand-dial action at higher priority 5093264 PPPoE server can omit Service-Name tag in PADS response 6291911 ugly preremove script in SUNWpppdt causes messages on pkgrm from zone 6589814 pppd disavows bad echo-reply count 6636684 PPP should work in non-global exclusive-stack zones 6637245 sppp driver has half-baked _mi_driver_info function 6704096 SUNWpppdu and SUNWpppdr package dependency and content issues 6753945 sppptun doesn't honor clearview vanity naming feature.
Diffstat (limited to 'usr/src/uts/common/net/sppptun.h')
-rw-r--r--usr/src/uts/common/net/sppptun.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/usr/src/uts/common/net/sppptun.h b/usr/src/uts/common/net/sppptun.h
index 0ffeb1dd40..ae6e170c6f 100644
--- a/usr/src/uts/common/net/sppptun.h
+++ b/usr/src/uts/common/net/sppptun.h
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -23,7 +22,7 @@
* sppptun.h - ioctl and other miscellaneous definitions for PPP
* tunneling STREAMS module
*
- * Copyright 2000-2002 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* See also:
@@ -36,8 +35,6 @@
#ifndef __SPPPTUN_H
#define __SPPPTUN_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ethernet.h>
@@ -59,7 +56,6 @@ extern "C" {
* of the PPP tunnel multiplexor.
*/
#define PPPTUN_SNAME _PPPTUN(1) /* set interface name (mod) */
-#define PPPTUN_GNAME _PPPTUN(2) /* get interface name (mod) */
#define PPPTUN_SINFO _PPPTUN(3) /* set multiplex ID/style */
#define PPPTUN_GINFO _PPPTUN(4) /* get multiplex ID/style */
#define PPPTUN_GNNAME _PPPTUN(5) /* get Nth interface name */
@@ -71,6 +67,7 @@ extern "C" {
#define PPPTUN_SCTL _PPPTUN(11) /* set control channel by name */
#define PPPTUN_GCTL _PPPTUN(12) /* get control channel name */
#define PPPTUN_DCTL _PPPTUN(13) /* remove control channel */
+#define PPPTUN_SSAP _PPPTUN(14) /* set SAP value; uint_t */
/* Lower layer link name size */
#define PPPTUNNAMSIZ 32
@@ -160,6 +157,7 @@ struct ppptun_control {
#define PTCA_CONTROL 2 /* Inbound control message */
#define PTCA_DISCONNECT 3 /* Client disconnected */
#define PTCA_UNPLUMB 4 /* Lower stream unplumbed (no addr) */
+#define PTCA_BADCTRL 5 /* Malformed control message */
#ifdef __cplusplus
}