Compare commits

...

16 Commits

Author SHA1 Message Date
Jérôme Gardou
b7057baa32 [TCPIP]
- Comment out an optimisation which doesn't work.
Reviews of why would be most appreciated.

svn path=/branches/tcpip_revolution/; revision=65388
2014-11-12 11:39:13 +00:00
Jérôme Gardou
ca2ddf6bfd [LWIP]
- Do not pad ethernet headers.
Now the DHCP server properly receives our DHCP requests

svn path=/branches/tcpip_revolution/; revision=65387
2014-11-12 11:39:07 +00:00
Jérôme Gardou
c4c8327420 [TCPIP]
- Silence a useless DPRINT

svn path=/branches/tcpip_revolution/; revision=65386
2014-11-12 11:39:01 +00:00
Jérôme Gardou
61a80d18a4 [TCPIP]
- We receive the port number in network byte order. Act accordingly.

svn path=/branches/tcpip_revolution/; revision=65385
2014-11-12 11:38:57 +00:00
Jérôme Gardou
624aeb1098 [TCPIP]
- Implement sending data to the NIC from what lwip passes to us.

svn path=/branches/tcpip_revolution/; revision=65384
2014-11-12 11:38:53 +00:00
Jérôme Gardou
f598697258 [TCPIP]
- Add special handling case for UDP packet on DHCP server port.
lwip refuses to send packets to addresses on which no interface is bound. Of course, DHCP packets are sent before any address is given to an interface, so we have to handle this case here.
lwip DHCP discovery code does the same thing.

svn path=/branches/tcpip_revolution/; revision=65383
2014-11-12 11:38:48 +00:00
Jérôme Gardou
4451bc2537 [TCPIP]
- Properly return STATUS_BUFFER_OVERFLOW if the provided buffer is too small when receiving a datagram.
 - Do not skip the IP header for raw IP packets (application do in fact require it)
 - Only pass ICMP echo reply packets to callers, the rest is processed by lwip.
'ping 127.0.0.1' now properly works.

svn path=/branches/tcpip_revolution/; revision=65376
2014-11-11 10:41:23 +00:00
Jérôme Gardou
10c5b3681a [TCPIP]
- Implement setting the TTL for a socket.
 - Stubplement setting the IP_DONTFRAGMENT flag.
 - Properly set IoStatus.Information when receiving datagram.
 - Properly skip the IP header when we're not receiving UDP datagrams

svn path=/branches/tcpip_revolution/; revision=65371
2014-11-10 21:37:55 +00:00
Jérôme Gardou
1d5ec2c670 [TCPIP]
- Add skeleton code to handle IOCTL_TCP_SET_INFORMATION_EX

svn path=/branches/tcpip_revolution/; revision=65370
2014-11-10 21:37:25 +00:00
Jérôme Gardou
cf0bf8222a [LWIP]
- Remove last bits of old tcpip implementation

svn path=/branches/tcpip_revolution/; revision=65366
2014-11-10 18:06:30 +00:00
Jérôme Gardou
405c1c289d [LWIP]
- In a last surge of violence, fix build.

svn path=/branches/tcpip_revolution/; revision=65365
2014-11-10 18:00:28 +00:00
Jérôme Gardou
efe8f0fd2c [IP]
- Violently rip off this too.

svn path=/branches/tcpip_revolution/; revision=65364
2014-11-10 18:00:24 +00:00
Jérôme Gardou
ba911f9250 [LWIP]
- enable SNMP, UDP, ICMP and loopback interface support.

svn path=/branches/tcpip_revolution/; revision=65363
2014-11-10 18:00:13 +00:00
Jérôme Gardou
edbbcaf538 [TCPIP]
Start a new implementation using lwip *for real*.
The goal being to let lwip do all the dirty work for us, taking the full power of it, including TCP, ICMP, SNMP, UDP, raw IP, etc.
Commmit what I got so far, including:
 - registering the tcp/ip protocol to NDIS
 - Creating the loopback/adapter interface as wrappers around lwip_netif structures.
 - Querying a few pieces of information from the said interface.
 - Sending and receiving raw/UDP diagrams through lwip (not quite working yet, but soon).
 - Registering entities "instances".

svn path=/branches/tcpip_revolution/; revision=65362
2014-11-10 18:00:09 +00:00
Jérôme Gardou
c0478c4056 [TCPIP]
- Violently rip off the whole thing.

svn path=/branches/tcpip_revolution/; revision=65360
2014-11-10 17:40:55 +00:00
Amine Khaldi
8ca32f8fc8 * Create a branch for the ongoing tcpip rev^H^H^H rewrite.
svn path=/branches/tcpip_revolution/; revision=65359
2014-11-10 17:23:07 +00:00
20572 changed files with 2821 additions and 1371717 deletions

View File

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

View File

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Some files were not shown because too many files have changed in this diff Show More