github.com/aporeto-inc/trireme-lib@v10.358.0+incompatible/utils/constants/constants.go (about)

     1  package constants
     2  
     3  const (
     4  	//Initialmarkval is the start of mark values we assign to cgroup
     5  	Initialmarkval = 100
     6  	// EnforcerCgroupMark is the net_cls.classid that is programmed for the cgroup that all enforcer processes belong to
     7  	EnforcerCgroupMark = 1536
     8  	//PacketMarkToSetConnmark is used to set mark on packet when repeating a packet through nfq.
     9  	PacketMarkToSetConnmark = uint32(0x42)
    10  	//DefaultInputMark is used to set mark on packet when repeating a packet through nfq.
    11  	DefaultInputMark = uint32(0x43)
    12  	// DefaultConnMark is the default conn mark for all data packets
    13  	DefaultConnMark = uint32(0xEEEE)
    14  	// DefaultExternalConnMark is the default conn mark for all data packets
    15  	DefaultExternalConnMark = uint32(0xEEEF)
    16  	// DeleteConnmark is the mark used to trigger udp handshake.
    17  	DeleteConnmark = uint32(0xABCD)
    18  	// DropConnmark is used to drop packets identified by acl's
    19  	DropConnmark = uint32(0xEEED)
    20  	// HandshakeConnmark is used to drop response packets
    21  	HandshakeConnmark = uint32(0xEEEC)
    22  	// IstioPacketMark is a mark that we use so that we don't loop in the Istio Chain forever.
    23  	IstioPacketMark = 0x44
    24  )