github.com/zhyoulun/cilium@v1.6.12/test/bpf/event.h (about)

     1  #ifndef __EVENT_H_
     2  #define __EVENT_H_
     3  
     4  #include <bpf/api.h>
     5  #include <stdint.h>
     6  
     7  enum {
     8  	EVENT_TYPE_UNSPEC = 0,
     9  	EVENT_TYPE_SAMPLE,
    10  };
    11  
    12  struct event_msg {
    13  	__u8	type;
    14  	__u8	data[20];
    15  };
    16  
    17  #endif