/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* atm_tcp.h - Driver-specific declarations of the ATMTCP driver (for use by driver-specific utilities) */ /* Written 1997-2000 by Werner Almesberger, EPFL LRC/ICA */ #ifndef _UAPILINUX_ATM_TCP_H #define _UAPILINUX_ATM_TCP_H #include <linux/atmapi.h> #include <linux/atm.h> #include <linux/atmioc.h> #include <linux/types.h> /* * All values in struct atmtcp_hdr are in network byte order */ struct atmtcp_hdr { … }; /* * All values in struct atmtcp_command are in host byte order */ #define ATMTCP_HDR_MAGIC … #define ATMTCP_CTRL_OPEN … #define ATMTCP_CTRL_CLOSE … struct atmtcp_control { … } __ATM_API_ALIGN; /* * Field usage: * Messge type dir. hdr.v?i type addr qos vcc result * ----------- ---- ------- ---- ---- --- --- ------ * OPEN K->D Y Y Y Y Y 0 * OPEN D->K - Y Y Y Y Y * CLOSE K->D - - Y - Y 0 * CLOSE D->K - - - - Y Y */ #define SIOCSIFATMTCP … #define ATMTCP_CREATE … #define ATMTCP_REMOVE … #endif /* _UAPILINUX_ATM_TCP_H */