X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=lib%2Fstream-fd.h;h=8b8b48f343b3ef7f2cf6334440038f7edd1d8a0f;hb=d7cda6eed76fdcc988ac494e6fd92b2f91aaa9fb;hp=d2a34eb2ac1cf21f4241a111ca0c96afae003f5d;hpb=c34b65c731a1b6dae014efe8895141e5b2fe758a;p=cascardo%2Fovs.git diff --git a/lib/stream-fd.h b/lib/stream-fd.h index d2a34eb2a..8b8b48f34 100644 --- a/lib/stream-fd.h +++ b/lib/stream-fd.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,10 +26,11 @@ struct pstream; struct sockaddr; int new_fd_stream(const char *name, int fd, int connect_status, - char *unlink_path, struct stream **streamp); + struct stream **streamp); int new_fd_pstream(const char *name, int fd, int (*accept_cb)(int fd, const struct sockaddr *, size_t sa_len, struct stream **), + int (*set_dscp_cb)(int fd, uint8_t dscp), char *unlink_path, struct pstream **pstreamp);