- Rename devif_input() ipv4_input()

- Copy net/devif/devif_input.c to ipv6_input.c.  Remove all IPv4-specific logic.
- Rename net/devif/devif_input.c to ipv4_input.c.  Remove all IPv6-specific logic
- Split IPv4 header structure out as net_ipv4hdr_s from net_iphdr_s
This commit is contained in:
Gregory Nutt
2015-01-15 08:03:56 -06:00
parent 2f4aa0bde7
commit 89538ac4a2
27 changed files with 389 additions and 146 deletions
+1 -1
View File
@@ -1384,7 +1384,7 @@ static void enc_rxdispatch(FAR struct enc_driver_s *priv)
{
nllvdbg("IP packet received (%02x)\n", BUF->type);
arp_ipin(&priv->dev);
devif_input(&priv->dev);
ipv4_input(&priv->dev);
/* If the above function invocation resulted in data that should be
* sent out on the network, the field d_len will set to a value > 0.