2 * These are the public elements of the Linux kernel X.25 implementation.
8 #define SIOCX25GSUBSCRIP (SIOCPROTOPRIVATE + 0)
9 #define SIOCX25SSUBSCRIP (SIOCPROTOPRIVATE + 1)
10 #define SIOCX25GFACILITIES (SIOCPROTOPRIVATE + 2)
11 #define SIOCX25SFACILITIES (SIOCPROTOPRIVATE + 3)
12 #define SIOCX25GCALLUSERDATA (SIOCPROTOPRIVATE + 4)
13 #define SIOCX25SCALLUSERDATA (SIOCPROTOPRIVATE + 5)
14 #define SIOCX25GCAUSEDIAG (SIOCPROTOPRIVATE + 6)
17 * Values for {get,set}sockopt.
19 #define X25_QBITINCL 1
22 * X.25 Packet Size values.
35 * An X.121 address, it is held as ASCII text, null terminated, up to 15
36 * digits and a null terminator.
43 * Linux X.25 Address structure, used for bind, and connect mostly.
46 sa_family_t sx25_family
; /* Must be AF_X25 */
47 x25_address sx25_addr
; /* X.121 Address */
51 * DTE/DCE subscription options.
53 struct x25_subscrip_struct
{
55 unsigned int extended
;
59 * Routing table control structure.
61 struct x25_route_struct
{
63 unsigned int sigdigits
;
68 * Facilities structure.
70 struct x25_facilities
{
71 unsigned int winsize_in
, winsize_out
;
72 unsigned int pacsize_in
, pacsize_out
;
73 unsigned int throughput
;
78 * Call User Data structure.
80 struct x25_calluserdata
{
81 unsigned int cudlength
;
82 unsigned char cuddata
[128];
86 * Call clearing Cause and Diagnostic structure.
88 struct x25_causediag
{
90 unsigned char diagnostic
;