~james-page/ubuntu/saucy/openvswitch/1.12-snapshot

« back to all changes in this revision

Viewing changes to lib/stream-provider.h

  • Committer: James Page
  • Date: 2013-08-21 10:16:57 UTC
  • mfrom: (1.1.20)
  • Revision ID: james.page@canonical.com-20130821101657-3o0z0qeiv5zkwlzi
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (c) 2009, 2010, 2012 Nicira, Inc.
 
2
 * Copyright (c) 2009, 2010, 2012, 2013 Nicira, Inc.
3
3
 *
4
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
5
 * you may not use this file except in compliance with the License.
139
139
struct pstream {
140
140
    const struct pstream_class *class;
141
141
    char *name;
 
142
    ovs_be16 bound_port;
142
143
};
143
144
 
144
145
void pstream_init(struct pstream *, const struct pstream_class *, const char *name);
 
146
void pstream_set_bound_port(struct pstream *, ovs_be16 bound_port);
145
147
static inline void pstream_assert_class(const struct pstream *pstream,
146
148
                                        const struct pstream_class *class)
147
149
{