~ubuntu-branches/ubuntu/wily/openvswitch/wily

« back to all changes in this revision

Viewing changes to lib/netdev-vport.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-08-10 11:35:15 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20150810113515-575vj06oq29emxsn
Tags: 2.4.0~git20150810.97bab95-0ubuntu1
* New upstream snapshot from 2.4 branch:
  - d/*: Align any relevant packaging changes with upstream.
* d/*: wrap-and-sort.
* d/openvswitch-{common,vswitch}.install: Correct install location for
  bash completion files.
* d/tests/openflow.py: Explicitly use ovs-testcontroller as provided
  by 2.4.0 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (c) 2010, 2011, 2013 Nicira, Inc.
 
2
 * Copyright (c) 2010, 2011, 2013, 2015 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.
19
19
 
20
20
#include <stdbool.h>
21
21
#include <stddef.h>
 
22
#include "compiler.h"
22
23
 
23
 
struct dpif_linux_vport;
 
24
struct dpif_netlink_vport;
24
25
struct dpif_flow_stats;
25
26
struct netdev;
26
27
struct netdev_class;
48
49
enum { NETDEV_VPORT_NAME_BUFSIZE = 256 };
49
50
#endif
50
51
const char *netdev_vport_get_dpif_port(const struct netdev *,
51
 
                                       char namebuf[], size_t bufsize);
 
52
                                       char namebuf[], size_t bufsize)
 
53
    OVS_WARN_UNUSED_RESULT;
52
54
char *netdev_vport_get_dpif_port_strdup(const struct netdev *);
53
55
 
54
56
#endif /* netdev-vport.h */