From 0f51f64e9bdaeed74981150a7b29726610d00504 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 27 Aug 2022 10:58:13 +0200 Subject: user/netstack: ARP requests --- src/user/app/netstack/fs.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/user/app/netstack/fs.c') 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); } -- cgit v1.2.3