genode/repos/libports/src/lib/lwip_legacy/include/nic.h

31 lines
621 B
C
Raw Normal View History

2011-12-22 16:19:25 +01:00
/*
* \brief LwIP Genode ethernet interface
* \author Stefan Kalkowski
* \date 2009-11-05
*/
/*
* Copyright (C) 2009-2017 Genode Labs GmbH
2011-12-22 16:19:25 +01:00
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU Affero General Public License version 3.
2011-12-22 16:19:25 +01:00
*/
#ifndef _LWIP__NIC_H_
#define _LWIP__NIC_H_
struct netif_buf_sizes {
__SIZE_TYPE__ tx_buf_size;
__SIZE_TYPE__ rx_buf_size;
};
2011-12-22 16:19:25 +01:00
/**
* Initializes the genode nic backend.
*
* \param netif pointer to struct, where nic related stuff is registered.
*/
err_t genode_netif_init(struct netif *netif);
#endif //_LWIP__NIC_H_