2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-29 15:28:56 +00:00
Files
openvswitch/datapath/vport-generic.h

20 lines
531 B
C
Raw Normal View History

/*
* Copyright (c) 2010 Nicira Networks.
* Distributed under the terms of the GNU GPL version 2.
*
* Significant portions of this file may be copied from parts of the Linux
* kernel, by Linus Torvalds and others.
*/
#ifndef VPORT_GENERIC_H
#define VPORT_GENERIC_H 1
#include "vport.h"
void vport_gen_rand_ether_addr(u8 *addr);
unsigned vport_gen_get_dev_flags(const struct vport *);
int vport_gen_is_running(const struct vport *);
unsigned char vport_gen_get_operstate(const struct vport *);
#endif /* vport-generic.h */