aboutsummaryrefslogtreecommitdiff
path: root/xdr.c
AgeCommit message (Collapse)Author
2018-04-19Refactor XDR code, add support for fixed-length opaque data.Paul Selkirk
2017-10-23Cleanup signed/unsigned mismatches, mostly in loop countersPaul Selkirk
2016-07-07Fix buffer overflow check.Rob Austein
2016-06-30RPC wire format now includes client handle in all requests, and opcode andPaul Selkirk
client handle in all responses. This simplies the daemon a little, and means that the directly-connected serial client uses the same wire format as the daemon. The expense is some redundant code in rpc_client and rpc_server to process (and throw away) this extra stuff.
2016-05-24Move htonl to hal_internal.hPaul Selkirk
2016-05-14Trailing whitespace cleanup.Rob Austein
2016-05-14Entirely too much fun with C const-ification.Rob Austein
2016-03-29Add xdr-specific error codes; update caller's length in hal_xdr_decode_buffer().Paul Selkirk
2016-03-21stupid fixesPaul Selkirk
2016-03-16Added serial RPC transport and lots more...Paul Selkirk
Added RPC function to get server version number. Substantially reworked GNUMakefile with conditionals. Renamed rpc_*() and xdr_*() to hal_*() for consistency. Moved hal_io_fmc.c from stm32 repo.
<sra@hactrn.net> 2016-07-01 19:24:12 -0400 committer Rob Austein <sra@hactrn.net> 2016-07-01 19:24:12 -0400 Apparently the magic Mac OS X ioctl(IOSSIOSPEED) must come AFTER the tcsetattr().' href='/sw/libhal/commit/rpc_serial.c?id=7bae0000584e4b704c75cfdf7e97a80db412e08e'>7bae000
3ed08b6












ff928e4

63fd94a
3ed08b6

63fd94a












7bae000








63fd94a































1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157