Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1311)

Side by Side Diff: fusl/include/arpa/tftp.h

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/include/arpa/telnet.h ('k') | fusl/include/assert.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef _ARPA_TFTP_H
2 #define _ARPA_TFTP_H
3 #define SEGSIZE 512
4 #define RRQ 01
5 #define WRQ 02
6 #define DATA 03
7 #define ACK 04
8 #define ERROR 05
9 struct tftphdr {
10 short th_opcode;
11 union {
12 unsigned short tu_block;
13 short tu_code;
14 char tu_stuff[1];
15 } th_u;
16 char th_data[1];
17 };
18 #define th_block th_u.tu_block
19 #define th_code th_u.tu_code
20 #define th_stuff th_u.tu_stuff
21 #define th_msg th_data
22 #define EUNDEF 0
23 #define ENOTFOUND 1
24 #define EACCESS 2
25 #define ENOSPACE 3
26 #define EBADOP 4
27 #define EBADID 5
28 #define EEXISTS 6
29 #define ENOUSER 7
30 #endif
31
OLDNEW
« no previous file with comments | « fusl/include/arpa/telnet.h ('k') | fusl/include/assert.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698