Debian Codegraph @

netrose/rose.h

raw symbols SCIP
1 /* Definitions for Rose packet radio address family.
2 Copyright (C) 1998, 1999 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
4
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <https://www.gnu.org/licenses/>. */
18
19 /* What follows is copied from the 2.1.93 <linux/rose.h>. */
20
21 #ifndef _NETROSE_ROSE_H
22 #define _NETROSE_ROSE_Hcxx . . $ `netrose/rose.h:22:9`! 1
23
24 /* Socket level values. */
25 #define SOL_ROSEcxx . . $ `netrose/rose.h:25:9`! 260
26
27
28 /* These are the public elements of the Linux kernel Rose
29 implementation. For kernel AX.25 see the file ax25.h. This file
30 requires ax25.h for the definition of the ax25_address structure. */
31 #define ROSE_MTUcxx . . $ `netrose/rose.h:31:9`! 251
32
33 #define ROSE_MAX_DIGIScxx . . $ `netrose/rose.h:33:9`! 6
34
35 #define ROSE_DEFERcxx . . $ `netrose/rose.h:35:9`! 1
36 #define ROSE_T1cxx . . $ `netrose/rose.h:36:9`! 2
37 #define ROSE_T2cxx . . $ `netrose/rose.h:37:9`! 3
38 #define ROSE_T3cxx . . $ `netrose/rose.h:38:9`! 4
39 #define ROSE_IDLEcxx . . $ `netrose/rose.h:39:9`! 5
40 #define ROSE_QBITINCLcxx . . $ `netrose/rose.h:40:9`! 6
41 #define ROSE_HOLDBACKcxx . . $ `netrose/rose.h:41:9`! 7
42
43 #define SIOCRSGCAUSEcxx . . $ `netrose/rose.h:43:9`! (SIOCPROTOPRIVATE + 0)
44 #define SIOCRSSCAUSEcxx . . $ `netrose/rose.h:44:9`! (SIOCPROTOPRIVATE + 1)
45 #define SIOCRSL2CALLcxx . . $ `netrose/rose.h:45:9`! (SIOCPROTOPRIVATE + 2)
46 #define SIOCRSSL2CALLcxx . . $ `netrose/rose.h:46:9`! (SIOCPROTOPRIVATE + 2)
47 #define SIOCRSACCEPTcxx . . $ `netrose/rose.h:47:9`! (SIOCPROTOPRIVATE + 3)
48 #define SIOCRSCLRRTcxx . . $ `netrose/rose.h:48:9`! (SIOCPROTOPRIVATE + 4)
49 #define SIOCRSGL2CALLcxx . . $ `netrose/rose.h:49:9`! (SIOCPROTOPRIVATE + 5)
50 #define SIOCRSGFACILITIEScxx . . $ `netrose/rose.h:50:9`! (SIOCPROTOPRIVATE + 6)
51
52 #define ROSE_DTE_ORIGINATEDcxx . . $ `netrose/rose.h:52:9`! 0x00
53 #define ROSE_NUMBER_BUSYcxx . . $ `netrose/rose.h:53:9`! 0x01
54 #define ROSE_INVALID_FACILITYcxx . . $ `netrose/rose.h:54:9`! 0x03
55 #define ROSE_NETWORK_CONGESTIONcxx . . $ `netrose/rose.h:55:9`! 0x05
56 #define ROSE_OUT_OF_ORDERcxx . . $ `netrose/rose.h:56:9`! 0x09
57 #define ROSE_ACCESS_BARREDcxx . . $ `netrose/rose.h:57:9`! 0x0B
58 #define ROSE_NOT_OBTAINABLEcxx . . $ `netrose/rose.h:58:9`! 0x0D
59 #define ROSE_REMOTE_PROCEDUREcxx . . $ `netrose/rose.h:59:9`! 0x11
60 #define ROSE_LOCAL_PROCEDUREcxx . . $ `netrose/rose.h:60:9`! 0x13
61 #define ROSE_SHIP_ABSENTcxx . . $ `netrose/rose.h:61:9`! 0x39
62
63
64 typedef structcxx . . $ $anonymous_type_8df43f6f1515fee8_0#
65 {
66 char rose_addrcxx . . $ $anonymous_type_8df43f6f1515fee8_0#rose_addr.[5];
67 } rose_addresscxx . . $ rose_address#;
68
69 struct sockaddr_rosecxx . . $ sockaddr_rose#
70 {
71 sa_family_tcxx . . $ sa_family_t# srose_familycxx . . $ sockaddr_rose#srose_family.;
72 rose_addresscxx . . $ rose_address# srose_addrcxx . . $ sockaddr_rose#srose_addr.;
73 ax25_addresscxx . . $ ax25_address# srose_callcxx . . $ sockaddr_rose#srose_call.;
74 int srose_ndigiscxx . . $ sockaddr_rose#srose_ndigis.;
75 ax25_addresscxx . . $ ax25_address# srose_digicxx . . $ sockaddr_rose#srose_digi.;
76 };
77
78 struct full_sockaddr_rosecxx . . $ full_sockaddr_rose#
79 {
80 sa_family_tcxx . . $ sa_family_t# srose_familycxx . . $ full_sockaddr_rose#srose_family.;
81 rose_addresscxx . . $ rose_address# srose_addrcxx . . $ full_sockaddr_rose#srose_addr.;
82 ax25_addresscxx . . $ ax25_address# srose_callcxx . . $ full_sockaddr_rose#srose_call.;
83 unsigned int srose_ndigiscxx . . $ full_sockaddr_rose#srose_ndigis.;
84 ax25_addresscxx . . $ ax25_address# srose_digiscxx . . $ full_sockaddr_rose#srose_digis.[ROSE_MAX_DIGIScxx . . $ `netrose/rose.h:33:9`!];
85 };
86
87 struct rose_route_structcxx . . $ rose_route_struct#
88 {
89 rose_addresscxx . . $ rose_address# addresscxx . . $ rose_route_struct#address.;
90 unsigned short int maskcxx . . $ rose_route_struct#mask.;
91 ax25_addresscxx . . $ ax25_address# neighbourcxx . . $ rose_route_struct#neighbour.;
92 char devicecxx . . $ rose_route_struct#device.[16];
93 unsigned char ndigiscxx . . $ rose_route_struct#ndigis.;
94 ax25_addresscxx . . $ ax25_address# digipeaterscxx . . $ rose_route_struct#digipeaters.[AX25_MAX_DIGIScxx . . $ `netax25/ax25.h:66:9`!];
95 };
96
97 struct rose_cause_structcxx . . $ rose_cause_struct#
98 {
99 unsigned char causecxx . . $ rose_cause_struct#cause.;
100 unsigned char diagnosticcxx . . $ rose_cause_struct#diagnostic.;
101 };
102
103 struct rose_facilities_structcxx . . $ rose_facilities_struct#
104 {
105 rose_addresscxx . . $ rose_address# source_addrcxx . . $ rose_facilities_struct#source_addr., dest_addrcxx . . $ rose_facilities_struct#dest_addr.;
106 ax25_addresscxx . . $ ax25_address# source_callcxx . . $ rose_facilities_struct#source_call., dest_callcxx . . $ rose_facilities_struct#dest_call.;
107 unsigned char source_ndigiscxx . . $ rose_facilities_struct#source_ndigis., dest_ndigiscxx . . $ rose_facilities_struct#dest_ndigis.;
108 ax25_addresscxx . . $ ax25_address# source_digiscxx . . $ rose_facilities_struct#source_digis.[ROSE_MAX_DIGIScxx . . $ `netrose/rose.h:33:9`!];
109 ax25_addresscxx . . $ ax25_address# dest_digiscxx . . $ rose_facilities_struct#dest_digis.[ROSE_MAX_DIGIScxx . . $ `netrose/rose.h:33:9`!];
110 unsigned int randcxx . . $ rose_facilities_struct#rand.;
111 rose_addresscxx . . $ rose_address# fail_addrcxx . . $ rose_facilities_struct#fail_addr.;
112 ax25_addresscxx . . $ ax25_address# fail_callcxx . . $ rose_facilities_struct#fail_call.;
113 };
114
115 #endif /* netrose/rose.h */