net/netdev: get rid of uIP-related debris
ipv4_input() and ipv6_input() are driver functions of uIP that was
dropped from TizenRT. Declaring function prototypes of which that are
not actually provided has no point. Let's remove it.
@@ -222,76 +222,6 @@ typedef int (*netif_poll_callback_t)(FAR struct net_driver_s *dev);
/****************************************************************************
* Public Function Prototypes
****************************************************************************/
-
-/****************************************************************************
- * uIP device driver functions
- *
- * These functions are used by a network device driver for interacting
- * with uIP.
- *
- * Process an incoming IP packet.
- *
- * This function should be called when the device driver has received
- * a packet from the network. The packet from the device driver must
- * be present in the d_buf buffer, and the length of the packet
- * should be placed in the d_len field.
- *
- * When the function returns, there may be an outbound packet placed
- * in the d_buf packet buffer. If so, the d_len field is set to
- * the length of the packet. If no packet is to be sent out, the
- * d_len field is set to 0.
- *
- * The usual way of calling the function is presented by the source
- * code below.
- *
- * dev->d_len = devicedriver_poll();
- * if (dev->d_len > 0)
- * {
- * ipv4_input(dev);
- * if (dev->d_len > 0)
- * {
- * devicedriver_send();
- * }
- * }
- *
- * Note: If you are writing a uIP device driver that needs ARP
- * (Address Resolution Protocol), e.g., when running uIP over
- * Ethernet, you will need to call the uIP ARP code before calling
- * this function:
- *
- * #define BUF ((struct eth_hdr_s *)&dev->d_buf[0])
- * dev->d_len = ethernet_devicedrver_poll();
- * if (dev->d_len > 0)
- * {
- * if (BUF->type == HTONS(ETHTYPE_IP))
- * {
- * arp_ipin();
- * ipv4_input(dev);
- * if (dev->d_len > 0)
- * {
- * arp_out();
- * devicedriver_send();
- * }
- * }
- * else if (BUF->type == HTONS(ETHTYPE_ARP))
- * {
- * arp_arpin();
- * if (dev->d_len > 0)
- * {
- * devicedriver_send();
- * }
- * }
- *
- ****************************************************************************/
-
-#ifdef CONFIG_NET_IPv4
-int ipv4_input(FAR struct net_driver_s *dev);
-#endif
-
-#ifdef CONFIG_NET_IPv6
-int ipv6_input(FAR struct net_driver_s *dev);
-#endif
-
/****************************************************************************
* Polling of connections
*
