2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 17:43:14 +00:00

Remove disused iovec

iovec is no longer used due to migration from relevant
recvmsg ctypes call.
This commit is contained in:
Jarrod Johnson 2024-05-09 09:49:56 -04:00
parent f6fc539df9
commit 90b90ade9c

View File

@ -76,14 +76,6 @@ class sockaddr_ll(ctypes.Structure):
('sll_halen', ctypes.c_ubyte),
('sll_addr', ctypes.c_ubyte * 20)]
class iovec(ctypes.Structure): # from uio.h
_fields_ = [('iov_base', ctypes.c_void_p),
('iov_len', ctypes.c_size_t)]
sendto = libc.sendto
sendto.argtypes = [ctypes.c_int, ctypes.c_void_p, ctypes.c_size_t,