#ifndef DEV_H #define DEV_H #include #include "built_in.h" extern size_t device_mtu(const char *ifname); extern int device_address(const char *ifname, int af, struct sockaddr_storage *ss); extern int __device_ifindex(const char *ifname); extern int device_ifindex(const char *ifname); extern int device_type(const char *ifname); extern short device_get_flags(const char *ifname); extern void device_set_flags(const char *ifname, const short flags); extern int device_up_and_running(const char *ifname); extern u32 device_bitrate(const char *ifname); extern short device_enter_promiscuous_mode(const char *ifname); extern void device_leave_promiscuous_mode(const char *ifname, short oldflags); extern const char *device_type2str(uint16_t type); extern const char *device_addr2str(const unsigned char *addr, int alen, int type, char *buf, int blen); #endif /* DEV_H */ d class='form'>
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/drivers/xen/xenbus
diff options
context:
space:
mode:
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>2015-04-29 17:10:13 -0400
committerDavid Vrabel <david.vrabel@citrix.com>2015-05-05 18:27:13 +0100
commit16f1cf3ba7303228372d3756677bf7d10e79cf9f (patch)
tree399b3a03d53ee01b3ad986f1d26b65dfa8fd6792 /drivers/xen/xenbus
parent5cec98834989a014a9560b1841649eaca95cf00e (diff)
xen/xenbus: Update xenbus event channel on resume
After a resume the hypervisor/tools may change xenbus event channel number. We should re-query it. Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Cc: <stable@vger.kernel.org> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen/xenbus')