projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aca14f3
)
add missing inclusion guards in bcc/proto.h
author
Mauricio Vasquez B
<mauricio.vasquez@polito.it>
Mon, 2 Jan 2017 20:49:27 +0000
(15:49 -0500)
committer
Mauricio Vasquez B
<mauricio.vasquez@polito.it>
Mon, 2 Jan 2017 20:49:27 +0000
(15:49 -0500)
Signed-off-by: Mauricio Vasquez B <mauricio.vasquez@polito.it>
src/cc/export/proto.h
patch
|
blob
|
history
diff --git
a/src/cc/export/proto.h
b/src/cc/export/proto.h
index
ed47775
..
5acaf31
100644
(file)
--- a/
src/cc/export/proto.h
+++ b/
src/cc/export/proto.h
@@
-15,6
+15,9
@@
R"********(
* limitations under the License.
*/
+#ifndef __BCC_PROTO_H
+#define __BCC_PROTO_H
+
#include <uapi/linux/if_ether.h>
#define BPF_PACKET_HEADER __attribute__((packed)) __attribute__((deprecated("packet")))
@@
-142,4
+145,6
@@
struct vxlan_gbp_t {
unsigned int key:24;
unsigned int rsv6:8;
} BPF_PACKET_HEADER;
+
+#endif
)********"