Change-Id: I86bd20be9b1aec4116edbe112eb562737860568f
static struct nic devices[MAX_DEVS];
static ip_addr_t ip_addr_none = { IPADDR_NONE };
-extern endpoint_t lwip_ep;
void nic_assign_driver(const char * dev_type,
unsigned int dev_num,
#include "proto.h"
#include "driver.h"
-extern endpoint_t lwip_ep;
-
static err_t low_level_output(__unused struct netif *netif, struct pbuf *pbuf)
{
struct nic * nic;
#include <netif/etharp.h>
#include <lwip/tcp_impl.h>
-endpoint_t lwip_ep;
-
static minix_timer_t tcp_ftmr, tcp_stmr, arp_tmr;
static int arp_ticks, tcp_fticks, tcp_sticks;
int err;
unsigned int hz;
- char my_name[16];
- int my_priv;
-
- err = sys_whoami(&lwip_ep, my_name, sizeof(my_name), &my_priv);
- if (err != OK)
- panic("Cannot get own endpoint");
-
nic_init_all();
inet_read_conf();