Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RoganDawes/P4wnP1_aloa
/ functions
Functions
2,496 in github.com/RoganDawes/P4wnP1_aloa
⨍
Functions
2,496
◇
Types & classes
353
↓ 2 callers
Method
SetData
(data []byte)
mnetlink/message.go:59
↓ 2 callers
Method
SetDiscoverable
(val bool)
service/bluetooth/controller.go:175
↓ 2 callers
Method
SetEventHandler
(handler EventHandler)
hid/AsyncOtto.go:82
↓ 2 callers
Method
SetWorking
(working bool)
hid/AsyncOtto.go:118
↓ 2 callers
Method
StartHostapd
(timeout time.Duration)
service/wifi.go:70
↓ 2 callers
Method
StoreDeployedBluetoothSettings
(context.Context, *StringMessage)
proto/grpc.pb.go:3931
↓ 2 callers
Method
StoreDeployedUSBSettings
(context.Context, *StringMessage)
proto/grpc.pb.go:3943
↓ 2 callers
Method
StoreDeployedWifiSettings
(context.Context, *StringMessage)
proto/grpc.pb.go:3972
↓ 2 callers
Method
String
()
service/util/valueSequenceChecker.go:20
↓ 2 callers
Method
StringToPressKeyCombo
(comboStr string)
hid/keyboard.go:205
↓ 2 callers
Method
StringToPressKeySequence
(str string)
hid/keyboard.go:251
↓ 2 callers
Function
TriggerCheckFlags
(cmd *cobra.Command)
cli_client/cmd_trigger.go:23
↓ 2 callers
Method
UnmarshalBinary
(src []byte)
mgenetlink/message.go:31
↓ 2 callers
Method
UnmarshalBinary
(src []byte)
mnetlink/message.go:46
↓ 2 callers
Method
UnmarshalBinary
(data []byte)
mnetlink/attributes.go:25
↓ 2 callers
Method
UnregisterReceiver
(receiver *EventReceiver)
service/Event.go:90
↓ 2 callers
Method
UpdateStateFromIw
ToDo: Create netlink based implementation (not relying on 'iw'): low priority
service/wifi.go:845
↓ 2 callers
Method
WaitConnectResultOnce
(timeout time.Duration)
service/wifi.go:531
↓ 2 callers
Method
WaitResult
()
hid/AsyncOtto.go:57
↓ 2 callers
Method
WaitTimeout
(timeout time.Duration)
service/util/signal.go:76
↓ 2 callers
Method
WaitTriggerGroupReceive
TriggerAction for cli (trigger group send and wait for group receive)
proto/grpc.pb.go:3995
↓ 2 callers
Method
Write
* // struct to present an additional io.Writer, wrapping TeeLogger to ise its Print() method func (sl sublogger) Write(p []byte) (n int, err error) {
service/util/teelogger.go:32
↓ 2 callers
Method
WriteToFile
Accepts *os.File, in contrast to WriteTo() this allows keeping the file open
hid/keyboard.go:610
↓ 2 callers
Method
advance
()
service/util/valueSequenceChecker.go:104
↓ 2 callers
Function
clientCreateTempDirOfFile
(host string, port string, dir string, prefix string, dirOnlyNoFile bool)
cli_client/rpc_client.go:93
↓ 2 callers
Function
compareHwAddr
(a net.HardwareAddr, b net.HardwareAddr)
service/bluetooth/util.go:5
↓ 2 callers
Function
downLink
(t *testing.T, name string)
netlink/netlink_linux_test.go:43
↓ 2 callers
Method
emitEvent
(event Event)
hid/AsyncOtto.go:90
↓ 2 callers
Method
fromGo
(gs *pb.GadgetSettings)
web_client/jsDataHandling.go:211
↓ 2 callers
Method
fromGo
(src *pb.EthernetInterfaceSettings)
web_client/jsDataHandling.go:786
↓ 2 callers
Function
generateMouseReport
(absolute bool, buttons [3]bool, axis [2]int)
hid/mouse.go:178
↓ 2 callers
Function
generateSelectOptionsGPIONames
(vm *hvue.VM)
web_client/hvueComponentsTriggerActions.go:81
↓ 2 callers
Function
getUDCName
()
service/SubSysUSB.go:351
↓ 2 callers
Function
ifIoctBridge
(iface, master *net.Interface, op uintptr)
netlink/netlink_linux.go:1636
↓ 2 callers
Function
ipAssigned
(iface *net.Interface, ip net.IP)
netlink/netlink_linux_test.go:50
↓ 2 callers
Function
loadKeyboardLanguageMapFromFile
(filePath string)
hid/keyboard.go:435
↓ 2 callers
Function
networkLinkMacVlan
Add MAC VLAN network interface with masterDev as its upper device This is identical to running: ip link add name $name link $masterdev type macvlan mo
netlink/netlink_linux.go:962
↓ 2 callers
Function
networkMasterAction
(iface *net.Interface, rtattr *RtAttr)
netlink/netlink_linux.go:747
↓ 2 callers
Function
networkSetNsAction
(iface *net.Interface, rtattr *RtAttr)
netlink/netlink_linux.go:785
↓ 2 callers
Function
newIfAddrmsg
(family int)
netlink/netlink_linux.go:136
↓ 2 callers
Function
parseHIDRunScriptCmd
Decision on how to run scripts (terms "local"/"remote" from perspective of gRPC server): 1) `P4wnP1_cli HID run` (no host flag, no additional args) A
cli_client/cmd_hid.go:96
↓ 2 callers
Function
randMacAddr
()
netlink/netlink_linux.go:1670
↓ 2 callers
Method
retrieveJobFromOtto
(vm *otto.Otto)
hid/controller.go:216
↓ 2 callers
Function
retrieveTriggerActionTypes
(ta *pb.TriggerAction)
service/SubSysTriggerAction.go:69
↓ 2 callers
Function
round
mat.Round() doesn't exist before go 1.10
hid/mouse.go:21
↓ 2 callers
Method
runAPMode
ToDo: Output monitor for AP-ENABLED (same approach as for wpa_supplicant)
service/wifi.go:321
↓ 2 callers
Function
scaleAbs
(fVal float64)
hid/mouse.go:120
↓ 2 callers
Function
setInterfaceMac
(name string, mac string)
service/SubSysNetworkManager.go:308
↓ 2 callers
Method
update
(newStateConnected bool)
service/dwc2_connect_watcher.go:53
↓ 1 callers
Method
AddGroupMembership
(groupid int)
mnetlink/client.go:63
↓ 1 callers
Method
AddRange
(dhcpRange *jsDHCPServerRange)
web_client/jsDataHandling.go:918
↓ 1 callers
Method
AddStaticHost
(dhcpStaticHost *jsDHCPServerStaticHost)
web_client/jsDataHandling.go:954
↓ 1 callers
Function
AddToBridge
Add a slave to a bridge device. This is more backward-compatible than netlink.NetworkSetMaster and works on RHEL 6.
netlink/netlink_linux.go:1660
↓ 1 callers
Function
Alert
(in interface{})
web_client/common.go:15
↓ 1 callers
Method
Backup
ToDo: Backup and restore could be synchronized to avoid concurrent transactions
service/datastore/store.go:89
↓ 1 callers
Function
BluetoothControllerInformationFromRpc
(src *pb.BluetoothControllerInformation)
service/bluetooth/controller.go:577
↓ 1 callers
Function
BluetoothControllerSettingsFromRpc
(src *pb.BluetoothControllerSettings)
service/bluetooth/controller.go:611
↓ 1 callers
Function
BoolToInt
(b bool)
service/bluetooth.go:609
↓ 1 callers
Function
Bytes2Str
(b []byte)
mnetlink/common.go:30
↓ 1 callers
Function
BytesToMD5
(input []byte)
web_client/common.go:27
↓ 1 callers
Method
CancelAllHIDScriptJobs
(timeout time.Duration)
web_client/rpcClient.go:211
↓ 1 callers
Method
CancelHIDScriptJob
(timeout time.Duration, jobID uint32)
web_client/rpcClient.go:201
↓ 1 callers
Method
Changes
(other HIDLEDState)
hid/keyboard_led.go:58
↓ 1 callers
Method
Check
(val int32)
service/util/valueSequenceChecker.go:43
↓ 1 callers
Function
CheckBluezVersion
()
service/bluetooth.go:589
↓ 1 callers
Function
CheckLibComposite
depends on `lsmod` binary
service/SubSysUSB.go:312
↓ 1 callers
Method
Clear
()
service/datastore/store.go:75
↓ 1 callers
Method
Clear
()
web_client/jsDataHandling.go:494
↓ 1 callers
Method
ClearTriggerActions
(keepImmutable bool)
service/SubSysTriggerAction.go:761
↓ 1 callers
Function
ClientCreateTempFile
(host string, port string, dir string, prefix string)
cli_client/rpc_client.go:74
↓ 1 callers
Function
ClientDBBackup
(timeout time.Duration, host string, port string, name string)
cli_client/rpc_client.go:476
↓ 1 callers
Function
ClientDBList
(timeout time.Duration, host string, port string)
cli_client/rpc_client.go:514
↓ 1 callers
Function
ClientDBRestore
(timeout time.Duration, host string, port string, name string)
cli_client/rpc_client.go:495
↓ 1 callers
Function
ClientDeployGadgetSettings
(host string, port string, newGs *pb.GadgetSettings)
cli_client/rpc_client.go:234
↓ 1 callers
Function
ClientDeployTemplateType
(timeout time.Duration, host string, port string, ttype pb.ActionDeploySettingsTemplate_TemplateType, name str
cli_client/rpc_client.go:442
↓ 1 callers
Function
ClientGetLED
(host string, port string)
cli_client/rpc_client.go:183
↓ 1 callers
Function
ClientHIDCancelScriptJob
(host string, port string, jobID uint32)
cli_client/rpc_client.go:359
↓ 1 callers
Function
ClientHIDRunScript
(host string, port string, ctx context.Context, scriptPath string, timeoutSeconds uint32)
cli_client/rpc_client.go:323
↓ 1 callers
Function
ClientHIDRunScriptJob
(host string, port string, scriptPath string, timeoutSeconds uint32)
cli_client/rpc_client.go:340
↓ 1 callers
Function
ClientListTemplateType
(timeout time.Duration, host string, port string, ttype pb.ActionDeploySettingsTemplate_TemplateType)
cli_client/rpc_client.go:396
↓ 1 callers
Function
ClientMountUMSImage
(host string, port string, file string, cdrom bool)
cli_client/rpc_client.go:78
↓ 1 callers
Function
ClientRegisterEvent
(host string, port string, evtType int64)
cli_client/rpc_client.go:112
↓ 1 callers
Function
ClientSetLED
(host string, port string, ls pb.LEDSettings)
cli_client/rpc_client.go:267
↓ 1 callers
Function
ClientTriggerGroupSend
(host string, port string, groupname string, value int32)
cli_client/rpc_client.go:54
↓ 1 callers
Function
ClientTriggerGroupWait
(host string, port string, groupname string, value int32)
cli_client/rpc_client.go:41
↓ 1 callers
Function
ClientUploadFile
(host string, port string, src io.Reader, folder pb.AccessibleFolder, filename string, forceOverwrite bool)
cli_client/rpc_client.go:132
↓ 1 callers
Method
ConnectNetwork
(deviceMac string, uuid toolz.NetworkServerUUID)
service/bluetooth.go:377
↓ 1 callers
Method
ConnectionTest
(timeout time.Duration)
web_client/rpcClient.go:713
↓ 1 callers
Function
ConstructEventHID
(hidEvent hid.Event)
service/Event.go:312
↓ 1 callers
Function
ConstructEventTriggerDHCPLease
(iface, mac, ip string, hostname string)
service/Event.go:223
↓ 1 callers
Method
CreateDhcpSettingsForInterface
()
web_client/jsDataHandling.go:819
↓ 1 callers
Method
DBBackup
DB backup&restore
proto/grpc.pb.go:3127
↓ 1 callers
Method
DBRestore
(ctx context.Context, in *StringMessage, opts ...grpc.CallOption)
proto/grpc.pb.go:3128
↓ 1 callers
Function
DHCPCreateConfigFile
(s *pb.DHCPServerSettings, filename string)
service/dhcp.go:194
↓ 1 callers
Function
DHCPCreateConfigFileString
(s *pb.DHCPServerSettings)
service/dhcp.go:202
↓ 1 callers
Method
Decode
(source []byte, destination interface{})
service/datastore/serializer.go:15
↓ 1 callers
Method
DeleteEntry
(id int64)
web_client/jsDataHandling.go:499
↓ 1 callers
Method
DeleteMulti
(keys []string)
service/datastore/store.go:318
↓ 1 callers
Method
DeleteStoredTriggerActionsSet
(timeout time.Duration, name *pb.StringMessage)
web_client/rpcClient.go:284
↓ 1 callers
Method
DeployBluetoothAgentSettings
(ctx context.Context, src *pb.BluetoothAgentSettings)
service/rpc_server.go:419
← previous
next →
301–400 of 2,496, ranked by callers