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