eth_linux.h
author Lluís Batlle <viric@viric.name>
Thu, 20 Mar 2014 16:29:13 +0100
branchsaveflie
changeset 96 d090ddac5131
parent 87 be4ee314545c
permissions -rw-r--r--
Fixing the build on linux, gcc linking parameters order
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
87
be4ee314545c Making client and server use different ethernet protocols
viric@llimona
parents: 43
diff changeset
     1
int eth_open(char *eth, enum Eth_type type);
43
625794738afc Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
diff changeset
     2
int eth_recv(char *buf, int len, char *partner_mac);
625794738afc Added first attempt for an ethernet protocol. Even not tried.
viric@llimona
parents:
diff changeset
     3
int eth_send(char *dev, char *mac, void *p, int len);