eth_linux.h
author viric <viriketo@gmail.com>
Wed, 16 Feb 2011 20:57:32 +0100
branchsaveflie
changeset 94 330324fc7c20
parent 87 be4ee314545c
permissions -rw-r--r--
Adding a feature: save all stdin/stdout traffic of the server into a file.

int eth_open(char *eth, enum Eth_type type);
int eth_recv(char *buf, int len, char *partner_mac);
int eth_send(char *dev, char *mac, void *p, int len);