2015-07-19 16:18:40 +02:00
|
|
|
/** Userspace TCP functions.
|
|
|
|
*
|
|
|
|
* @author Steffen Vogel <post@steffenvogel.de>
|
2017-12-20 10:24:55 +01:00
|
|
|
* @copyright 2014-2017, Steffen Vogel
|
2015-07-19 16:18:40 +02:00
|
|
|
* @license GPLv3
|
|
|
|
*********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _TCP_H_
|
|
|
|
#define _TCP_H_
|
|
|
|
|
|
|
|
/** Simple checksum function, may use others such as Cyclic Redundancy Check, CRC */
|
|
|
|
unsigned short tcp_csum(unsigned short *buf, int len);
|
|
|
|
|
|
|
|
#endif
|