summaryrefslogtreecommitdiff
path: root/src/user/app/netstack/fs.c
diff options
context:
space:
mode:
authordzwdz2022-08-27 10:58:13 +0200
committerdzwdz2022-08-27 10:58:13 +0200
commit0f51f64e9bdaeed74981150a7b29726610d00504 (patch)
treeaec373ecef3db1f9ab061d31d488f929411a658e /src/user/app/netstack/fs.c
parent48e612a8c19ae1fd6aa1ab8fb48b03a0291110b4 (diff)
user/netstack: ARP requests
Diffstat (limited to 'src/user/app/netstack/fs.c')
-rw-r--r--src/user/app/netstack/fs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/user/app/netstack/fs.c b/src/user/app/netstack/fs.c
index 9f40ef8..cbead8f 100644
--- a/src/user/app/netstack/fs.c
+++ b/src/user/app/netstack/fs.c
@@ -294,6 +294,9 @@ void fs_thread(void *arg) { (void)arg;
udpc_send(h->udp.c, buf, res.len);
_syscall_fs_respond(reqh, NULL, res.len, 0);
break;
+ case H_ARP:
+ _syscall_fs_respond(reqh, NULL, arp_fswrite(buf, res.len, res.offset), 0);
+ break;
default:
_syscall_fs_respond(reqh, NULL, -1, 0);
}