summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChas Williams <chas@cmf.nrl.navy.mil>2004-10-20 07:52:07 -0700
committerDavid S. Miller <davem@nuts.davemloft.net>2004-10-20 07:52:07 -0700
commit69509ecac82429cf7eea73674cc49f7489a3ccad (patch)
treee06325d763359e605ebadee50b1d8d399df889dd /include/linux
parent5075a03d399e40966d72caa7ca3f7efe0d91d2ec (diff)
[ATM]: point to multipoint signalling (from ekinzie@cmf.nrl.navy.mil)
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/atm.h3
-rw-r--r--include/linux/atmdev.h4
-rw-r--r--include/linux/atmsvc.h7
3 files changed, 11 insertions, 3 deletions
diff --git a/include/linux/atm.h b/include/linux/atm.h
index 7aec49cbdcbc..60136684e0af 100644
--- a/include/linux/atm.h
+++ b/include/linux/atm.h
@@ -78,6 +78,9 @@
/* Service Access Point */
#define SO_ATMPVC __SO_ENCODE(SOL_ATM,4,struct sockaddr_atmpvc)
/* "PVC" address (also for SVCs); get only */
+#define SO_MULTIPOINT __SO_ENCODE(SOL_ATM, 5, int)
+ /* make this vc a p2mp */
+
/*
* Note @@@: since the socket layers don't really distinguish the control and
diff --git a/include/linux/atmdev.h b/include/linux/atmdev.h
index 35d22064cc14..268da2732958 100644
--- a/include/linux/atmdev.h
+++ b/include/linux/atmdev.h
@@ -95,6 +95,10 @@ struct atm_dev_stats {
/* set backend handler */
#define ATM_NEWBACKENDIF _IOW('a',ATMIOC_SPECIAL+3,atm_backend_t)
/* use backend to make new if */
+#define ATM_ADDPARTY _IOW('a', ATMIOC_SPECIAL+4,struct atm_iobuf)
+ /* add party to p2mp call */
+#define ATM_DROPPARTY _IOW('a', ATMIOC_SPECIAL+5,int)
+ /* drop party from p2mp call */
/*
* These are backend handkers that can be set via the ATM_SETBACKEND call
diff --git a/include/linux/atmsvc.h b/include/linux/atmsvc.h
index 4df1c5481ecd..aa71583b8da7 100644
--- a/include/linux/atmsvc.h
+++ b/include/linux/atmsvc.h
@@ -14,9 +14,10 @@
#define ATMSIGD_CTRL _IO('a',ATMIOC_SPECIAL)
/* become ATM signaling demon control socket */
-enum atmsvc_msg_type { as_catch_null,as_bind,as_connect,as_accept,as_reject,
- as_listen,as_okay,as_error,as_indicate,as_close,as_itf_notify,
- as_modify,as_identify,as_terminate };
+enum atmsvc_msg_type { as_catch_null, as_bind, as_connect, as_accept, as_reject,
+ as_listen, as_okay, as_error, as_indicate, as_close,
+ as_itf_notify, as_modify, as_identify, as_terminate,
+ as_addparty, as_dropparty };
struct atmsvc_msg {
enum atmsvc_msg_type type;