X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fstream-fd.h;h=8b8b48f343b3ef7f2cf6334440038f7edd1d8a0f;hb=a6e73618f53138eb6f55e2c66ff8c649794fd8dd;hp=d2a34eb2ac1cf21f4241a111ca0c96afae003f5d;hpb=5f55c39b21e69025045437ffbd3bb98fe6ce2e89;p=sliver-openvswitch.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);