Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jetkvm/kvm
/ functions
Functions
2,643 in github.com/jetkvm/kvm
⨍
Functions
2,643
◇
Types & classes
493
↓ 1 callers
Method
IPv6Ready
()
pkg/nmlite/state.go:89
↓ 1 callers
Method
IPv6String
()
pkg/nmlite/state.go:100
↓ 1 callers
Method
Init
()
internal/usbgadget/config.go:177
↓ 1 callers
Function
InitializeNetlinkManager
InitializeNetlinkManager initializes the singleton NetlinkManager with a logger
pkg/nmlite/link/manager.go:53
↓ 1 callers
Method
IsSame
IsSame checks if the link is the same as another link
pkg/nmlite/link/netlink.go:144
↓ 1 callers
Method
IsSame
(other *RequestedFileChange)
internal/usbgadget/changeset.go:165
↓ 1 callers
Method
IsUDCBound
IsUDCBound checks if the UDC state is bound.
internal/usbgadget/udc.go:96
↓ 1 callers
Method
IsUpdatePending
IsUpdatePending returns true if an update is pending
internal/ota/state.go:182
↓ 1 callers
Method
KeyboardMacroReport
KeyboardMacroReport returns the keyboard macro report from the message.
internal/hidrpc/message.go:111
↓ 1 callers
Method
KillProcess
()
pkg/nmlite/udhcpc/proc.go:170
↓ 1 callers
Method
LastError
LastError returns the last connection error, or empty string if none.
mqtt.go:179
↓ 1 callers
Method
Lease4
()
internal/network/types/dhcp.go:11
↓ 1 callers
Method
Lease6
()
internal/network/types/dhcp.go:12
↓ 1 callers
Function
LinearToPCMU
LinearToPCMU encodes a signed 16-bit PCM sample as G.711 mu-law.
internal/audio/g711.go:9
↓ 1 callers
Method
Lock
Lock locks the mutex
internal/sync/release.go:15
↓ 1 callers
Method
LogDeviceFiles
LogDeviceFiles checks core device files exist.
internal/diagnostics/devices.go:52
↓ 1 callers
Method
LogDmesgTail
LogDmesgTail logs the last 200 lines of dmesg.
internal/diagnostics/kernel.go:21
↓ 1 callers
Method
LogGoRuntime
LogGoRuntime logs Go runtime statistics.
internal/diagnostics/system.go:14
↓ 1 callers
Method
LogI2CInfo
LogI2CInfo logs I2C bus scans and touchscreen/HDMI sysfs info.
internal/diagnostics/devices.go:20
↓ 1 callers
Method
LogInputDevices
LogInputDevices logs input device information.
internal/diagnostics/devices.go:9
↓ 1 callers
Method
LogKernelInfo
LogKernelInfo logs kernel modules, GPIO state, and filtered dmesg.
internal/diagnostics/kernel.go:4
↓ 1 callers
Method
LogNetworking
LogNetworking logs network interface state and configuration.
internal/diagnostics/network.go:4
↓ 1 callers
Method
LogSessionInfo
LogSessionInfo logs WebRTC session diagnostics.
internal/diagnostics/session.go:4
↓ 1 callers
Method
LogSystemInfo
LogSystemInfo logs uptime info.
internal/diagnostics/system.go:6
↓ 1 callers
Method
LogUSBGadget
LogUSBGadget logs comprehensive USB gadget state, controller info, and HID devices.
internal/diagnostics/usb.go:12
↓ 1 callers
Function
Main
()
main.go:30
↓ 1 callers
Function
Marshal
Marshal marshals the HID RPC message to the data.
internal/hidrpc/hidrpc.go:61
↓ 1 callers
Method
MountConfigFS
()
internal/usbgadget/config_tx.go:126
↓ 1 callers
Method
MouseReport
MouseReport returns the mouse report from the message.
internal/hidrpc/message.go:180
↓ 1 callers
Function
NewClient
NewClient creates a new DHCP client for the given interface.
pkg/nmlite/jetdhcpc/client.go:119
↓ 1 callers
Function
NewConsoleBroker
(s Sink, norm NormalizationOptions)
serial_console_helpers.go:256
↓ 1 callers
Function
NewDHCPClient
NewDHCPClient creates a new DHCP client
pkg/nmlite/dhcp.go:31
↓ 1 callers
Function
NewDHCPClient
(options *DHCPClientOptions)
pkg/nmlite/udhcpc/udhcpc.go:45
↓ 1 callers
Function
NewFactory
()
internal/playoutdelay/interceptor.go:36
↓ 1 callers
Function
NewGRPCClient
NewGRPCClient creates a new gRPC client connected to the native service
internal/native/grpc_client.go:52
↓ 1 callers
Function
NewGRPCServer
NewGRPCServer creates a new gRPC server for the native service
internal/native/grpc_server.go:27
↓ 1 callers
Function
NewHandshakeMessage
NewHandshakeMessage creates a new handshake message.
internal/hidrpc/hidrpc.go:74
↓ 1 callers
Function
NewInterfaceManager
NewInterfaceManager creates a new interface manager
pkg/nmlite/interface.go:51
↓ 1 callers
Function
NewKeyboardLedMessage
NewKeyboardLedMessage creates a new keyboard LED message.
internal/hidrpc/hidrpc.go:90
↓ 1 callers
Function
NewKeyboardMacroStateMessage
NewKeyboardMacroStateMessage creates a new keyboard macro state message.
internal/hidrpc/hidrpc.go:110
↓ 1 callers
Function
NewKeydownStateMessage
NewKeydownStateMessage creates a new keydown state message.
internal/hidrpc/hidrpc.go:98
↓ 1 callers
Function
NewLogger
(zerologLogger zerolog.Logger)
internal/logging/logger.go:86
↓ 1 callers
Function
NewMDNS
(opts *MDNSOptions)
internal/mdns/mdns.go:43
↓ 1 callers
Function
NewMQTTManager
(cfg *MQTTConfig, deviceID string)
mqtt.go:90
↓ 1 callers
Function
NewNBDDevice
()
block_device.go:67
↓ 1 callers
Function
NewNative
(opts NativeOptions)
internal/native/native.go:67
↓ 1 callers
Function
NewNativeProxy
NewNativeProxy creates a new NativeProxy that spawns a separate process
internal/native/proxy.go:147
↓ 1 callers
Function
NewNetworkManager
NewNetworkManager creates a new network manager
pkg/nmlite/manager.go:36
↓ 1 callers
Function
NewPublicIPState
NewPublicIPState creates a new PublicIPState
pkg/myip/ip.go:63
↓ 1 callers
Function
NewRateLimiter
NewRateLimiter creates a new rate limiter with automatic cleanup
ratelimit.go:36
↓ 1 callers
Function
NewResolvConfManager
NewResolvConfManager creates a new resolv.conf manager
pkg/nmlite/resolvconf.go:51
↓ 1 callers
Function
NewSerialMux
(p serial.Port, broker *ConsoleBroker)
serial_console_helpers.go:614
↓ 1 callers
Function
NewStaticConfigManager
NewStaticConfigManager creates a new static configuration manager
pkg/nmlite/static.go:19
↓ 1 callers
Function
NewTimeSync
(opts *TimeSyncOptions)
internal/timesync/timesync.go:65
↓ 1 callers
Function
NewWithLogger
NewWithLogger creates a new Diagnostics instance with a custom logger.
internal/diagnostics/diagnostics.go:60
↓ 1 callers
Function
OpenALSACapture
(device string)
internal/audio/alsa_capture_stub.go:9
↓ 1 callers
Method
OverrideGadgetConfig
OverrideGadgetConfig overrides the gadget config for the given item and attribute. It returns an error if the item is not found or the attribute is no
internal/usbgadget/config.go:149
↓ 1 callers
Function
ParseIPv4Netmask
ParseIPv4Netmask parses an IPv4 netmask string and returns the IPNet
pkg/nmlite/link/utils.go:10
↓ 1 callers
Function
ParseIPv6Prefix
ParseIPv6Prefix parses an IPv6 address and prefix length
pkg/nmlite/link/utils.go:42
↓ 1 callers
Method
PointerReport
PointerReport returns the point report from the message.
internal/hidrpc/message.go:156
↓ 1 callers
Method
ReadEncoded
(codec Codec)
internal/audio/alsa_capture_cgo.go:323
↓ 1 callers
Method
ReconcileLink
ReconcileLink reconciles the addresses and routes of a link
pkg/nmlite/link/manager.go:478
↓ 1 callers
Method
RecordSuccess
RecordSuccess clears the rate limit entry for an IP after successful auth
ratelimit.go:163
↓ 1 callers
Method
Refresh
Refresh refreshes the link
pkg/nmlite/link/netlink.go:70
↓ 1 callers
Method
RelMouseReport
(mx int8, my int8, buttons uint8)
internal/usbgadget/hid_mouse_relative.go:88
↓ 1 callers
Method
RelMouseWheelReport
(wheelY int8, wheelX int8)
internal/usbgadget/hid_mouse_relative.go:111
↓ 1 callers
Method
RemoveDefaultRoute
RemoveDefaultRoute removes the default route for the given family
pkg/nmlite/link/manager.go:363
↓ 1 callers
Method
RenewDHCPLease
RenewDHCPLease renews the DHCP lease for a specific interface
pkg/nmlite/manager.go:194
↓ 1 callers
Method
ReopenKeyboardHidFile
()
internal/usbgadget/hid_keyboard.go:431
↓ 1 callers
Method
RouteAdd
RouteAdd adds a route
pkg/nmlite/link/manager.go:294
↓ 1 callers
Method
RouteReplace
RouteReplace replaces a route
pkg/nmlite/link/manager.go:308
↓ 1 callers
Function
RtcTimetoTime
(t unix.RTCTime)
internal/timesync/rtc_linux.go:27
↓ 1 callers
Function
RunNativeProcess
RunNativeProcess runs the native process mode
internal/native/server.go:78
↓ 1 callers
Function
RunWebSecureServer
()
web_tls.go:209
↓ 1 callers
Function
RunWebServer
()
web.go:657
↓ 1 callers
Function
RunWebsocketClient
()
cloud.go:498
↓ 1 callers
Function
SaveBackupConfig
()
config.go:357
↓ 1 callers
Method
SetCloudflareEndpoint
SetCloudflareEndpoint sets the Cloudflare endpoint
pkg/myip/ip.go:96
↓ 1 callers
Method
SetConfig
SetConfig updates the interface configuration
pkg/nmlite/interface.go:351
↓ 1 callers
Method
SetDhcpNtpAddresses
(addresses []string)
internal/timesync/timesync.go:94
↓ 1 callers
Method
SetDisplayRotation
SetDisplayRotation sets the display rotation
config.go:147
↓ 1 callers
Method
SetGadgetConfig
(config *Config)
internal/usbgadget/config.go:105
↓ 1 callers
Method
SetHostname
SetHostname sets the hostname and domain for the network manager
pkg/nmlite/manager.go:56
↓ 1 callers
Method
SetIPv4AndIPv6
SetFamily sets if we need to track IPv4 and IPv6 public IP addresses
pkg/myip/ip.go:87
↓ 1 callers
Method
SetLeaseExpiry
SetLeaseExpiry sets the lease expiry time.
pkg/nmlite/udhcpc/parser.go:49
↓ 1 callers
Method
SetMTU
(mtu int)
pkg/nmlite/link/netlink.go:121
↓ 1 callers
Method
SetNetworkConfig
(cfg *types.NetworkConfig)
internal/timesync/timesync.go:98
↓ 1 callers
Method
SetOnConfigChange
SetOnConfigChange sets the callback for configuration changes
pkg/nmlite/interface.go:393
↓ 1 callers
Method
SetOnDHCPLeaseChange
SetOnDHCPLeaseChange sets the callback for DHCP lease changes
pkg/nmlite/interface.go:398
↓ 1 callers
Method
SetOnInterfaceStateChange
SetOnInterfaceStateChange sets the callback for interface state changes
pkg/nmlite/manager.go:204
↓ 1 callers
Method
SetOnKeyboardStateChange
(f func(state KeyboardState))
internal/usbgadget/hid_keyboard.go:166
↓ 1 callers
Method
SetOnKeysDownChange
(f func(state KeysDownState))
internal/usbgadget/hid_keyboard.go:184
↓ 1 callers
Method
SetOnLeaseChange
(callback func(lease *DHCPLease))
internal/network/types/dhcp.go:17
↓ 1 callers
Method
SetOnResolvConfChange
SetOnResolvConfChange sets the callback for resolv.conf changes
pkg/nmlite/interface.go:403
↓ 1 callers
Method
SetOnStateChange
SetOnStateChange sets the callback for state changes
pkg/nmlite/interface.go:388
↓ 1 callers
Method
SetOptions
SetOptions sets the local names and listen options and restarts the mDNS server
internal/mdns/mdns.go:206
↓ 1 callers
Method
SetTerminalPaused
(v bool)
serial_console_helpers.go:279
↓ 1 callers
Method
Start
Start starts managing the interface
pkg/nmlite/interface.go:112
↓ 1 callers
Method
Start
Start starts the timer loop to check public IP addresses periodically
pkg/myip/ip.go:120
↓ 1 callers
Method
Start
()
internal/native/interface.go:5
← previous
next →
701–800 of 2,643, ranked by callers