github.com/inspektor-gadget/inspektor-gadget@v0.28.1/pkg/gadgettracermanager/common.h (about)

     1  /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR Apache-2.0 */
     2  
     3  #ifndef GADGET_TRACER_MANAGER_COMMON_H
     4  #define GADGET_TRACER_MANAGER_COMMON_H
     5  
     6  #define MAX_CONTAINERS_PER_NODE 1024
     7  
     8  #define NAME_MAX_LENGTH 256
     9  
    10  struct container {
    11  	char container_id[NAME_MAX_LENGTH];
    12  	char namespace[NAME_MAX_LENGTH];
    13  	char pod[NAME_MAX_LENGTH];
    14  	char container[NAME_MAX_LENGTH];
    15  };
    16  
    17  #endif