This commit is contained in:
ge
2026-04-13 04:02:42 +03:00
parent 2d2281b8cc
commit 7b17a4a33b
9 changed files with 253 additions and 73 deletions
+22
View File
@@ -216,6 +216,28 @@ pub const ip_ttl = SocketOption(C.IP_TTL)
pub const ip_unblock_source = SocketOption(C.IP_UNBLOCK_SOURCE)
pub const ip_unicast_if = SocketOption(C.IP_UNICAST_IF)
pub const ip_xfrm_policy = SocketOption(C.IP_XFRM_POLICY)
pub const msg_batch = MsgFlag(C.MSG_BATCH)
pub const msg_cmsg_cloexec = MsgFlag(C.MSG_CMSG_CLOEXEC)
pub const msg_confirm = MsgFlag(C.MSG_CONFIRM)
pub const msg_ctrunc = MsgFlag(C.MSG_CTRUNC)
pub const msg_dontroute = MsgFlag(C.MSG_DONTROUTE)
pub const msg_dontwait = MsgFlag(C.MSG_DONTWAIT)
pub const msg_eor = MsgFlag(C.MSG_EOR)
pub const msg_errqueue = MsgFlag(C.MSG_ERRQUEUE)
pub const msg_fastopen = MsgFlag(C.MSG_FASTOPEN)
pub const msg_fin = MsgFlag(C.MSG_FIN)
pub const msg_more = MsgFlag(C.MSG_MORE)
pub const msg_nosignal = MsgFlag(C.MSG_NOSIGNAL)
pub const msg_oob = MsgFlag(C.MSG_OOB)
pub const msg_peek = MsgFlag(C.MSG_PEEK)
pub const msg_proxy = MsgFlag(C.MSG_PROXY)
pub const msg_rst = MsgFlag(C.MSG_RST)
pub const msg_sock_devmem = MsgFlag(C.MSG_SOCK_DEVMEM)
pub const msg_syn = MsgFlag(C.MSG_SYN)
pub const msg_trunc = MsgFlag(C.MSG_TRUNC)
pub const msg_waitall = MsgFlag(C.MSG_WAITALL)
pub const msg_waitforone = MsgFlag(C.MSG_WAITFORONE)
pub const msg_zerocopy = MsgFlag(C.MSG_ZEROCOPY)
pub const ni_dgram = NameInfoFlag(C.NI_DGRAM)
pub const ni_maxhost = NameInfoFlag(C.NI_MAXHOST)
pub const ni_maxserv = NameInfoFlag(C.NI_MAXSERV)