28efc50081a240bfe03dce58fbfe750639b681ab
[tpg/acess2.git] / Tools / NetTest_Runner / include / link.h
1 /*
2  */
3 #ifndef _LINK_H_
4 #define _LINK_H_
5
6 #define ETHER_PROTO_IPV4        0x0800
7
8 #include <stdint.h>
9 #include <stdbool.h>
10
11 extern void     Link_Send(int IfNum, const void *Src, const void *Dst, uint16_t Proto, int BufCount, size_t BufLens[], const void *Bufs[]);
12
13 extern bool     Link_Pkt_Check(size_t len, const void *data, size_t *ofs, const void *Src, const void *Dst, uint16_t Proto);
14
15 #endif
16

UCC git Repository :: git.ucc.asn.au