mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-13 08:19:56 +00:00
ca971bbfd8
This patch changes the top-level directory layout as a preparatory step for improving the tools for managing 3rd-party source codes. The rationale is described in the issue referenced below. Issue #1082
42 lines
1.2 KiB
C
42 lines
1.2 KiB
C
/*
|
|
* \brief Genode C API network functions needed by OKLinux
|
|
* \author Stefan Kalkowski
|
|
* \date 2009-09-10
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2009-2013 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU General Public License version 2.
|
|
*/
|
|
|
|
#ifndef _INCLUDE__GENODE__NET_H_
|
|
#define _INCLUDE__GENODE__NET_H_
|
|
|
|
#include <l4/sys/compiler.h>
|
|
#include <l4/sys/types.h>
|
|
|
|
#include <genode/linkage.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
L4_CV l4_cap_idx_t genode_net_irq_cap (void);
|
|
L4_CV int genode_net_ready (void);
|
|
L4_CV void genode_net_start (void *dev, FASTCALL void (*func)(void*, void*, unsigned long));
|
|
L4_CV void genode_net_stop (void);
|
|
L4_CV void genode_net_mac (void* mac_addr, unsigned long size);
|
|
L4_CV int genode_net_tx (void* addr, unsigned long len);
|
|
L4_CV int genode_net_tx_ack_avail(void);
|
|
L4_CV void genode_net_tx_ack (void);
|
|
L4_CV void genode_net_rx_receive (void);
|
|
L4_CV void *genode_net_memcpy (void *dst, void const *src, unsigned long size);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _INCLUDE__GENODE__NET_H_ */
|