projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support SSL in secchan and controller.
[openvswitch]
/
lib
/
vconn-tcp.c
diff --git
a/lib/vconn-tcp.c
b/lib/vconn-tcp.c
index 1878d2db42b2274dd82c68db52bc6975edb7474a..f97761fe1c00187e44e0b3ad3b54741def380c21 100644
(file)
--- a/
lib/vconn-tcp.c
+++ b/
lib/vconn-tcp.c
@@
-139,7
+139,7
@@
tcp_close(struct vconn *vconn)
free(tcp);
}
free(tcp);
}
-static
void
+static
bool
tcp_prepoll(struct vconn *vconn, int want, struct pollfd *pfd)
{
struct tcp_vconn *tcp = tcp_vconn_cast(vconn);
tcp_prepoll(struct vconn *vconn, int want, struct pollfd *pfd)
{
struct tcp_vconn *tcp = tcp_vconn_cast(vconn);
@@
-150,6
+150,7
@@
tcp_prepoll(struct vconn *vconn, int want, struct pollfd *pfd)
if (want & WANT_SEND || tcp->txbuf) {
pfd->events |= POLLOUT;
}
if (want & WANT_SEND || tcp->txbuf) {
pfd->events |= POLLOUT;
}
+ return false;
}
static void
}
static void
@@
-336,7
+337,7
@@
ptcp_close(struct vconn *vconn)
free(ptcp);
}
free(ptcp);
}
-static
void
+static
bool
ptcp_prepoll(struct vconn *vconn, int want, struct pollfd *pfd)
{
struct ptcp_vconn *ptcp = ptcp_vconn_cast(vconn);
ptcp_prepoll(struct vconn *vconn, int want, struct pollfd *pfd)
{
struct ptcp_vconn *ptcp = ptcp_vconn_cast(vconn);
@@
-344,6
+345,7
@@
ptcp_prepoll(struct vconn *vconn, int want, struct pollfd *pfd)
if (want & WANT_ACCEPT) {
pfd->events |= POLLIN;
}
if (want & WANT_ACCEPT) {
pfd->events |= POLLIN;
}
+ return false;
}
static int
}
static int