1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux 1 2 /* atmsvc.h - ATM signaling kernel-demon inter 3 4 /* Written 1995-2000 by Werner Almesberger, EP 5 6 7 #ifndef _LINUX_ATMSVC_H 8 #define _LINUX_ATMSVC_H 9 10 #include <linux/atmapi.h> 11 #include <linux/atm.h> 12 #include <linux/atmioc.h> 13 14 15 #define ATMSIGD_CTRL _IO('a',ATMIOC_SPECIAL) 16 /* become ATM 17 18 enum atmsvc_msg_type { as_catch_null, as_bind, 19 as_listen, as_okay, as_ 20 as_itf_notify, as_modif 21 as_addparty, as_droppar 22 23 struct atmsvc_msg { 24 enum atmsvc_msg_type type; 25 atm_kptr_t vcc; 26 atm_kptr_t listen_vcc; /* ind 27 int reply; /* for 28 /* < 29 /* 30 /* = 31 /* > 32 /* 33 struct sockaddr_atmpvc pvc; /* ind 34 struct sockaddr_atmsvc local; /* loc 35 struct atm_qos qos; /* QOS 36 struct atm_sap sap; /* SAP 37 unsigned int session; /* for 38 struct sockaddr_atmsvc svc; /* SVC 39 } __ATM_API_ALIGN; 40 41 /* 42 * Message contents: see ftp://icaftp.epfl.ch/ 43 */ 44 45 /* 46 * Some policy stuff for atmsigd and for net/a 47 * what PCR is used to request bandwidth from 48 * tries to do better than that, but only if t 49 * if signaling only uses one ATM interface). 50 */ 51 52 #define SELECT_TOP_PCR(tp) ((tp).pcr ? (tp).pc 53 (tp).max_pcr && (tp).max_pcr != ATM_MAX_PCR 54 (tp).min_pcr ? (tp).min_pcr : ATM_MAX_PCR) 55 56 #endif 57
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.