mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
Remove stream, vconn, and rconn functions to get local/remote IPs/ports.
These functions don't have any ultimate users. The in-band control code used to use them, but not anymore, so we might as well delete them all. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -29,19 +29,11 @@ struct stream {
|
||||
const struct stream_class *class;
|
||||
int state;
|
||||
int error;
|
||||
ovs_be32 remote_ip;
|
||||
ovs_be16 remote_port;
|
||||
ovs_be32 local_ip;
|
||||
ovs_be16 local_port;
|
||||
char *name;
|
||||
};
|
||||
|
||||
void stream_init(struct stream *, const struct stream_class *,
|
||||
int connect_status, const char *name);
|
||||
void stream_set_remote_ip(struct stream *, ovs_be32 remote_ip);
|
||||
void stream_set_remote_port(struct stream *, ovs_be16 remote_port);
|
||||
void stream_set_local_ip(struct stream *, ovs_be32 local_ip);
|
||||
void stream_set_local_port(struct stream *, ovs_be16 local_port);
|
||||
static inline void stream_assert_class(const struct stream *stream,
|
||||
const struct stream_class *class)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user