Gartox
0b2b4e41c3
Add support for multiple interfaces
...
- Smoltcp now talk to a IP device that does the routing
- Add RouteTable
- Add trait LinkDevice representing devices (eth0, loopback...)
- Remove old device
2023-09-04 10:11:02 +02:00
Gartox
d47cdbf1fe
Fix TCP listening endpoint, fpath formatting, port release while listening:
...
Now TCPListenEndpoint is stored in the SchemeFile because the
TcpSocket::endpoint() only store endpoints for connected sockets,
not listening ones
2023-09-01 11:18:58 +02:00
Gartox
035bcf1d69
Migrating to smoltcp 0.10
2023-09-01 11:18:56 +02:00
Gartox
c0a108ca11
Fix warnings and bump Rust edition to 2021
2023-08-27 15:04:44 +02:00
4lDO2
54d64d6ecb
Use redox-daemon
2022-07-27 16:39:18 +02:00
4lDO2
8f7d759508
Update dependencies.
2021-06-17 18:15:31 +02:00
Jeremy Soller
01f30577c1
Update smoltcp
2019-11-29 18:54:09 -07:00
Jeremy Soller
0c665a30a1
Handle scheme EOF
2019-07-18 21:33:23 -06:00
Jeremy Soller
2079856d97
Update to new fevent
2019-03-13 14:11:38 -06:00
Jeremy Soller
00ad7e74ab
Remove debugging
2019-03-12 20:32:14 -06:00
Jeremy Soller
4384a16d4f
Ensure that missing network events do not hang the network stack
2019-03-12 20:31:02 -06:00
Jeremy Soller
370b11fbf3
Cleanup of wait queue
2019-03-11 20:03:11 -06:00
Jeremy Soller
dca4ea500d
Post read fevent at EOF
2019-02-17 20:31:13 -07:00
Jeremy Soller
19aabd5e66
Fix hangs when a tcp stream is closed
2019-02-17 20:19:35 -07:00
Jeremy Soller
dba4db694c
Use WouldBlock with network file
2019-02-02 13:58:19 -07:00
Jeremy Soller
880c107dd3
Enable debugging
2019-01-05 07:54:45 -07:00
Jeremy Soller
3fcafeed85
Update smolnetd
2019-01-01 18:29:29 -07:00
Jeremy Soller
4d537dbd57
Fix compilation
2018-12-06 17:55:51 -07:00
Colleen
01b6f9b98c
fix return statement of else block in dup function
2018-12-06 17:45:38 +00:00
Jeremy Soller
6a9fa00603
Update smolnetd
2018-10-29 19:54:53 -06:00
Jeremy Soller
4dd40fa373
Implement fgetfl, fsetfl for null
2018-09-20 14:22:30 -07:00
jD91mZM2
f9d6f5d87f
Update smoltcp
2018-06-19 15:50:09 +02:00
jD91mZM2
7fe9c67a53
Use new SchemeBlock trait ( #29 )
...
* Use new SchemeBlock trait
* Use EAGAIN over EWOULDBLOCK
2018-05-30 10:55:05 -06:00
jD91mZM2
6ffe327989
Switch to an edge-triggered event system ( #28 )
2018-05-30 09:25:57 -06:00
Romeo Disca
3a92b2c466
add udp support ( #26 )
...
* icmp.rs add udp branches to read and write
* add write_buf implementation to icmp udp port unreachable
* add udp port support
2018-05-21 13:12:24 -06:00
Jeremy Soller
7d181f5e68
Update to new event
2018-05-20 11:31:37 -06:00
Jeremy Soller
f645041293
dnsd: enter null namespace
2018-05-19 19:33:41 -06:00
Dan Robertson
76d8feae8d
Use smoltcp::time types instead of u64 timestamps
...
smoltcp is moving towards using time::Duration and time::Instant instead
of a u64 timestamp.
2018-02-16 02:59:09 +00:00
Egor Karavaev
67a2d7900a
netcfg adds/set method
2018-02-03 15:42:06 +03:00
Egor Karavaev
cf78d85d64
netcfg commits on fsync
2018-02-03 00:40:30 +03:00
Egor Karavaev
1eeec8eae0
Netcfg notifications.
2018-01-30 22:09:31 +03:00
Egor Karavaev
eea72fcef3
Remove closed fd.
2018-01-29 02:00:14 +03:00
Egor Karavaev
ae7d9b40f8
netcfg: interface addr node.
2018-01-29 02:00:14 +03:00
Egor Karavaev
1e95808242
netcfg write nodes
2018-01-29 02:00:14 +03:00
Egor Karavaev
a7f365d96c
Add the netcfg schema.
2018-01-29 02:00:14 +03:00
Egor Karavaev
32c673d814
dnsd timeouts
2018-01-28 23:12:19 +03:00
Egor Karavaev
e6dfb7f5b2
Implement the dns: schema.
2018-01-28 22:48:51 +03:00
Egor Karavaev
5fba322823
Add dnds bin.
2018-01-28 22:48:39 +03:00
Dan Robertson
b3812568fe
Use byteorder to improve readability
...
Use byteorder instead of using less readable bitmasks and shifts.
2018-01-23 23:26:53 +00:00
Dan Robertson
372d688de9
Updates to sync with upstream changes
...
polling API for EthernetInterface has changed.
2017-12-25 03:50:48 +00:00
Dan Robertson
5d3a830ce7
Sync with smoltcp updates
...
- Use EthernetInterfaceBuilder instead of EthernetInterface::new
- smoltcp removed the ArpCache trait in favor of ManagedMap.
NB: This breaks the use of loopback and sending packets to yourself.
2017-12-20 22:16:01 +00:00
Jeremy Soller
5e65afb769
Implement null file that can only be duped or closed.
2017-11-16 19:43:13 -07:00
Egor Karavaev
2242ad90f9
Poll timeout calculation fix.
2017-11-13 23:49:58 +03:00
Egor Karavaev
337f318f6f
Implement icmp: schema in smolnetd, remove icmpd.
2017-11-12 23:04:08 +03:00
Egor Karavaev
7b9b15c37f
Updating upstream smoltcp.
2017-11-10 22:26:58 +03:00
Egor Karavaev
e4fef61865
Update for new Device trait.
2017-11-04 15:44:55 +03:00
Jeremy Soller
29e3c38c1d
Remove old schemes, use patched smoltcp, remove log feature
2017-10-29 20:39:53 -06:00
Egor Karavaev
077673d9e5
Update smoltcp.
2017-10-25 21:18:24 +03:00
Egor Karavaev
b54ead7d77
Support for loopback interface.
2017-10-24 22:23:03 +03:00
Jeremy Soller
8d755de886
Merge remote-tracking branch 'batonius/smolnetd' into smolnetd
2017-10-09 20:49:37 -06:00