X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fstream-fd.h;h=8b8b48f343b3ef7f2cf6334440038f7edd1d8a0f;hb=038341d1c1c33107a7f2ad06a5acb47c5fff7967;hp=d2a34eb2ac1cf21f4241a111ca0c96afae003f5d;hpb=5f55c39b21e69025045437ffbd3bb98fe6ce2e89;p=openvswitch diff --git a/lib/stream-fd.h b/lib/stream-fd.h index d2a34eb2..8b8b48f3 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);