- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for eth3 (0.4 sec)
-
pkg/proxy/ipvs/testing/fake.go
"k8s.io/apimachinery/pkg/util/sets" ) // FakeNetlinkHandle mock implementation of proxy NetlinkHandle type FakeNetlinkHandle struct { // localAddresses is a network interface name to all of its IP addresses map, e.g. // eth0 -> [1.2.3.4, 10.20.30.40] localAddresses map[string][]string IsIPv6 bool } // NewFakeNetlinkHandle will create a new FakeNetlinkHandle func NewFakeNetlinkHandle(isIPv6 bool) *FakeNetlinkHandle {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 5.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh
$2 ~ /^E([ABCD]X|[BIS]P|[SD]I|S|FL)$/ {next} # 386 registers $2 ~ /^(SIGEV_|SIGSTKSZ|SIGRT(MIN|MAX))/ {next} $2 ~ /^(SCM_SRCRT)$/ {next} $2 ~ /^(MAP_FAILED)$/ {next} $2 !~ /^ETH_/ && $2 !~ /^EPROC_/ && $2 !~ /^EQUIV_/ && $2 !~ /^EXPR_/ && $2 ~ /^E[A-Z0-9_]+$/ || $2 ~ /^B[0-9_]+$/ || $2 ~ /^V[A-Z0-9]+$/ || $2 ~ /^CS[A-Z0-9]/ ||
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 00:11:50 UTC 2022 - 5.9K bytes - Viewed (1) -
cmd/net_test.go
}{ {"localhost", false}, {"localhost:9000", false}, {"example.com", false}, {"http://192.168.1.0", false}, {"http://192.168.1.0:9000", false}, {"192.168.1.0", true}, {"[2001:3984:3989::20%eth0]:9000", true}, } for _, testCase := range testCases { ret := isHostIP(testCase.args) if testCase.expectedResult != ret { t.Fatalf("expected: %v , got: %v", testCase.expectedResult, ret) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0) -
src/net/interface.go
// information. type Interface struct { Index int // positive integer that starts at one, zero is never used MTU int // maximum transmission unit Name string // e.g., "en0", "lo0", "eth0.100" HardwareAddr HardwareAddr // IEEE MAC-48, EUI-48 and EUI-64 form Flags Flags // e.g., FlagUp, FlagLoopback, FlagMulticast } type Flags uint const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 7.6K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
return func(nspath string) (ns.NetNS, error) { return &mockNetNs{path: netNs}, nil } } func buildDryrunConf() string { return fmt.Sprintf( mockConfTmpl, "1.0.0", "1.0.0", "eth0", testSandboxDirectory, "", false, "iptables", ) } func TestIPTablesRuleGeneration(t *testing.T) { cniConf := buildDryrunConf() customUID := int64(1000670000)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 8.4K bytes - Viewed (0)