repo
stringlengths
6
47
file_url
stringlengths
77
269
file_path
stringlengths
5
186
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-07 08:35:43
2026-01-07 08:55:24
truncated
bool
2 classes
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options/annotations.pb.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options/annotations.pb.go
// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.0 // protoc (unknown) // source: protoc-gen-openapiv2/options/annotations.proto //go:build !protoopaque package options import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshaler_registry.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshaler_registry.go
package runtime import ( "errors" "mime" "net/http" "google.golang.org/grpc/grpclog" "google.golang.org/protobuf/encoding/protojson" ) // MIMEWildcard is the fallback MIME type used for requests which do not match // a registered MIME type. const MIMEWildcard = "*" var ( acceptHeader = http.CanonicalHead...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_httpbodyproto.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_httpbodyproto.go
package runtime import ( "google.golang.org/genproto/googleapis/api/httpbody" ) // HTTPBodyMarshaler is a Marshaler which supports marshaling of a // google.api.HttpBody message as the full response body if it is // the actual message used as the response. If not, then this will // simply fallback to the Marshaler s...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshaler.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshaler.go
package runtime import ( "io" ) // Marshaler defines a conversion between byte sequence and gRPC payloads / fields. type Marshaler interface { // Marshal marshals "v" into byte sequence. Marshal(v interface{}) ([]byte, error) // Unmarshal unmarshals "data" into "v". // "v" must be a pointer value. Unmarshal(dat...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/errors.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/errors.go
package runtime import ( "context" "errors" "io" "net/http" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" "google.golang.org/grpc/status" ) // ErrorHandlerFunc is the signature used to configure error handling. type ErrorHandlerFunc func(context.Context, *ServeMux, Marshaler, http.ResponseWr...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/convert.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/convert.go
package runtime import ( "encoding/base64" "fmt" "strconv" "strings" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/types/known/durationpb" "google.golang.org/protobuf/types/known/timestamppb" "google.golang.org/protobuf/types/known/wrapperspb" ) // String just returns the given ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/pattern.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/pattern.go
package runtime import ( "errors" "fmt" "strconv" "strings" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "google.golang.org/grpc/grpclog" ) var ( // ErrNotMatch indicates that the given HTTP request path does not match to the pattern. ErrNotMatch = errors.New("not match to the path pattern") // Err...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_jsonpb.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_jsonpb.go
package runtime import ( "bytes" "encoding/json" "fmt" "io" "reflect" "strconv" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" ) // JSONPb is a Marshaler which marshals/unmarshals into/from JSON // with the "google.golang.org/protobuf/encoding/protojson" marshaler. // It s...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_json.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_json.go
package runtime import ( "encoding/json" "io" ) // JSONBuiltin is a Marshaler which marshals/unmarshals into/from JSON // with the standard "encoding/json" package of Golang. // Although it is generally faster for simple proto messages than JSONPb, // it does not support advanced features of protobuf, e.g. map, one...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/context.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/context.go
package runtime import ( "context" "encoding/base64" "fmt" "net" "net/http" "net/textproto" "strconv" "strings" "sync" "time" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" ) // MetadataHeaderPrefix is the http prefix th...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/query.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/query.go
package runtime import ( "errors" "fmt" "net/url" "regexp" "strconv" "strings" "time" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "google.golang.org/grpc/grpclog" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/handler.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/handler.go
package runtime import ( "context" "errors" "fmt" "io" "net/http" "net/textproto" "strconv" "strings" "google.golang.org/genproto/googleapis/api/httpbody" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" "google.golang.org/grpc/status" "google.golang.org/protobuf/proto" ) // ForwardRespon...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_proto.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_proto.go
package runtime import ( "errors" "io" "google.golang.org/protobuf/proto" ) // ProtoMarshaller is a Marshaller which marshals/unmarshals into/from serialize proto bytes type ProtoMarshaller struct{} // ContentType always returns "application/octet-stream". func (*ProtoMarshaller) ContentType(_ interface{}) strin...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/fieldmask.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/fieldmask.go
package runtime import ( "encoding/json" "errors" "fmt" "io" "sort" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" field_mask "google.golang.org/protobuf/types/known/fieldmaskpb" ) func getFieldByName(fields protoreflect.FieldDescriptors, name string) protoreflect.FieldD...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/doc.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/doc.go
/* Package runtime contains runtime helper functions used by servers which protoc-gen-grpc-gateway generates. */ package runtime
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/mux.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/mux.go
package runtime import ( "context" "errors" "fmt" "net/http" "net/textproto" "regexp" "strings" "github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" "google.golang.org/grpc/health/grpc_health_v1" "google.golang.org/grpc/metadata" "g...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/proto2_convert.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/proto2_convert.go
package runtime import ( "google.golang.org/protobuf/proto" ) // StringP returns a pointer to a string whose pointee is same as the given string value. func StringP(val string) (*string, error) { return proto.String(val), nil } // BoolP parses the given string representation of a boolean value, // and returns a po...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule/fuzz.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule/fuzz.go
//go:build gofuzz // +build gofuzz package httprule func Fuzz(data []byte) int { if _, err := Parse(string(data)); err != nil { return 0 } return 0 }
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule/types.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule/types.go
package httprule import ( "fmt" "strings" ) type template struct { segments []segment verb string template string } type segment interface { fmt.Stringer compile() (ops []op) } type wildcard struct{} type deepWildcard struct{} type literal string type variable struct { path string segments []seg...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule/compile.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule/compile.go
package httprule import ( "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" ) const ( opcodeVersion = 1 ) // Template is a compiled representation of path templates. type Template struct { // Version is the version number of the format. Version int // OpCodes is a sequence of operations. OpCodes []int // ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule/parse.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule/parse.go
package httprule import ( "errors" "fmt" "strings" ) // InvalidTemplateError indicates that the path template is not valid. type InvalidTemplateError struct { tmpl string msg string } func (e InvalidTemplateError) Error() string { return fmt.Sprintf("%s: %s", e.msg, e.tmpl) } // Parse parses the string repre...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/utilities/trie.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/utilities/trie.go
package utilities import ( "sort" ) // DoubleArray is a Double Array implementation of trie on sequences of strings. type DoubleArray struct { // Encoding keeps an encoding from string to int Encoding map[string]int // Base is the base array of Double Array Base []int // Check is the check array of Double Array...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/utilities/readerfactory.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/utilities/readerfactory.go
package utilities import ( "bytes" "io" ) // IOReaderFactory takes in an io.Reader and returns a function that will allow you to create a new reader that begins // at the start of the stream func IOReaderFactory(r io.Reader) (func() io.Reader, error) { b, err := io.ReadAll(r) if err != nil { return nil, err } ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/utilities/string_array_flag.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/utilities/string_array_flag.go
package utilities import ( "flag" "strings" ) // flagInterface is a cut down interface to `flag` type flagInterface interface { Var(value flag.Value, name string, usage string) } // StringArrayFlag defines a flag with the specified name and usage string. // The return value is the address of a `StringArrayFlags` ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/utilities/pattern.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/utilities/pattern.go
package utilities // OpCode is an opcode of compiled path patterns. type OpCode int // These constants are the valid values of OpCode. const ( // OpNop does nothing OpNop = OpCode(iota) // OpPush pushes a component to stack OpPush // OpLitPush pushes a component to stack if it matches to the literal OpLitPush ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/utilities/doc.go
vendor/github.com/grpc-ecosystem/grpc-gateway/v2/utilities/doc.go
// Package utilities provides members for internal use in grpc-gateway. package utilities
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/go-grpc-prometheus/metric_options.go
vendor/github.com/grpc-ecosystem/go-grpc-prometheus/metric_options.go
package grpc_prometheus import ( prom "github.com/prometheus/client_golang/prometheus" ) // A CounterOption lets you add options to Counter metrics using With* funcs. type CounterOption func(*prom.CounterOpts) type counterOptions []CounterOption func (co counterOptions) apply(o prom.CounterOpts) prom.CounterOpts {...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/go-grpc-prometheus/server_reporter.go
vendor/github.com/grpc-ecosystem/go-grpc-prometheus/server_reporter.go
// Copyright 2016 Michal Witkowski. All Rights Reserved. // See LICENSE for licensing terms. package grpc_prometheus import ( "time" "google.golang.org/grpc/codes" ) type serverReporter struct { metrics *ServerMetrics rpcType grpcType serviceName string methodName string startTime time.Time } fun...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/go-grpc-prometheus/client.go
vendor/github.com/grpc-ecosystem/go-grpc-prometheus/client.go
// Copyright 2016 Michal Witkowski. All Rights Reserved. // See LICENSE for licensing terms. // gRPC Prometheus monitoring interceptors for client-side gRPC. package grpc_prometheus import ( prom "github.com/prometheus/client_golang/prometheus" ) var ( // DefaultClientMetrics is the default instance of ClientMetr...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/go-grpc-prometheus/util.go
vendor/github.com/grpc-ecosystem/go-grpc-prometheus/util.go
// Copyright 2016 Michal Witkowski. All Rights Reserved. // See LICENSE for licensing terms. package grpc_prometheus import ( "strings" "google.golang.org/grpc" "google.golang.org/grpc/codes" ) type grpcType string const ( Unary grpcType = "unary" ClientStream grpcType = "client_stream" ServerStream g...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/go-grpc-prometheus/client_metrics.go
vendor/github.com/grpc-ecosystem/go-grpc-prometheus/client_metrics.go
package grpc_prometheus import ( "io" prom "github.com/prometheus/client_golang/prometheus" "golang.org/x/net/context" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) // ClientMetrics represents a collection of metrics to be registered on a // Prometheus metrics regist...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/go-grpc-prometheus/client_reporter.go
vendor/github.com/grpc-ecosystem/go-grpc-prometheus/client_reporter.go
// Copyright 2016 Michal Witkowski. All Rights Reserved. // See LICENSE for licensing terms. package grpc_prometheus import ( "time" "google.golang.org/grpc/codes" ) type clientReporter struct { metrics *ClientMetrics rpcType grpcType serviceName string methodName string startTime time.Time } fun...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/go-grpc-prometheus/server_metrics.go
vendor/github.com/grpc-ecosystem/go-grpc-prometheus/server_metrics.go
package grpc_prometheus import ( prom "github.com/prometheus/client_golang/prometheus" "golang.org/x/net/context" "google.golang.org/grpc" "google.golang.org/grpc/status" ) // ServerMetrics represents a collection of metrics to be registered on a // Prometheus metrics registry for a gRPC server. type ServerMetric...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/grpc-ecosystem/go-grpc-prometheus/server.go
vendor/github.com/grpc-ecosystem/go-grpc-prometheus/server.go
// Copyright 2016 Michal Witkowski. All Rights Reserved. // See LICENSE for licensing terms. // gRPC Prometheus monitoring interceptors for server-side gRPC. package grpc_prometheus import ( prom "github.com/prometheus/client_golang/prometheus" "google.golang.org/grpc" ) var ( // DefaultServerMetrics is the defa...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/protinfo_linux.go
vendor/github.com/vishvananda/netlink/protinfo_linux.go
package netlink import ( "errors" "fmt" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // If the returned error is [ErrDumpInterrupted], results may be inconsistent // or incomplete. func LinkGetProtinfo(link Link) (Protinfo, error) { return pkgHandle.LinkGetProtinfo(link) } // If the...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/fou_linux.go
vendor/github.com/vishvananda/netlink/fou_linux.go
//go:build linux // +build linux package netlink import ( "encoding/binary" "errors" "log" "net" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) const ( FOU_GENL_NAME = "fou" ) const ( FOU_CMD_UNSPEC uint8 = iota FOU_CMD_ADD FOU_CMD_DEL FOU_CMD_GET FOU_CMD_MAX = FOU_CMD_GET ) const ( FO...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/handle_unspecified.go
vendor/github.com/vishvananda/netlink/handle_unspecified.go
//go:build !linux // +build !linux package netlink import ( "net" "time" "github.com/vishvananda/netns" ) type Handle struct{} func NewHandle(nlFamilies ...int) (*Handle, error) { return nil, ErrNotImplemented } func NewHandleAt(ns netns.NsHandle, nlFamilies ...int) (*Handle, error) { return nil, ErrNotImple...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/devlink_linux.go
vendor/github.com/vishvananda/netlink/devlink_linux.go
package netlink import ( "errors" "fmt" "net" "strings" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // DevlinkDevEswitchAttr represents device's eswitch attributes type DevlinkDevEswitchAttr struct { Mode string InlineMode string EncapMode string } // DevlinkDevAttrs rep...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
true
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/order.go
vendor/github.com/vishvananda/netlink/order.go
package netlink import ( "encoding/binary" "github.com/vishvananda/netlink/nl" ) var ( native = nl.NativeEndian() networkOrder = binary.BigEndian ) func htonl(val uint32) []byte { bytes := make([]byte, 4) binary.BigEndian.PutUint32(bytes, val) return bytes } func htons(val uint16) []byte { bytes := m...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/socket_linux.go
vendor/github.com/vishvananda/netlink/socket_linux.go
package netlink import ( "errors" "fmt" "net" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) const ( sizeofSocketID = 0x30 sizeofSocketRequest = sizeofSocketID + 0x8 sizeofSocket = sizeofSocketID + 0x18 sizeofUnixSocketRequest = 0x18 // 24 byte sizeofUnixSo...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/qdisc.go
vendor/github.com/vishvananda/netlink/qdisc.go
package netlink import ( "fmt" "math" ) const ( HANDLE_NONE = 0 HANDLE_INGRESS = 0xFFFFFFF1 HANDLE_CLSACT = HANDLE_INGRESS HANDLE_ROOT = 0xFFFFFFFF PRIORITY_MAP_LEN = 16 ) const ( HANDLE_MIN_INGRESS = 0xFFFFFFF2 HANDLE_MIN_EGRESS = 0xFFFFFFF3 ) const ( HORIZON_DROP_POLICY_CAP = 0 HORIZ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/neigh_linux.go
vendor/github.com/vishvananda/netlink/neigh_linux.go
package netlink import ( "errors" "fmt" "net" "syscall" "unsafe" "github.com/vishvananda/netlink/nl" "github.com/vishvananda/netns" "golang.org/x/sys/unix" ) const ( NDA_UNSPEC = iota NDA_DST NDA_LLADDR NDA_CACHEINFO NDA_PROBES NDA_VLAN NDA_PORT NDA_VNI NDA_IFINDEX NDA_MASTER NDA_LINK_NETNSID NDA...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/link_tuntap_linux.go
vendor/github.com/vishvananda/netlink/link_tuntap_linux.go
package netlink import ( "fmt" "os" "strings" "syscall" "golang.org/x/sys/unix" ) // ideally golang.org/x/sys/unix would define IfReq but it only has // IFNAMSIZ, hence this minimalistic implementation const ( SizeOfIfReq = 40 IFNAMSIZ = 16 ) const TUN = "/dev/net/tun" type ifReq struct { Name [IFNAMSI...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/filter_linux.go
vendor/github.com/vishvananda/netlink/filter_linux.go
package netlink import ( "bytes" "encoding/binary" "encoding/hex" "errors" "fmt" "net" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // Constants used in TcU32Sel.Flags. const ( TC_U32_TERMINAL = nl.TC_U32_TERMINAL TC_U32_OFFSET = nl.TC_U32_OFFSET TC_U32_VAROFFSET = nl.TC_U3...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
true
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/chain_linux.go
vendor/github.com/vishvananda/netlink/chain_linux.go
package netlink import ( "errors" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // ChainDel will delete a chain from the system. func ChainDel(link Link, chain Chain) error { // Equivalent to: `tc chain del $chain` return pkgHandle.ChainDel(link, chain) } // ChainDel will delete a chain from th...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/proc_event_linux.go
vendor/github.com/vishvananda/netlink/proc_event_linux.go
package netlink import ( "bytes" "encoding/binary" "fmt" "os" "syscall" "github.com/vishvananda/netlink/nl" "github.com/vishvananda/netns" "golang.org/x/sys/unix" ) const CN_IDX_PROC = 0x1 const ( PROC_EVENT_NONE = 0x00000000 PROC_EVENT_FORK = 0x00000001 PROC_EVENT_EXEC = 0x00000002 PROC_EVE...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/vdpa_linux.go
vendor/github.com/vishvananda/netlink/vdpa_linux.go
package netlink import ( "errors" "fmt" "net" "syscall" "golang.org/x/sys/unix" "github.com/vishvananda/netlink/nl" ) type vdpaDevID struct { Name string ID uint32 } // VDPADev contains info about VDPA device type VDPADev struct { vdpaDevID VendorID uint32 MaxVQS uint32 MaxVQSize uint16 MinVQSiz...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/route_unspecified.go
vendor/github.com/vishvananda/netlink/route_unspecified.go
// +build !linux package netlink import "strconv" func (r *Route) ListFlags() []string { return []string{} } func (n *NexthopInfo) ListFlags() []string { return []string{} } func (s Scope) String() string { return "unknown" } func (p RouteProtocol) String() string { return strconv.Itoa(int(p)) }
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/tcp_linux.go
vendor/github.com/vishvananda/netlink/tcp_linux.go
package netlink import ( "bytes" "errors" "io" ) const ( tcpBBRInfoLen = 20 memInfoLen = 16 ) func checkDeserErr(err error) error { if err == io.EOF { return nil } return err } func (t *TCPInfo) deserialize(b []byte) error { var err error rb := bytes.NewBuffer(b) t.State, err = rb.ReadByte() if er...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/rule_linux.go
vendor/github.com/vishvananda/netlink/rule_linux.go
package netlink import ( "bytes" "errors" "fmt" "net" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) const FibRuleInvert = 0x2 // RuleAdd adds a rule to the system. // Equivalent to: ip rule add func RuleAdd(rule *Rule) error { return pkgHandle.RuleAdd(rule) } // RuleAdd adds a rule to the sy...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/addr_linux.go
vendor/github.com/vishvananda/netlink/addr_linux.go
package netlink import ( "errors" "fmt" "net" "syscall" "github.com/vishvananda/netlink/nl" "github.com/vishvananda/netns" "golang.org/x/sys/unix" ) // AddrAdd will add an IP address to a link device. // // Equivalent to: `ip addr add $addr dev $link` // // If `addr` is an IPv4 address and the broadcast addre...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/tcp.go
vendor/github.com/vishvananda/netlink/tcp.go
package netlink // TCP States const ( TCP_ESTABLISHED = iota + 0x01 TCP_SYN_SENT TCP_SYN_RECV TCP_FIN_WAIT1 TCP_FIN_WAIT2 TCP_TIME_WAIT TCP_CLOSE TCP_CLOSE_WAIT TCP_LAST_ACK TCP_LISTEN TCP_CLOSING TCP_NEW_SYN_REC TCP_MAX_STATES ) type TCPInfo struct { State uint8 Ca_state ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/genetlink_unspecified.go
vendor/github.com/vishvananda/netlink/genetlink_unspecified.go
// +build !linux package netlink type GenlOp struct{} type GenlMulticastGroup struct{} type GenlFamily struct{} func (h *Handle) GenlFamilyList() ([]*GenlFamily, error) { return nil, ErrNotImplemented } func GenlFamilyList() ([]*GenlFamily, error) { return nil, ErrNotImplemented } func (h *Handle) GenlFamilyGe...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/fou_unspecified.go
vendor/github.com/vishvananda/netlink/fou_unspecified.go
//go:build !linux // +build !linux package netlink func FouAdd(f Fou) error { return ErrNotImplemented } func FouDel(f Fou) error { return ErrNotImplemented } func FouList(fam int) ([]Fou, error) { return nil, ErrNotImplemented }
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/conntrack_linux.go
vendor/github.com/vishvananda/netlink/conntrack_linux.go
package netlink import ( "bytes" "encoding/binary" "errors" "fmt" "io/fs" "net" "time" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // ConntrackTableType Conntrack table for the netlink operation type ConntrackTableType uint8 const ( // ConntrackTable Conntrack table // https://github.co...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/filter.go
vendor/github.com/vishvananda/netlink/filter.go
package netlink import ( "fmt" "net" ) type Filter interface { Attrs() *FilterAttrs Type() string } // FilterAttrs represents a netlink filter. A filter is associated with a link, // has a handle and a parent. The root filter of a device should have a // parent == HANDLE_ROOT. type FilterAttrs struct { LinkInde...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/class.go
vendor/github.com/vishvananda/netlink/class.go
package netlink import ( "fmt" ) // Class interfaces for all classes type Class interface { Attrs() *ClassAttrs Type() string } // Generic networking statistics for netlink users. // This file contains "gnet_" prefixed structs and relevant functions. // See Documentation/networking/getn_stats.txt in Linux source ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/handle_linux.go
vendor/github.com/vishvananda/netlink/handle_linux.go
package netlink import ( "fmt" "time" "github.com/vishvananda/netlink/nl" "github.com/vishvananda/netns" "golang.org/x/sys/unix" ) // Empty handle used by the netlink package methods var pkgHandle = &Handle{} // Handle is an handle for the netlink requests on a // specific network namespace. All the requests o...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/link_linux.go
vendor/github.com/vishvananda/netlink/link_linux.go
package netlink import ( "bytes" "encoding/binary" "errors" "fmt" "io/ioutil" "net" "os" "strconv" "strings" "syscall" "unsafe" "github.com/vishvananda/netlink/nl" "github.com/vishvananda/netns" "golang.org/x/sys/unix" ) const ( SizeofLinkStats32 = 0x5c SizeofLinkStats64 = 0xb8 ) const ( TUNTAP_MOD...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
true
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/fou.go
vendor/github.com/vishvananda/netlink/fou.go
package netlink import ( "net" ) type Fou struct { Family int Port int Protocol int EncapType int Local net.IP Peer net.IP PeerPort int IfIndex int }
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/addr.go
vendor/github.com/vishvananda/netlink/addr.go
package netlink import ( "fmt" "net" "strings" ) // Addr represents an IP address from netlink. Netlink ip addresses // include a mask, so it stores the address as a net.IPNet. type Addr struct { *net.IPNet Label string Flags int Scope int Peer *net.IPNet Broadcast net.IP Prefered...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/genetlink_linux.go
vendor/github.com/vishvananda/netlink/genetlink_linux.go
package netlink import ( "errors" "fmt" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) type GenlOp struct { ID uint32 Flags uint32 } type GenlMulticastGroup struct { ID uint32 Name string } type GenlFamily struct { ID uint16 HdrSize uint32 Name string Version uint...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/virtio.go
vendor/github.com/vishvananda/netlink/virtio.go
package netlink // features for virtio net const ( VIRTIO_NET_F_CSUM = 0 // Host handles pkts w/ partial csum VIRTIO_NET_F_GUEST_CSUM = 1 // Guest handles pkts w/ partial csum VIRTIO_NET_F_CTRL_GUEST_OFFLOADS = 2 // Dynamic offload configuration. VIRTIO_NET_F_MTU = 3 // ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/conntrack_unspecified.go
vendor/github.com/vishvananda/netlink/conntrack_unspecified.go
// +build !linux package netlink // ConntrackTableType Conntrack table for the netlink operation type ConntrackTableType uint8 // InetFamily Family type type InetFamily uint8 // ConntrackFlow placeholder type ConntrackFlow struct{} // CustomConntrackFilter placeholder type CustomConntrackFilter struct{} // Conntr...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/class_linux.go
vendor/github.com/vishvananda/netlink/class_linux.go
package netlink import ( "bytes" "encoding/binary" "encoding/hex" "errors" "fmt" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // Internal tc_stats representation in Go struct. // This is for internal uses only to deserialize the payload of rtattr. // After the deserialization, this...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/qdisc_linux.go
vendor/github.com/vishvananda/netlink/qdisc_linux.go
package netlink import ( "errors" "fmt" "io/ioutil" "strconv" "strings" "sync" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // NOTE function is here because it uses other linux functions func NewNetem(attrs QdiscAttrs, nattrs NetemQdiscAttrs) *Netem { var limit uint32 = 1000 var...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/gtp_linux.go
vendor/github.com/vishvananda/netlink/gtp_linux.go
package netlink import ( "errors" "fmt" "net" "strings" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) type PDP struct { Version uint32 TID uint64 PeerAddress net.IP MSAddress net.IP Flow uint16 NetNSFD uint32 ITEI uint32 OTEI uint32 } f...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/link.go
vendor/github.com/vishvananda/netlink/link.go
package netlink import ( "fmt" "net" "os" "strconv" ) // Link represents a link device from netlink. Shared link attributes // like name may be retrieved using the Attrs() method. Unique data // can be retrieved by casting the object to the proper type. type Link interface { Attrs() *LinkAttrs Type() string } ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/protinfo.go
vendor/github.com/vishvananda/netlink/protinfo.go
package netlink import ( "strings" ) // Protinfo represents bridge flags from netlink. type Protinfo struct { Hairpin bool Guard bool FastLeave bool RootBlock bool Learning bool Flood bool ProxyArp bool ProxyArpWiFi bool Isolated bool NeighSuppress bool VlanTu...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/chain.go
vendor/github.com/vishvananda/netlink/chain.go
package netlink import ( "fmt" ) // Chain contains the attributes of a Chain type Chain struct { Parent uint32 Chain uint32 } func (c Chain) String() string { return fmt.Sprintf("{Parent: %d, Chain: %d}", c.Parent, c.Chain) } func NewChain(parent uint32, chain uint32) Chain { return Chain{ Parent: parent, ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/netlink_unspecified.go
vendor/github.com/vishvananda/netlink/netlink_unspecified.go
//go:build !linux // +build !linux package netlink import "net" func LinkSetUp(link Link) error { return ErrNotImplemented } func LinkSetDown(link Link) error { return ErrNotImplemented } func LinkSetMTU(link Link, mtu int) error { return ErrNotImplemented } func LinkSetMaster(link Link, master Link) error { ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/inet_diag.go
vendor/github.com/vishvananda/netlink/inet_diag.go
package netlink // INET_DIAG constatns const ( INET_DIAG_NONE = iota INET_DIAG_MEMINFO INET_DIAG_INFO INET_DIAG_VEGASINFO INET_DIAG_CONG INET_DIAG_TOS INET_DIAG_TCLASS INET_DIAG_SKMEMINFO INET_DIAG_SHUTDOWN INET_DIAG_DCTCPINFO INET_DIAG_PROTOCOL INET_DIAG_SKV6ONLY INET_DIAG_LOCALS INET_DIAG_PEERS INET_D...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/rule_nonlinux.go
vendor/github.com/vishvananda/netlink/rule_nonlinux.go
//go:build !linux // +build !linux package netlink func (r Rule) typeString() string { return "" }
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/route_linux.go
vendor/github.com/vishvananda/netlink/route_linux.go
package netlink import ( "bytes" "encoding/binary" "errors" "fmt" "net" "strconv" "strings" "syscall" "github.com/vishvananda/netlink/nl" "github.com/vishvananda/netns" "golang.org/x/sys/unix" ) // RtAttr is shared so it is in netlink_linux.go const ( SCOPE_UNIVERSE Scope = unix.RT_SCOPE_UNIVERSE SCOPE...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
true
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/xfrm_state_linux.go
vendor/github.com/vishvananda/netlink/xfrm_state_linux.go
package netlink import ( "errors" "fmt" "net" "time" "unsafe" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // XfrmStateAlgo represents the algorithm to use for the ipsec encryption. type XfrmStateAlgo struct { Name string Key []byte TruncateLen int // Auth only ICVLen ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/unix_diag.go
vendor/github.com/vishvananda/netlink/unix_diag.go
package netlink // According to linux/include/uapi/linux/unix_diag.h const ( UNIX_DIAG_NAME = iota UNIX_DIAG_VFS UNIX_DIAG_PEER UNIX_DIAG_ICONS UNIX_DIAG_RQLEN UNIX_DIAG_MEMINFO UNIX_DIAG_SHUTDOWN UNIX_DIAG_UID UNIX_DIAG_MAX ) type UnixDiagInfoResp struct { DiagMsg *UnixSocket Name *string Peer *...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/xdp_diag.go
vendor/github.com/vishvananda/netlink/xdp_diag.go
package netlink import "github.com/vishvananda/netlink/nl" const SOCK_ANY_COOKIE = uint64(nl.TCPDIAG_NOCOOKIE)<<32 + uint64(nl.TCPDIAG_NOCOOKIE) // XDP diagnosis show flag constants to request particular information elements. const ( XDP_SHOW_INFO = 1 << iota XDP_SHOW_RING_CFG XDP_SHOW_UMEM XDP_SHOW_MEMINFO XDP...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/xfrm_monitor_linux.go
vendor/github.com/vishvananda/netlink/xfrm_monitor_linux.go
package netlink import ( "fmt" "github.com/vishvananda/netlink/nl" "github.com/vishvananda/netns" "golang.org/x/sys/unix" ) type XfrmMsg interface { Type() nl.XfrmMsgType } type XfrmMsgExpire struct { XfrmState *XfrmState Hard bool } func (ue *XfrmMsgExpire) Type() nl.XfrmMsgType { return nl.XFRM_MSG_...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/xfrm_linux.go
vendor/github.com/vishvananda/netlink/xfrm_linux.go
package netlink import ( "fmt" "golang.org/x/sys/unix" ) // Proto is an enum representing an ipsec protocol. type Proto uint8 const ( XFRM_PROTO_ROUTE2 Proto = unix.IPPROTO_ROUTING XFRM_PROTO_ESP Proto = unix.IPPROTO_ESP XFRM_PROTO_AH Proto = unix.IPPROTO_AH XFRM_PROTO_HAO Proto = unix.I...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/socket_xdp_linux.go
vendor/github.com/vishvananda/netlink/socket_xdp_linux.go
package netlink import ( "errors" "fmt" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) const ( sizeofXDPSocketRequest = 1 + 1 + 2 + 4 + 4 + 2*4 sizeofXDPSocket = 0x10 ) // https://elixir.bootlin.com/linux/v6.2/source/include/uapi/linux/xdp_diag.h#L12 type xdpSocketRequest stru...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/neigh.go
vendor/github.com/vishvananda/netlink/neigh.go
package netlink import ( "fmt" "net" ) // Neigh represents a link layer neighbor from netlink. type Neigh struct { LinkIndex int Family int State int Type int Flags int FlagsExt int IP net.IP HardwareAddr net.HardwareAddr LLIPAddr net.IP //Used in the case o...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/bridge_linux.go
vendor/github.com/vishvananda/netlink/bridge_linux.go
package netlink import ( "errors" "fmt" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // BridgeVlanTunnelShow gets vlanid-tunnelid mapping. // Equivalent to: `bridge vlan tunnelshow` // // If the returned error is [ErrDumpInterrupted], results may be inconsistent // or incomplete. func...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/xdp_linux.go
vendor/github.com/vishvananda/netlink/xdp_linux.go
package netlink import ( "bytes" "fmt" ) const ( xdrDiagUmemLen = 8 + 8*4 xdrDiagStatsLen = 6 * 8 ) func (x *XDPDiagUmem) deserialize(b []byte) error { if len(b) < xdrDiagUmemLen { return fmt.Errorf("XDP umem diagnosis data short read (%d); want %d", len(b), xdrDiagUmemLen) } rb := bytes.NewBuffer(b) x.S...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/xfrm_unspecified.go
vendor/github.com/vishvananda/netlink/xfrm_unspecified.go
//go:build !linux // +build !linux package netlink type XfrmPolicy struct{} type XfrmState struct{}
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/rdma_link_linux.go
vendor/github.com/vishvananda/netlink/rdma_link_linux.go
package netlink import ( "bytes" "encoding/binary" "errors" "fmt" "net" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // LinkAttrs represents data shared by most link types type RdmaLinkAttrs struct { Index uint32 Name string FirmwareVersion string NodeGuid stri...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/netns_unspecified.go
vendor/github.com/vishvananda/netlink/netns_unspecified.go
// +build !linux package netlink func GetNetNsIdByPid(pid int) (int, error) { return 0, ErrNotImplemented } func SetNetNsIdByPid(pid, nsid int) error { return ErrNotImplemented } func GetNetNsIdByFd(fd int) (int, error) { return 0, ErrNotImplemented } func SetNetNsIdByFd(fd, nsid int) error { return ErrNotImpl...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/bpf_linux.go
vendor/github.com/vishvananda/netlink/bpf_linux.go
package netlink import ( "unsafe" "golang.org/x/sys/unix" ) type BpfProgType uint32 const ( BPF_PROG_TYPE_UNSPEC BpfProgType = iota BPF_PROG_TYPE_SOCKET_FILTER BPF_PROG_TYPE_KPROBE BPF_PROG_TYPE_SCHED_CLS BPF_PROG_TYPE_SCHED_ACT BPF_PROG_TYPE_TRACEPOINT BPF_PROG_TYPE_XDP BPF_PROG_TYPE_PERF_EVENT BPF_PROG...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/netns_linux.go
vendor/github.com/vishvananda/netlink/netns_linux.go
package netlink // Network namespace ID functions // // The kernel has a weird concept called the network namespace ID. // This is different from the file reference in proc (and any bind-mounted // namespaces, etc.) // // Instead, namespaces can be assigned a numeric ID at any time. Once set, // the ID is fixed. The I...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/netlink_linux.go
vendor/github.com/vishvananda/netlink/netlink_linux.go
package netlink import "github.com/vishvananda/netlink/nl" // Family type definitions const ( FAMILY_ALL = nl.FAMILY_ALL FAMILY_V4 = nl.FAMILY_V4 FAMILY_V6 = nl.FAMILY_V6 FAMILY_MPLS = nl.FAMILY_MPLS ) // ErrDumpInterrupted is an alias for [nl.ErrDumpInterrupted]. var ErrDumpInterrupted = nl.ErrDumpInterrup...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/rule.go
vendor/github.com/vishvananda/netlink/rule.go
package netlink import ( "fmt" "net" ) // Rule represents a netlink rule. type Rule struct { Priority int Family int Table int Mark uint32 Mask *uint32 Tos uint TunID uint Goto int Src *net.IPNet ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/socket.go
vendor/github.com/vishvananda/netlink/socket.go
package netlink import "net" // SocketID identifies a single socket. type SocketID struct { SourcePort uint16 DestinationPort uint16 Source net.IP Destination net.IP Interface uint32 Cookie [2]uint32 } // Socket represents a netlink socket. type Socket struct { Family uint8 ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/ioctl_linux.go
vendor/github.com/vishvananda/netlink/ioctl_linux.go
package netlink import ( "syscall" "unsafe" "golang.org/x/sys/unix" ) // ioctl for statistics. const ( // ETHTOOL_GSSET_INFO gets string set info ETHTOOL_GSSET_INFO = 0x00000037 // SIOCETHTOOL is Ethtool interface SIOCETHTOOL = 0x8946 // ETHTOOL_GSTRINGS gets specified string set ETHTOOL_GSTRINGS = 0x000000...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/route.go
vendor/github.com/vishvananda/netlink/route.go
package netlink import ( "fmt" "net" "strings" ) // Scope is an enum representing a route scope. type Scope uint8 type NextHopFlag int const ( RT_FILTER_PROTOCOL uint64 = 1 << (1 + iota) RT_FILTER_SCOPE RT_FILTER_TYPE RT_FILTER_TOS RT_FILTER_IIF RT_FILTER_OIF RT_FILTER_DST RT_FILTER_SRC RT_FILTER_GW RT...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/xfrm_policy_linux.go
vendor/github.com/vishvananda/netlink/xfrm_policy_linux.go
package netlink import ( "errors" "fmt" "net" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // Dir is an enum representing an ipsec template direction. type Dir uint8 const ( XFRM_DIR_IN Dir = iota XFRM_DIR_OUT XFRM_DIR_FWD XFRM_SOCKET_IN XFRM_SOCKET_OUT XFRM_SOCKET_FWD ) func (d Dir) St...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/netlink.go
vendor/github.com/vishvananda/netlink/netlink.go
// Package netlink provides a simple library for netlink. Netlink is // the interface a user-space program in linux uses to communicate with // the kernel. It can be used to add and remove interfaces, set up ip // addresses and routes, and confiugre ipsec. Netlink communication // requires elevated privileges, so in mo...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/ipset_linux.go
vendor/github.com/vishvananda/netlink/ipset_linux.go
package netlink import ( "encoding/binary" "log" "net" "syscall" "github.com/vishvananda/netlink/nl" "golang.org/x/sys/unix" ) // IPSetEntry is used for adding, updating, retreiving and deleting entries type IPSetEntry struct { Comment string MAC net.HardwareAddr IP net.IP CIDR uint8 Timeo...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/lwt_linux.go
vendor/github.com/vishvananda/netlink/nl/lwt_linux.go
package nl const ( LWT_BPF_PROG_UNSPEC = iota LWT_BPF_PROG_FD LWT_BPF_PROG_NAME __LWT_BPF_PROG_MAX ) const ( LWT_BPF_PROG_MAX = __LWT_BPF_PROG_MAX - 1 ) const ( LWT_BPF_UNSPEC = iota LWT_BPF_IN LWT_BPF_OUT LWT_BPF_XMIT LWT_BPF_XMIT_HEADROOM __LWT_BPF_MAX ) const ( LWT_BPF_MAX = __LWT_BPF_MAX - 1 ) cons...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/devlink_linux.go
vendor/github.com/vishvananda/netlink/nl/devlink_linux.go
package nl // All the following constants are coming from: // https://github.com/torvalds/linux/blob/master/include/uapi/linux/devlink.h const ( GENL_DEVLINK_VERSION = 1 GENL_DEVLINK_NAME = "devlink" ) const ( DEVLINK_CMD_GET = 1 DEVLINK_CMD_PORT_GET = 5 DEVLINK_CMD_PORT_SET = 6 DEVLINK_...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/vdpa_linux.go
vendor/github.com/vishvananda/netlink/nl/vdpa_linux.go
package nl const ( VDPA_GENL_NAME = "vdpa" VDPA_GENL_VERSION = 0x1 ) const ( VDPA_CMD_UNSPEC = iota VDPA_CMD_MGMTDEV_NEW VDPA_CMD_MGMTDEV_GET /* can dump */ VDPA_CMD_DEV_NEW VDPA_CMD_DEV_DEL VDPA_CMD_DEV_GET /* can dump */ VDPA_CMD_DEV_CONFIG_GET /* can dump */ VDPA_CMD_DEV_VSTATS_GET ) const ( ...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false
moby/moby
https://github.com/moby/moby/blob/015cd3d3fdf4a1ad9f27f132013bea7838da721b/vendor/github.com/vishvananda/netlink/nl/addr_linux.go
vendor/github.com/vishvananda/netlink/nl/addr_linux.go
package nl import ( "unsafe" "golang.org/x/sys/unix" ) type IfAddrmsg struct { unix.IfAddrmsg } func NewIfAddrmsg(family int) *IfAddrmsg { return &IfAddrmsg{ IfAddrmsg: unix.IfAddrmsg{ Family: uint8(family), }, } } // struct ifaddrmsg { // __u8 ifa_family; // __u8 ifa_prefixlen; /* The prefi...
go
Apache-2.0
015cd3d3fdf4a1ad9f27f132013bea7838da721b
2026-01-07T08:35:43.425641Z
false