tpws: check for kernel version in fixseg

This commit is contained in:
bol-van
2024-11-19 13:59:46 +03:00
parent 19e7fca627
commit e12dd237c2
4 changed files with 27 additions and 2 deletions

View File

@@ -120,6 +120,7 @@ static inline const struct in6_addr *mask_from_preflen6(uint8_t preflen)
void msleep(unsigned int ms);
#ifdef __linux__
bool socket_supports_notsent();
bool socket_has_notsent(int sfd);
bool socket_wait_notsent(int sfd, unsigned int delay_ms, unsigned int *wasted_ms);
#endif