diff options
author | dzwdz | 2022-08-27 10:58:13 +0200 |
---|---|---|
committer | dzwdz | 2022-08-27 10:58:13 +0200 |
commit | 0f51f64e9bdaeed74981150a7b29726610d00504 (patch) | |
tree | aec373ecef3db1f9ab061d31d488f929411a658e /src/user/app/netstack/fs.c | |
parent | 48e612a8c19ae1fd6aa1ab8fb48b03a0291110b4 (diff) |
user/netstack: ARP requests
Diffstat (limited to 'src/user/app/netstack/fs.c')
-rw-r--r-- | src/user/app/netstack/fs.c | 3 |
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); } |