summaryrefslogtreecommitdiff
path: root/net/eth.h
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-26 10:22:37 +0200
committerMiguel <m.i@gmx.at>2018-09-26 10:22:37 +0200
commitae33cc6557790a502a01b380b0926944ca2f3cfa (patch)
treee72632052d1c6f6830c40d10d26c04b73aac74c6 /net/eth.h
parentdaf374435560861681c3e4d14a2d44141aa11abc (diff)
ntp and udp
Diffstat (limited to 'net/eth.h')
-rw-r--r--net/eth.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/eth.h b/net/eth.h
index f90e615..aa4efeb 100644
--- a/net/eth.h
+++ b/net/eth.h
@@ -13,4 +13,8 @@ struct eth_hdr
unsigned char payload[]; // payload
} __attribute__((packed));
+struct netdev;
+
+uint32_t eth_generic(struct netdev *dev, uint32_t ip, uint16_t type, uint8_t* pos,uint32_t *end);
+
#endif