Files
passt/util.h
2021-02-16 07:58:05 +01:00

4 lines
141 B
C

uint16_t csum_fold(uint32_t sum);
uint16_t csum_ip4(void *buf, size_t len);
unsigned char *ipv6_l4hdr(struct ipv6hdr *ip6h, uint8_t *proto);