Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danderson/netboot
/ functions
Functions
307 in github.com/danderson/netboot
⨍
Functions
307
◇
Types & classes
48
↓ 2 callers
Method
ReserveAddresses
(clientID []byte, interfaceIds [][]byte)
dhcp6/address_pool.go:18
↓ 2 callers
Method
Serve
Serve accepts requests on listener l, creating a new transfer goroutine for each. The transfer goroutines use s.Handler to get bytes, and transfers th
tftp/tftp.go:112
↓ 2 callers
Function
UnmarshalOptions
UnmarshalOptions unmarshals individual Options and returns them in a new Options data structure
dhcp6/options.go:76
↓ 2 callers
Function
calculateIAIDHash
(interfaceID []byte)
dhcp6/packet_builder.go:178
↓ 2 callers
Function
extractInfo
(path string)
pixiecore/tftp.go:43
↓ 2 callers
Method
handleFile
(w http.ResponseWriter, r *http.Request)
pixiecore/http.go:121
↓ 2 callers
Function
interfaceIP
(intf *net.Interface)
pixiecore/dhcp.go:247
↓ 2 callers
Method
isBootDHCP
(pkt *dhcp4.Packet)
pixiecore/dhcp.go:85
↓ 2 callers
Method
makeMsgAdvertiseWithNoAddrsAvailable
(transactionID [3]byte, serverDUID, clientID []byte, err error)
dhcp6/packet_builder.go:133
↓ 2 callers
Method
makeMsgReleaseReply
(transactionID [3]byte, serverDUID, clientID []byte)
dhcp6/packet_builder.go:121
↓ 2 callers
Function
mustRead
(f io.ReadCloser, sz int64, err error)
pixiecore/booters_test.go:46
↓ 2 callers
Function
newConn
(addr string, n func(int) (conn, error))
dhcp4/conn.go:79
↓ 2 callers
Function
nullStr
(bs []byte)
dhcp4/packet.go:341
↓ 2 callers
Method
order
()
pcap/writer.go:32
↓ 2 callers
Method
send
(conn net.Conn, b []byte, seq uint16)
tftp/tftp.go:242
↓ 2 callers
Function
testConn
(t *testing.T, impl conn, addr string)
dhcp4/conn_test.go:24
↓ 2 callers
Function
udpFromPcap
(fname string)
dhcp4/packet_test.go:28
↓ 1 callers
Method
BuildResponse
BuildResponse generates a response packet for a packet received from a client
dhcp6/packet_builder.go:21
↓ 1 callers
Method
DebugString
DebugString prints the contents of a DHCP packet for human consumption.
dhcp4/packet.go:107
↓ 1 callers
Method
GetPreference
()
dhcp6/boot_configuration.go:8
↓ 1 callers
Method
HasIaNa
HasIaNa returns true oif Options contains Identity Association for Non-Temporary Addresses Option
dhcp6/options.go:278
↓ 1 callers
Method
HasIaTa
HasIaTa returns true if Options contains Identity Association for Temporary Addresses Option
dhcp6/options.go:284
↓ 1 callers
Function
InterfaceByAddress
InterfaceByAddress finds the interface bound to an ip address, or returns an error if none were found
dhcp6/conn.go:56
↓ 1 callers
Method
ListenAndServe
ListenAndServe listens on the UDP network address addr and then calls Serve to handle TFTP requests. If addr is blank, ":69" is used.
tftp/tftp.go:96
↓ 1 callers
Function
MakeAPIBootConfiguration
MakeAPIBootConfiguration creates a new APIBootConfiguration initialized with provided values
pixiecore/boot_configuration.go:65
↓ 1 callers
Function
MakeStaticBootConfiguration
MakeStaticBootConfiguration creates a new StaticBootConfiguration with provided values
pixiecore/boot_configuration.go:25
↓ 1 callers
Method
Marshal
Marshal serializes the Packet
dhcp6/packet.go:47
↓ 1 callers
Function
NewConn
NewConn creates a new Conn bound to specified address and port
dhcp6/conn.go:19
↓ 1 callers
Method
Push
(v interface{})
dhcp6/pool/random_address_pool.go:25
↓ 1 callers
Method
Put
Put serializes pkt to w.Writer.
pcap/writer.go:63
↓ 1 callers
Method
Recv
([]byte)
dhcp4/conn.go:60
↓ 1 callers
Method
ReleaseAddresses
(clientID []byte, interfaceIds [][]byte)
dhcp6/address_pool.go:19
↓ 1 callers
Method
ReleaseAddresses
ReleaseAddresses returns IP addresses associated with ClientID and interfaceIDs back into the address pool
dhcp6/pool/random_address_pool.go:119
↓ 1 callers
Method
SetReadDeadline
SetReadDeadline sets the deadline for future Read calls. If the deadline is reached, Read will fail with a timeout (see net.Error) instead of blockin
dhcp4/conn.go:209
↓ 1 callers
Method
Shift
()
dhcp6/pool/random_address_pool.go:29
↓ 1 callers
Method
ShouldDiscard
ShouldDiscard returns true if the Packet fails validation
dhcp6/packet.go:62
↓ 1 callers
Method
SourceHardwareAddress
SourceHardwareAddress returns hardware address of the interface used by Conn
dhcp6/conn.go:124
↓ 1 callers
Method
String
()
pixiecore/pixiecore.go:56
↓ 1 callers
Method
String
()
dhcp4/packet.go:44
↓ 1 callers
Function
Unmarshal
Unmarshal creates a Packet out of its serialized representation
dhcp6/packet.go:36
↓ 1 callers
Method
UnmarshalOptionRequestOption
UnmarshalOptionRequestOption de-serializes Option Request Option
dhcp6/options.go:243
↓ 1 callers
Function
addrToIP
(a net.Addr)
dhcp6/conn.go:75
↓ 1 callers
Function
archRecipe
(parent *cobra.Command)
pixiecore/cli/quickcmd.go:314
↓ 1 callers
Function
centosRecipe
(parent *cobra.Command)
pixiecore/cli/quickcmd.go:203
↓ 1 callers
Method
constructCmdline
(m map[string]interface{})
pixiecore/booters.go:326
↓ 1 callers
Function
coreosRecipe
(parent *cobra.Command)
pixiecore/cli/quickcmd.go:254
↓ 1 callers
Function
debianRecipe
(parent *cobra.Command)
pixiecore/cli/quickcmd.go:34
↓ 1 callers
Function
deletePackages
(urls []string)
scripts/prune_old_versions/main.go:133
↓ 1 callers
Method
expireIdentityAssociations
expireIdentityAssociations releases IP addresses in identity associations that reached the end of valid lifetime back into the address pool. Note it s
dhcp6/pool/random_address_pool.go:135
↓ 1 callers
Function
fedoraRecipe
(parent *cobra.Command)
pixiecore/cli/quickcmd.go:150
↓ 1 callers
Method
getAPIResponse
(hw net.HardwareAddr)
pixiecore/booters.go:150
↓ 1 callers
Method
header
()
pcap/writer.go:39
↓ 1 callers
Method
humanReadableIaNa
(opt Option)
dhcp6/options.go:126
↓ 1 callers
Function
iasWithoutAddesses
(availableAssociations []*IdentityAssociation, allIAs [][]byte)
dhcp6/packet_builder.go:161
↓ 1 callers
Function
ipToIfindex
(ip net.IP)
dhcp4/conn.go:111
↓ 1 callers
Function
ipxeScript
(mach Machine, spec *Spec, serverHost string)
pixiecore/http.go:183
↓ 1 callers
Function
lossyDialer
(lossPercent int, maxDrops int)
tftp/interop_test.go:118
↓ 1 callers
Method
makeURLAbsolute
(urlStr string)
pixiecore/boot_configuration.go:104
↓ 1 callers
Function
mkListener
(t *testing.T)
tftp/interop_test.go:174
↓ 1 callers
Function
netbootRecipe
(parent *cobra.Command)
pixiecore/cli/quickcmd.go:298
↓ 1 callers
Function
newFifo
()
dhcp6/pool/random_address_pool.go:21
↓ 1 callers
Function
newLinuxConn
(port int)
dhcp4/conn_linux.go:43
↓ 1 callers
Function
newPortableConn
(port int)
dhcp4/conn.go:225
↓ 1 callers
Method
offerDHCP
(pkt *dhcp4.Packet, mach Machine, serverIP net.IP, fwtype Firmware)
pixiecore/dhcp.go:164
↓ 1 callers
Method
offerPXE
(pkt *dhcp4.Packet, serverIP net.IP, fwtype Firmware)
pixiecore/pxe.go:129
↓ 1 callers
Function
packageVersions
(user, repo, typ, distro, version, pkgname, arch string)
scripts/prune_old_versions/main.go:102
↓ 1 callers
Function
parseRRQ
(bs []byte)
tftp/tftp.go:294
↓ 1 callers
Method
serveDHCP
(conn *dhcp6.Conn)
pixiecore/dhcpv6.go:8
↓ 1 callers
Method
serveDHCP
(conn *dhcp4.Conn)
pixiecore/dhcp.go:25
↓ 1 callers
Function
serveHTTP
(l net.Listener, handlers ...func(*http.ServeMux))
pixiecore/http.go:30
↓ 1 callers
Method
servePXE
TODO: this may actually be the BINL protocol, a Microsoft-proprietary fork of PXE that is more universally supported in UEFI than PXE itself. Need to
pixiecore/pxe.go:32
↓ 1 callers
Method
serveTFTP
(l net.PacketConn)
pixiecore/tftp.go:30
↓ 1 callers
Function
serverv6APIConfigFlags
(cmd *cobra.Command)
pixiecore/cli/ipv6apicmd.go:87
↓ 1 callers
Function
serverv6ConfigFlags
(cmd *cobra.Command)
pixiecore/cli/bootipv6cmd.go:90
↓ 1 callers
Method
setDUID
(addr net.HardwareAddr)
pixiecore/pixicorev6.go:89
↓ 1 callers
Function
shouldDiscardInformationRequest
(p *Packet, serverDuid []byte)
dhcp6/packet.go:108
↓ 1 callers
Function
sprintPackets
(pkts []*Packet)
pcap/reader_test.go:27
↓ 1 callers
Method
transfer
(addr net.Addr, req *rrq)
tftp/tftp.go:157
↓ 1 callers
Method
transferAndLog
(addr net.Addr, req *rrq)
tftp/tftp.go:149
↓ 1 callers
Method
transferLog
(addr net.Addr, path string, err error)
tftp/tftp.go:143
↓ 1 callers
Method
txType
decides how to send Packet on the wire, based on its field values. This implements the transmission decision process in section 4.1 of RFC 2131.
dhcp4/packet.go:89
↓ 1 callers
Function
ubuntuRecipe
(parent *cobra.Command)
pixiecore/cli/quickcmd.go:90
↓ 1 callers
Function
v1compatCLI
()
pixiecore/cli/v1compat.go:28
↓ 1 callers
Method
validateDHCP
(pkt *dhcp4.Packet)
pixiecore/dhcp.go:97
↓ 1 callers
Method
validatePXE
(pkt *dhcp4.Packet)
pixiecore/pxe.go:94
Method
BootSpec
(m Machine)
pixiecore/booters.go:70
Method
BootSpec
(m Machine)
pixiecore/booters.go:164
Method
BootSpec
(m Machine)
pixiecore/http_test.go:30
Method
BootSpec
(m Machine)
pixiecore/http_test.go:155
Method
Close
()
dhcp4/conn.go:238
Function
FilesystemHandler
FilesystemHandler returns a Handler that serves files in root.
tftp/handlers.go:28
Method
GetBootURL
GetBootURL returns Boot File URL, see RFC 5970
pixiecore/boot_configuration.go:37
Method
GetBootURL
GetBootURL returns Boot File URL, see RFC 5970
pixiecore/boot_configuration.go:85
Method
GetPreference
GetPreference returns server's Preference, see RFC 3315
pixiecore/boot_configuration.go:45
Method
GetPreference
GetPreference returns server's Preference, see RFC 3315
pixiecore/boot_configuration.go:120
Method
GetRecursiveDNS
GetRecursiveDNS returns list of addresses of recursive DNS servers, see RFC 3646
pixiecore/boot_configuration.go:50
Method
GetRecursiveDNS
GetRecursiveDNS returns list of addresses of recursive DNS servers, see RFC 3646
pixiecore/boot_configuration.go:125
Method
HasClientArchType
HasClientArchType returns true if Options contains Client Architecture Type Option
dhcp6/options.go:290
Method
Len
()
scripts/prune_old_versions/main.go:98
Method
Less
(i, j int)
scripts/prune_old_versions/main.go:99
← previous
next →
101–200 of 307, ranked by callers