Commit 9f1c5212 authored by Michael Graff's avatar Michael Graff
Browse files

change some flags (so we can use internal ones, too)

parent d213c950
......@@ -114,10 +114,10 @@ struct isc_socket_connev {
ISC_EVENT_COMMON(isc_socket_connev_t);
isc_result_t result; /* OK, EOF, whatever else */
};
#define ISC_SOCKEVENTATTR_TRUNC 0x8000000U
#define ISC_SOCKEVENTATTR_CTRUNC 0x4000000U
#define ISC_SOCKEVENTATTR_TIMESTAMP 0x2000000U
#define ISC_SOCKEVENTATTR_ATTACHED 0x8000000U /* internal */
#define ISC_SOCKEVENTATTR_TRUNC 0x0080000U /* public */
#define ISC_SOCKEVENTATTR_CTRUNC 0x0040000U /* public */
#define ISC_SOCKEVENTATTR_TIMESTAMP 0x0020000U /* public */
#define ISC_SOCKEVENT_ANYEVENT (0)
#define ISC_SOCKEVENT_RECVDONE (ISC_EVENTCLASS_SOCKET + 1)
......
......@@ -1990,8 +1990,8 @@ isc_socket_sendto(isc_socket_t *sock, isc_region_t *region,
if (!was_empty)
goto queue;
build_msghdr_send(sock, dev, &msghdr,
iov, ISC_SOCKET_MAXSCATTERGATHER, &write_count);
build_msghdr_send(sock, dev, &msghdr, iov,
ISC_SOCKET_MAXSCATTERGATHER, &write_count);
cc = sendmsg(sock->fd, &msghdr, 0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment