[libvirt] [PATCH v2] Consolidate interface related functions in interface.c

Stefan Berger stefanb at us.ibm.com
Tue Apr 13 15:02:18 UTC 2010


Eric Blake <eblake at redhat.com> wrote on 04/13/2010 10:15:01 AM:


> 
> On 04/13/2010 04:34 AM, Stefan Berger wrote:
> > Changes from v1 to v2:
> > - changed function name prefixes to 'iface' from previous 'Iface'
> > 
> > 
> > I am consolidating network interface related functions used in 
nwfilter
> > and macvtap code in utils/interface.c. All function names are prefixed
> > with 'Iface'. The following functions are now available through
> > interface.h:
> > 
> > int ifaceCtrl(const char *name, bool up);
> > int ifaceUp(const char *name);
> > int ifaceDown(const char *name);
> > 
> > int ifaceCheck(bool reportError, const char *ifname,
> >                const unsigned char *macaddr, int ifindex);
> > 
> > int ifaceGetIndex(bool reportError, const char *ifname, int *ifindex);
> 
> ACK.

Pushed with some minor fixes to have 'make syntax-check' pass.

   Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100413/5073af92/attachment-0001.htm>


More information about the libvir-list mailing list