X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=ofproto%2Fofproto-dpif-mirror.h;h=6e0dc88cba7fce78ec41505b84eba4e3a95d6dce;hb=6c6eedc5d6730835a0d9724e2e8cfe9cdf03b07d;hp=64c4561230aa24950677d8bd7ef76801a2432226;hpb=4b6ab2b0ae49194e4ff78cc005921286aa9be140;p=cascardo%2Fovs.git diff --git a/ofproto/ofproto-dpif-mirror.h b/ofproto/ofproto-dpif-mirror.h index 64c456123..6e0dc88cb 100644 --- a/ofproto/ofproto-dpif-mirror.h +++ b/ofproto/ofproto-dpif-mirror.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2013 Nicira, Inc. +/* Copyright (c) 2013, 2015 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -12,8 +12,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#ifndef OFPROT_DPIF_MIRROR_H -#define OFPROT_DPIF_MIRROR_H 1 +#ifndef OFPROTO_DPIF_MIRROR_H +#define OFPROTO_DPIF_MIRROR_H 1 #include @@ -48,7 +48,7 @@ int mirror_get_stats(struct mbridge *, void *aux, uint64_t *packets, uint64_t *bytes); void mirror_update_stats(struct mbridge*, mirror_mask_t, uint64_t packets, uint64_t bytes); -bool mirror_get(struct mbridge *, int index, unsigned long **vlans, +bool mirror_get(struct mbridge *, int index, const unsigned long **vlans, mirror_mask_t *dup_mirrors, struct ofbundle **out, int *out_vlan);