X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fvlandev.h;h=e25ffcbd46c053edcdc2f3ccaeb2623811565d82;hb=28c5588e8e1a8d091c5d2275232c35f2968a97fa;hp=cba0fa41223708abb6d901ea2a3b3054ba595a8b;hpb=025e874a9cc814820aadba7083fdbcfbaa959259;p=sliver-openvswitch.git diff --git a/lib/vlandev.h b/lib/vlandev.h index cba0fa412..e25ffcbd4 100644 --- a/lib/vlandev.h +++ b/lib/vlandev.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 Nicira Networks. + * Copyright (c) 2011 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,13 +40,11 @@ struct vlan_real_dev { struct hmap vlan_devs; /* All child VLAN devices, hashed by VID. */ }; -int vlandev_refresh(void); +int vlandev_add(const char *real_dev, int vid); +int vlandev_del(const char *vlan_dev); +int vlandev_refresh(void); struct shash *vlandev_get_real_devs(void); - const char *vlandev_get_name(const char *real_dev_name, int vid); -int vlandev_add(const char *real_dev, int vid); -int vlandev_del(const char *vlan_dev); - #endif /* vlandev.h */