github.com/cilium/cilium@v1.16.2/pkg/datapath/option/option.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright Authors of Cilium
     3  
     4  package option
     5  
     6  // Available options for datapath mode.
     7  const (
     8  	// DatapathModeVeth specifies veth datapath mode (i.e. containers are
     9  	// attached to a network via veth pairs).
    10  	DatapathModeVeth = "veth"
    11  
    12  	// DatapathModeNetkit specifies netkit datapath mode (i.e. containers
    13  	// are attached to a network via netkit pairs). netkit is created in
    14  	// L3 mode.
    15  	DatapathModeNetkit = "netkit"
    16  
    17  	// DatapathModeNetkitL2 specifies netkit datapath mode (i.e. containers
    18  	// are attached to a network via netkit pairs). netkit is created in
    19  	// L2 mode.
    20  	DatapathModeNetkitL2 = "netkit-l2"
    21  
    22  	// DatapathModeLBOnly specifies lb-only datapath mode.
    23  	DatapathModeLBOnly = "lb-only"
    24  )