X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fvport.h;h=baa943240f8a8f282621a3b53fb59ac023defada;hb=bfb1f2d5cbb9ef82f2def2f41f5ff8a8f02b5bbc;hp=7b71226c56a26cc9888942e3575abbd4a632b80c;hpb=f2459fe7d91c4c325dfaa3ed18f56200b63ae27e;p=openvswitch diff --git a/datapath/vport.h b/datapath/vport.h index 7b71226c..baa94324 100644 --- a/datapath/vport.h +++ b/datapath/vport.h @@ -15,6 +15,7 @@ #include "datapath.h" #include "openvswitch/datapath-protocol.h" +#include "odp-compat.h" struct vport; struct dp_port; @@ -31,6 +32,11 @@ int vport_add(const struct odp_vport_add __user *); int vport_mod(const struct odp_vport_mod __user *); int vport_del(const char __user *udevname); +#ifdef CONFIG_COMPAT +int compat_vport_add(struct compat_odp_vport_add __user *); +int compat_vport_mod(struct compat_odp_vport_mod __user *); +#endif + int vport_stats_get(struct odp_vport_stats_req __user *); int vport_ether_get(struct odp_vport_ether __user *); int vport_ether_set(struct odp_vport_ether __user *); @@ -230,6 +236,5 @@ vport_from_priv(const void *priv) void vport_receive(struct vport *, struct sk_buff *); void vport_record_error(struct vport *, enum vport_err_type err_type); -void vport_gen_ether_addr(u8 *addr); #endif /* vport.h */