Go to the documentation of this file.
6 #ifndef __UM_NET_USER_H__
7 #define __UM_NET_USER_H__
9 #define ETH_ADDR_LEN (6)
10 #define ETH_HEADER_ETHERTAP (16)
11 #define ETH_HEADER_OTHER (26)
12 #define ETH_MAX_PACKET (1500)
14 #define UML_NET_VERSION (4)
29 unsigned char *,
void *),
44 extern int net_sendto(
int fd,
void *
buf,
int len,
void *to,
int sock_len);
46 extern void open_addr(
unsigned char *
addr,
unsigned char *netmask,
void *
arg);