OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:th_opcode
(Results
1 - 7
of
7
) sorted by relevancy
/src/include/arpa/
tftp.h
57
short
th_opcode
; /* packet type */
member in struct:tftphdr
/src/sys/lib/libsa/
tftp.h
76
short
th_opcode
; /* packet type */
member in struct:tftphdr
tftp.c
115
switch (ntohs(t->
th_opcode
)) {
145
printf("tftp type %d not handled\n", ntohs(t->
th_opcode
));
165
wbuf.t.
th_opcode
= htons((u_short)RRQ);
206
wbuf.t.
th_opcode
= htons((u_short)ACK);
239
wbuf.t.
th_opcode
= htons((u_short)ACK);
242
wbuf.t.
th_opcode
= htons((u_short)ERROR);
/src/libexec/tftpd/
tftpd.c
441
tp->
th_opcode
= ntohs(tp->
th_opcode
);
442
if (tp->
th_opcode
== RRQ || tp->
th_opcode
== WRQ)
465
tp->
th_opcode
== WRQ ? "write" : "read",
474
tp->
th_opcode
== WRQ ? "write" : "read",
506
tp->
th_opcode
== WRQ ? "write" : "read",
515
tp->
th_opcode
== WRQ ? "write" : "read",
560
tp->
th_opcode
== WRQ ? "write" : "read",
569
tp->
th_opcode
== WRQ ? "write" : "read"
[
all
...]
/src/usr.bin/tftp/
tftp.c
267
dp->
th_opcode
= htons((u_short)DATA);
311
ap->
th_opcode
= ntohs(ap->
th_opcode
);
312
if (ap->
th_opcode
== ERROR) {
317
if (ap->
th_opcode
== ACK) {
347
if (ap->
th_opcode
== OACK) {
407
ap->
th_opcode
= htons((u_short)ACK);
456
dp->
th_opcode
= ntohs(dp->
th_opcode
);
457
if (dp->
th_opcode
== ERROR)
[
all
...]
/src/sys/kern/
subr_tftproot.c
83
short
th_opcode
; /* packet type */
member in struct:tftphdr
244
packetlen = sizeof(tftp->
th_opcode
) + namelen + sizeof(octetstr);
261
tftp->
th_opcode
= htons((short)RRQ);
301
tftp->
th_opcode
= htons((short)ACK);
391
switch(ntohs(tftp->
th_opcode
)) {
418
__func__, __LINE__, ntohs(tftp->
th_opcode
)));
/src/dist/pf/libexec/tftp-proxy/
tftp-proxy.c
232
if (!(ntohs(tp->
th_opcode
) == RRQ || ntohs(tp->
th_opcode
) == WRQ)) {
296
opcode(ntohs(tp->
th_opcode
)),
Completed in 13 milliseconds
Indexes created Wed Oct 01 19:09:53 GMT 2025