~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/atmsvc.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/uapi/linux/atmsvc.h (Version linux-6.11.5) and /include/uapi/linux/atmsvc.h (Version linux-3.10.108)


  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux << 
  2 /* atmsvc.h - ATM signaling kernel-demon inter      1 /* atmsvc.h - ATM signaling kernel-demon interface definitions */
  3                                                     2  
  4 /* Written 1995-2000 by Werner Almesberger, EP      3 /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
  5                                                     4  
  6                                                     5 
  7 #ifndef _LINUX_ATMSVC_H                             6 #ifndef _LINUX_ATMSVC_H
  8 #define _LINUX_ATMSVC_H                             7 #define _LINUX_ATMSVC_H
  9                                                     8 
 10 #include <linux/atmapi.h>                           9 #include <linux/atmapi.h>
 11 #include <linux/atm.h>                             10 #include <linux/atm.h>
 12 #include <linux/atmioc.h>                          11 #include <linux/atmioc.h>
 13                                                    12 
 14                                                    13 
 15 #define ATMSIGD_CTRL _IO('a',ATMIOC_SPECIAL)       14 #define ATMSIGD_CTRL _IO('a',ATMIOC_SPECIAL)
 16                                 /* become ATM      15                                 /* become ATM signaling demon control socket */
 17                                                    16 
 18 enum atmsvc_msg_type { as_catch_null, as_bind,     17 enum atmsvc_msg_type { as_catch_null, as_bind, as_connect, as_accept, as_reject,
 19                        as_listen, as_okay, as_     18                        as_listen, as_okay, as_error, as_indicate, as_close,
 20                        as_itf_notify, as_modif     19                        as_itf_notify, as_modify, as_identify, as_terminate,
 21                        as_addparty, as_droppar     20                        as_addparty, as_dropparty };
 22                                                    21 
 23 struct atmsvc_msg {                                22 struct atmsvc_msg {
 24         enum atmsvc_msg_type type;                 23         enum atmsvc_msg_type type;
 25         atm_kptr_t vcc;                            24         atm_kptr_t vcc;
 26         atm_kptr_t listen_vcc;          /* ind     25         atm_kptr_t listen_vcc;          /* indicate */
 27         int reply;                      /* for     26         int reply;                      /* for okay and close:             */
 28                                         /*   <     27                                         /*   < 0: error before active      */
 29                                         /*         28                                         /*        (sigd has discarded ctx) */
 30                                         /*   =     29                                         /*   ==0: success                  */
 31                                         /*   >     30                                         /*   > 0: error when active (still */
 32                                         /*         31                                         /*        need to close)           */
 33         struct sockaddr_atmpvc pvc;     /* ind     32         struct sockaddr_atmpvc pvc;     /* indicate, okay (connect) */
 34         struct sockaddr_atmsvc local;   /* loc     33         struct sockaddr_atmsvc local;   /* local SVC address */
 35         struct atm_qos qos;             /* QOS     34         struct atm_qos qos;             /* QOS parameters */
 36         struct atm_sap sap;             /* SAP     35         struct atm_sap sap;             /* SAP */
 37         unsigned int session;           /* for     36         unsigned int session;           /* for p2pm */
 38         struct sockaddr_atmsvc svc;     /* SVC     37         struct sockaddr_atmsvc svc;     /* SVC address */
 39 } __ATM_API_ALIGN;                                 38 } __ATM_API_ALIGN;
 40                                                    39 
 41 /*                                                 40 /*
 42  * Message contents: see ftp://icaftp.epfl.ch/     41  * Message contents: see ftp://icaftp.epfl.ch/pub/linux/atm/docs/isp-*.tar.gz
 43  */                                                42  */
 44                                                    43 
 45 /*                                                 44 /*
 46  * Some policy stuff for atmsigd and for net/a     45  * Some policy stuff for atmsigd and for net/atm/svc.c. Both have to agree on
 47  * what PCR is used to request bandwidth from      46  * what PCR is used to request bandwidth from the device driver. net/atm/svc.c
 48  * tries to do better than that, but only if t     47  * tries to do better than that, but only if there's no routing decision (i.e.
 49  * if signaling only uses one ATM interface).      48  * if signaling only uses one ATM interface).
 50  */                                                49  */
 51                                                    50 
 52 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pc     51 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pcr : \
 53   (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR      52   (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR ? (tp).max_pcr : \
 54   (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR)       53   (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR)
 55                                                    54 
 56 #endif                                             55 #endif
 57                                                    56 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php