2
0
mirror of https://github.com/openvswitch/ovs synced 2025-09-05 08:45:23 +00:00

pstream: Add set_dscp method.

Introduce set_dscp method to pstream.
This will be used by dynamic dscp change of listening socket.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
Isaku Yamahata
2012-09-27 11:18:16 +09:00
committed by Ben Pfaff
parent 6b9c1eab52
commit f89b7ce502
8 changed files with 44 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ punix_open(const char *name OVS_UNUSED, char *suffix,
return error;
}
return new_fd_pstream(name, fd, punix_accept,
return new_fd_pstream(name, fd, punix_accept, NULL,
xstrdup(suffix), pstreamp);
}
@@ -118,6 +118,7 @@ const struct pstream_class punix_pstream_class = {
punix_open,
NULL,
NULL,
NULL
NULL,
NULL,
};