mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 22:35:15 +00:00
socket-util: New function xset_nonblocking().
Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -82,6 +82,14 @@ set_nonblocking(int fd)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
xset_nonblocking(int fd)
|
||||
{
|
||||
if (set_nonblocking(fd)) {
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
set_dscp(int fd, uint8_t dscp)
|
||||
{
|
||||
|
Reference in New Issue
Block a user