aboutgitcodebugslistschat
path: root/checksum.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-10-19 11:43:50 +1100
committerStefano Brivio <sbrivio@redhat.com>2022-10-19 03:34:40 +0200
commitf72b63e92f040104a289d5f38047c3688fa76593 (patch)
tree7f22d45d62b81e70816cd95589fc5347b34c0ce9 /checksum.h
parenta2eb2d310a28aa916d47c41d98dfddcc7619f639 (diff)
downloadpasst-f72b63e92f040104a289d5f38047c3688fa76593.tar
passt-f72b63e92f040104a289d5f38047c3688fa76593.tar.gz
passt-f72b63e92f040104a289d5f38047c3688fa76593.tar.bz2
passt-f72b63e92f040104a289d5f38047c3688fa76593.tar.lz
passt-f72b63e92f040104a289d5f38047c3688fa76593.tar.xz
passt-f72b63e92f040104a289d5f38047c3688fa76593.tar.zst
passt-f72b63e92f040104a289d5f38047c3688fa76593.zip
Remove support for TCP packets from tap_ip_send()
tap_ip_send() is never used for TCP packets, we're unlikely to use it for that in future, and the handling of TCP packets makes other cleanups unnecessarily awkward. Remove it. This is the only user of csum_tcp4(), so we can remove that as well. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'checksum.h')
-rw-r--r--checksum.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/checksum.h b/checksum.h
index 91e9954..b87b0d6 100644
--- a/checksum.h
+++ b/checksum.h
@@ -23,7 +23,6 @@ void csum_udp6(struct udphdr *udp6hr,
void csum_icmp6(struct icmp6hdr *icmp6hr,
const struct in6_addr *saddr, const struct in6_addr *daddr,
const void *payload, size_t len);
-void csum_tcp4(struct iphdr *iph);
uint16_t csum(const void *buf, size_t len, uint32_t init);
#endif /* CHECKSUM_H */