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
Jeremy Soller
bc6d234bd0
Utilize null namespace
2017-10-09 20:49:23 -06:00
Egor Karavaev
ecd3848de9
Code cleanup.
2017-10-09 20:40:24 +03:00
Egor Karavaev
0584743789
Updating upstream smoltcp.
2017-10-07 00:18:10 +03:00
Egor Karavaev
454dfd9a39
Support for tcp listen.
2017-10-05 11:10:55 +03:00
Egor Karavaev
5c6187749b
Non-blocking IP sockets.
2017-10-04 00:17:57 +03:00
Egor Karavaev
309be70095
Improved timeout handling.
2017-10-03 20:37:32 +03:00
Egor Karavaev
37275adba6
Update smoltcp.
2017-10-03 18:35:44 +03:00
Jeremy Soller
6166bdcb60
Fix permissions, daemonize
2017-10-02 20:55:29 -06:00
Egor Karavaev
57f7378a5c
Update smoltcp.
2017-10-03 00:52:44 +03:00
Egor Karavaev
672c93eee0
TCP scheme.
2017-10-03 00:30:14 +03:00
Egor Karavaev
de733b4bf8
Factor out generic socket scheme.
2017-10-02 22:11:31 +03:00
Egor Karavaev
4d9a8c2777
Blocking UDP.
2017-10-02 19:22:22 +03:00
Egor Karavaev
2a8478db8f
UDP blocking WIP.
2017-09-28 01:02:52 +03:00
Egor Karavaev
3198a8eb69
UDP settings.
2017-09-26 23:51:04 +03:00
Egor Karavaev
c62eca07d9
Move file descriptors to schemas.
2017-09-26 22:24:04 +03:00
Egor Karavaev
0a41339def
UDP dup.
2017-09-26 01:07:49 +03:00