3 * - IP-layer Test Wrapper (v5/v6)
14 #define IP_CHECKSUM_START 0xFFFF
16 extern uint16_t IP_Checksum(uint16_t Prev, size_t Length, const void *Data);
18 extern void IP_Send(int IfNum, int AF, const void *Src, const void *Dst, uint8_t proto,
19 int BufCount, size_t BufLens[], const void *Bufs[]);
21 extern bool IP_Pkt_Check(size_t len, const void *data, size_t *out_ofs, size_t *out_len, int AF, const void *Src, const void *Dst, uint8_t proto);