MCPcopy Create free account

hub / github.com/danderson/netboot / functions

Functions307 in github.com/danderson/netboot

↓ 73 callersFunctionfatalf
(msg string, args ...interface{})
pixiecore/cli/cli.go:62
↓ 44 callersMethodAdd
Add adds an option to Options
dhcp6/options.go:158
↓ 41 callersMethodString
()
pixiecore/logging.go:28
↓ 37 callersMethodWrite
(b []byte)
tftp/interop_test.go:136
↓ 26 callersMethodClose
Close closes the DHCP socket. Any blocked Read or Write operations will be unblocked and return errors.
dhcp4/conn.go:134
↓ 24 callersMethodUint16
Uint16 returns the value of option n as a uint16.
dhcp4/options.go:212
↓ 24 callersMethodlog
(subsystem, format string, args ...interface{})
pixiecore/logging.go:90
↓ 22 callersFunctionMakeOption
MakeOption creates an Option with given ID and value
dhcp6/options.go:68
↓ 20 callersMethoddebug
(subsystem, format string, args ...interface{})
pixiecore/logging.go:97
↓ 18 callersMethodBytes
Bytes returns the value of option n as a byte slice.
dhcp4/options.go:182
↓ 16 callersMethodClientID
ClientID returns the value in the Client ID Option or nil if the option doesn't exist
dhcp6/options.go:296
↓ 16 callersMethodServe
Serve listens for machines attempting to boot, and uses Booter to help them.
pixiecore/pixiecore.go:202
↓ 15 callersMethodIP
IP returns the value of option n as an IPv4 address.
dhcp4/options.go:264
↓ 15 callersFunctionMakePacketBuilder
MakePacketBuilder creates a new PacketBuilder and initializes it with preferred and valid lifetimes
dhcp6/packet_builder.go:16
↓ 13 callersMethodString
String returns the value of option n as a string.
dhcp4/options.go:191
↓ 13 callersMethodUint32
Uint32 returns the value of option n as a uint32.
dhcp4/options.go:224
↓ 9 callersMethodServerID
ServerID returns the value in the Server ID Option or nil if the option doesn't exist
dhcp6/options.go:305
↓ 9 callersMethodmachineEvent
(mac net.HardwareAddr, state machineState, format string, args ...interface{})
pixiecore/logging.go:74
↓ 9 callersFunctionserverConfigFlags
(cmd *cobra.Command)
pixiecore/cli/cli.go:72
↓ 8 callersFunctionNewRandomAddressPool
NewRandomAddressPool creates a new RandomAddressPool using pool start IP address, pool size, and valid lifetime of interface associations
dhcp6/pool/random_address_pool.go:60
↓ 8 callersFunctionUnmarshal
Unmarshal parses a DHCP message and returns a Packet.
dhcp4/packet.go:250
↓ 8 callersFunctionfatalf
(msg string, args ...interface{})
scripts/prune_old_versions/main.go:40
↓ 8 callersMethodlog
(subsystem, format string, args ...interface{})
pixiecore/pixicorev6.go:75
↓ 8 callersFunctionstaticConfigFlags
(cmd *cobra.Command)
pixiecore/cli/cli.go:67
↓ 7 callersMethodMarshal
Marshal returns the wire encoding of p.
dhcp4/packet.go:140
↓ 7 callersMethodReserveAddresses
ReserveAddresses creates new or retrieves active associations for interfaces in interfaceIDs list.
dhcp6/pool/random_address_pool.go:74
↓ 7 callersFunctionstaticFromFlags
(cmd *cobra.Command, kernel string, initrds []string, extraCmdline string)
pixiecore/cli/cli.go:98
↓ 6 callersMethodClientArchType
ClientArchType returns the value in the Client Architecture Type Option, or 0 if the option doesn't exist
dhcp6/options.go:328
↓ 6 callersMethodErr
Err returns the first non-EOF error encountered by the Reader.
pcap/reader.go:120
↓ 6 callersMethodcalculateIAIDHash
(clientID, interfaceID []byte)
dhcp6/pool/random_address_pool.go:154
↓ 6 callersMethodextractLLAddressOrID
(optClientID []byte)
dhcp6/packet_builder.go:149
↓ 6 callersFunctionfatalf
(msg string, args ...interface{})
scripts/trigger_quay_build/main.go:32
↓ 5 callersMethodBootFileURL
BootFileURL returns the value in the Boot File URL Option, or nil if the option doesn't exist
dhcp6/options.go:337
↓ 5 callersMethodBootSpec
The given MAC address wants to know what it should boot. What should Pixiecore make it boot? Returning an error or a nil BootSpec will make Pixiecore
pixiecore/pixiecore.go:125
↓ 5 callersMethodByte
Byte returns the value of option n as a byte.
dhcp4/options.go:200
↓ 5 callersMethodClose
()
tftp/interop_test.go:157
↓ 5 callersMethodIaNaIDs
IaNaIDs returns a list of interface IDs in all Identity Association for Non-Temporary Addresses Options, or an empty list if none exist
dhcp6/options.go:315
↓ 5 callersFunctionMakeOptionRequestOptions
(options []uint16)
dhcp6/packet_test.go:94
↓ 5 callersMethodRead
(b []byte)
tftp/interop_test.go:146
↓ 5 callersMethodSetReadDeadline
(t time.Time)
dhcp4/conn.go:62
↓ 5 callersMethodSize
()
dhcp6/pool/random_address_pool.go:35
↓ 5 callersMethoddebug
(subsystem, format string, args ...interface{})
pixiecore/pixicorev6.go:82
↓ 5 callersMethodhandleIpxe
(w http.ResponseWriter, r *http.Request)
pixiecore/http.go:47
↓ 5 callersMethodmakeMsgAdvertise
(transactionID [3]byte, serverDUID, clientID []byte, clientArchType uint16, associations []*IdentityAssociati
dhcp6/packet_builder.go:58
↓ 5 callersMethodmakeMsgReply
(transactionID [3]byte, serverDUID, clientID []byte, clientArchType uint16, associations []*IdentityAssociati
dhcp6/packet_builder.go:81
↓ 5 callersFunctionshouldDiscardRequest
(p *Packet, serverDuid []byte)
dhcp6/packet.go:91
↓ 5 callersFunctiontftpStr
tftpStr extracts a null-terminated string from the given bytes, and returns any remaining bytes. String content is checked to be a "read-useful" subs
tftp/tftp.go:386
↓ 4 callersMethodIPs
IPs returns the value of option n as a list of IPv4 addresses.
dhcp4/options.go:248
↓ 4 callersFunctionMakeDNSServersOption
MakeDNSServersOption creates a Recursive DNS servers Option with the specified list of IP addresses
dhcp6/options.go:198
↓ 4 callersFunctionMakeIaAddrOption
MakeIaAddrOption creates an IA Address Option using IP address, preferred and valid lifetimes
dhcp6/options.go:181
↓ 4 callersFunctionMakeIaNaOption
MakeIaNaOption creates a Identity Association for Non-temporary Addresses Option with specified interface ID, t1 and t2 times, and an interface-specif
dhcp6/options.go:169
↓ 4 callersMethodSend
(b []byte, addr *net.UDPAddr, ifidx int)
dhcp4/conn.go:61
↓ 4 callersFunctionStaticBooter
StaticBooter boots all machines with the same Spec. IDs in spec should be either local file paths, or HTTP/HTTPS URLs.
pixiecore/booters.go:36
↓ 4 callersFunctionfatalf
(msg string, args ...interface{})
scripts/trigger_docker_build/main.go:25
↓ 4 callersFunctiongetURL
getURL returns the URL contained within id. id must have been created by signURL, with key.
pixiecore/urlsign.go:50
↓ 4 callersMethodmakeMsgInformationRequestReply
(transactionID [3]byte, serverDUID, clientID []byte, clientArchType uint16, bootFileURL []byte, dnsServers []
dhcp6/packet_builder.go:105
↓ 4 callersMethodmarshalLimited
marshalLimited serializes o into w. If nBytes > 0, as many options as possible are packed into that many bytes, inserting padding as needed, and the r
dhcp4/options.go:143
↓ 4 callersFunctionmustFile
(path string)
pixiecore/cli/cli.go:89
↓ 4 callersFunctionmustWrite
(dir, path, contents string)
pixiecore/booters_test.go:40
↓ 4 callersFunctionshouldDiscardSolicit
(p *Packet)
dhcp6/packet.go:77
↓ 4 callersFunctionsignURL
signURL constructs an ID from u, signed with key.
pixiecore/urlsign.go:28
↓ 4 callersFunctiontftpError
tftpError constructs an ERROR packet. The error is coerced to the sensible subset of "netascii", namely the printable ASCII characters plus newline.
tftp/tftp.go:354
↓ 4 callersFunctionwriteIP
(w io.Writer, ip net.IP)
dhcp4/packet.go:240
↓ 3 callersFunctionAPIBooter
APIBooter gets a BootSpec from a remote server over HTTP. The API is described in README.api.md
pixiecore/booters.go:129
↓ 3 callersMethodClose
()
dhcp4/conn_linux.go:89
↓ 3 callersFunctionConstantHandler
ConstantHandler returns a Handler that serves bs for all requested paths.
tftp/handlers.go:55
↓ 3 callersMethodGetBootURL
(id []byte, clientArchType uint16)
dhcp6/boot_configuration.go:7
↓ 3 callersMethodGetRecursiveDNS
()
dhcp6/boot_configuration.go:9
↓ 3 callersMethodHasBootFileURLOption
HasBootFileURLOption returns true if Options contains Boot File URL Option
dhcp6/options.go:259
↓ 3 callersMethodHasServerID
HasServerID returns true if Options contains Server ID Option
dhcp6/options.go:272
↓ 3 callersMethodIPMask
IPMask returns the value of option n as a net.IPMask.
dhcp4/options.go:276
↓ 3 callersFunctionMakeStatusOption
MakeStatusOption creates a Status Option with given status code and message
dhcp6/options.go:190
↓ 3 callersFunctionNewReader
NewReader returns a new Reader that decodes pcap data from r.
pcap/reader.go:57
↓ 3 callersMethodNext
Next advances the Reader to the next packet in the input, which will then be available through the Packet method. It returns false when the Reader sto
pcap/reader.go:133
↓ 3 callersMethodPacket
Packet returns the packet read by the last call to Next.
pcap/reader.go:115
↓ 3 callersMethodReadBootFile
Get the bytes corresponding to an ID given in Spec. Additionally returns the total number of bytes in the ReadCloser, or -1 if the size is unknown. B
pixiecore/pixiecore.go:132
↓ 3 callersMethodRecvDHCP
RecvDHCP reads a Packet from the connection. It returns the packet and the interface it was received on.
dhcp4/conn.go:140
↓ 3 callersMethodSendDHCP
SendDHCP sends pkt. The precise transmission mechanism depends on pkt.txType(). intf should be the net.Interface returned by RecvDHCP if responding to
dhcp4/conn.go:169
↓ 3 callersMethodSetWriteDeadline
(t time.Time)
dhcp4/conn.go:63
↓ 3 callersMethodUnmarshal
Unmarshal parses DHCP options into o.
dhcp4/options.go:76
↓ 3 callersFunctionUnmarshalOption
UnmarshalOption de-serializes an Option
dhcp6/options.go:90
↓ 3 callersMethodcalculateAssociationExpiration
(now time.Time)
dhcp6/pool/random_address_pool.go:150
↓ 3 callersMethodcalculateT1
()
dhcp6/packet_builder.go:141
↓ 3 callersMethodcalculateT2
()
dhcp6/packet_builder.go:145
↓ 3 callersFunctionexpandCmdline
(tpl string, funcs template.FuncMap)
pixiecore/pixiecore.go:98
↓ 3 callersMethodinfoLog
(msg string, args ...interface{})
tftp/tftp.go:137
↓ 3 callersMethodmakeURLAbsolute
(urlStr string)
pixiecore/booters.go:311
↓ 3 callersFunctionmustMAC
(s string)
pixiecore/booters_test.go:32
↓ 3 callersMethodserveFile
(path string)
pixiecore/booters.go:74
↓ 3 callersFunctionserverFromFlags
(cmd *cobra.Command)
pixiecore/cli/cli.go:132
↓ 2 callersFunctionCLI
CLI runs the Pixiecore commandline. This function always exits back to the OS when finished.
pixiecore/cli/cli.go:37
↓ 2 callersMethodClose
Close closes Conn
dhcp6/conn.go:51
↓ 2 callersMethodCopy
Copy returns a shallow copy of o.
dhcp4/options.go:132
↓ 2 callersMethodHasClientID
HasClientID returns true if Options contains Client ID Option
dhcp6/options.go:266
↓ 2 callersMethodHumanReadable
HumanReadable presents DHCPv6 options in a human-readable form
dhcp6/options.go:111
↓ 2 callersMethodInt32
Int32 returns the value of option n as an int32.
dhcp4/options.go:236
↓ 2 callersMethodMarshal
Marshal returns the wire encoding of o.
dhcp4/options.go:118
↓ 2 callersMethodMarshal
Marshal serializes the Option
dhcp6/options.go:224
↓ 2 callersFunctionNewServerV6
NewServerV6 returns a new ServerV6.
pixiecore/pixicorev6.go:29
↓ 2 callersMethodPeek
()
dhcp6/pool/random_address_pool.go:39
next →1–100 of 307, ranked by callers