github.com/inspektor-gadget/inspektor-gadget@v0.28.1/pkg/gadgettracermanager/common/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 __u8 container_id[NAME_MAX_LENGTH]; 12 __u8 namespace[NAME_MAX_LENGTH]; 13 __u8 pod[NAME_MAX_LENGTH]; 14 __u8 container[NAME_MAX_LENGTH]; 15 }; 16 17 #endif