MCPcopy Create free account

hub / github.com/danderson/netboot / functions

Functions307 in github.com/danderson/netboot

↓ 2 callersMethodReserveAddresses
(clientID []byte, interfaceIds [][]byte)
dhcp6/address_pool.go:18
↓ 2 callersMethodServe
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 callersFunctionUnmarshalOptions
UnmarshalOptions unmarshals individual Options and returns them in a new Options data structure
dhcp6/options.go:76
↓ 2 callersFunctioncalculateIAIDHash
(interfaceID []byte)
dhcp6/packet_builder.go:178
↓ 2 callersFunctionextractInfo
(path string)
pixiecore/tftp.go:43
↓ 2 callersMethodhandleFile
(w http.ResponseWriter, r *http.Request)
pixiecore/http.go:121
↓ 2 callersFunctioninterfaceIP
(intf *net.Interface)
pixiecore/dhcp.go:247
↓ 2 callersMethodisBootDHCP
(pkt *dhcp4.Packet)
pixiecore/dhcp.go:85
↓ 2 callersMethodmakeMsgAdvertiseWithNoAddrsAvailable
(transactionID [3]byte, serverDUID, clientID []byte, err error)
dhcp6/packet_builder.go:133
↓ 2 callersMethodmakeMsgReleaseReply
(transactionID [3]byte, serverDUID, clientID []byte)
dhcp6/packet_builder.go:121
↓ 2 callersFunctionmustRead
(f io.ReadCloser, sz int64, err error)
pixiecore/booters_test.go:46
↓ 2 callersFunctionnewConn
(addr string, n func(int) (conn, error))
dhcp4/conn.go:79
↓ 2 callersFunctionnullStr
(bs []byte)
dhcp4/packet.go:341
↓ 2 callersMethodorder
()
pcap/writer.go:32
↓ 2 callersMethodsend
(conn net.Conn, b []byte, seq uint16)
tftp/tftp.go:242
↓ 2 callersFunctiontestConn
(t *testing.T, impl conn, addr string)
dhcp4/conn_test.go:24
↓ 2 callersFunctionudpFromPcap
(fname string)
dhcp4/packet_test.go:28
↓ 1 callersMethodBuildResponse
BuildResponse generates a response packet for a packet received from a client
dhcp6/packet_builder.go:21
↓ 1 callersMethodDebugString
DebugString prints the contents of a DHCP packet for human consumption.
dhcp4/packet.go:107
↓ 1 callersMethodGetPreference
()
dhcp6/boot_configuration.go:8
↓ 1 callersMethodHasIaNa
HasIaNa returns true oif Options contains Identity Association for Non-Temporary Addresses Option
dhcp6/options.go:278
↓ 1 callersMethodHasIaTa
HasIaTa returns true if Options contains Identity Association for Temporary Addresses Option
dhcp6/options.go:284
↓ 1 callersFunctionInterfaceByAddress
InterfaceByAddress finds the interface bound to an ip address, or returns an error if none were found
dhcp6/conn.go:56
↓ 1 callersMethodListenAndServe
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 callersFunctionMakeAPIBootConfiguration
MakeAPIBootConfiguration creates a new APIBootConfiguration initialized with provided values
pixiecore/boot_configuration.go:65
↓ 1 callersFunctionMakeStaticBootConfiguration
MakeStaticBootConfiguration creates a new StaticBootConfiguration with provided values
pixiecore/boot_configuration.go:25
↓ 1 callersMethodMarshal
Marshal serializes the Packet
dhcp6/packet.go:47
↓ 1 callersFunctionNewConn
NewConn creates a new Conn bound to specified address and port
dhcp6/conn.go:19
↓ 1 callersMethodPush
(v interface{})
dhcp6/pool/random_address_pool.go:25
↓ 1 callersMethodPut
Put serializes pkt to w.Writer.
pcap/writer.go:63
↓ 1 callersMethodRecv
([]byte)
dhcp4/conn.go:60
↓ 1 callersMethodReleaseAddresses
(clientID []byte, interfaceIds [][]byte)
dhcp6/address_pool.go:19
↓ 1 callersMethodReleaseAddresses
ReleaseAddresses returns IP addresses associated with ClientID and interfaceIDs back into the address pool
dhcp6/pool/random_address_pool.go:119
↓ 1 callersMethodSetReadDeadline
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 callersMethodShift
()
dhcp6/pool/random_address_pool.go:29
↓ 1 callersMethodShouldDiscard
ShouldDiscard returns true if the Packet fails validation
dhcp6/packet.go:62
↓ 1 callersMethodSourceHardwareAddress
SourceHardwareAddress returns hardware address of the interface used by Conn
dhcp6/conn.go:124
↓ 1 callersMethodString
()
pixiecore/pixiecore.go:56
↓ 1 callersMethodString
()
dhcp4/packet.go:44
↓ 1 callersFunctionUnmarshal
Unmarshal creates a Packet out of its serialized representation
dhcp6/packet.go:36
↓ 1 callersMethodUnmarshalOptionRequestOption
UnmarshalOptionRequestOption de-serializes Option Request Option
dhcp6/options.go:243
↓ 1 callersFunctionaddrToIP
(a net.Addr)
dhcp6/conn.go:75
↓ 1 callersFunctionarchRecipe
(parent *cobra.Command)
pixiecore/cli/quickcmd.go:314
↓ 1 callersFunctioncentosRecipe
(parent *cobra.Command)
pixiecore/cli/quickcmd.go:203
↓ 1 callersMethodconstructCmdline
(m map[string]interface{})
pixiecore/booters.go:326
↓ 1 callersFunctioncoreosRecipe
(parent *cobra.Command)
pixiecore/cli/quickcmd.go:254
↓ 1 callersFunctiondebianRecipe
(parent *cobra.Command)
pixiecore/cli/quickcmd.go:34
↓ 1 callersFunctiondeletePackages
(urls []string)
scripts/prune_old_versions/main.go:133
↓ 1 callersMethodexpireIdentityAssociations
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 callersFunctionfedoraRecipe
(parent *cobra.Command)
pixiecore/cli/quickcmd.go:150
↓ 1 callersMethodgetAPIResponse
(hw net.HardwareAddr)
pixiecore/booters.go:150
↓ 1 callersMethodheader
()
pcap/writer.go:39
↓ 1 callersMethodhumanReadableIaNa
(opt Option)
dhcp6/options.go:126
↓ 1 callersFunctioniasWithoutAddesses
(availableAssociations []*IdentityAssociation, allIAs [][]byte)
dhcp6/packet_builder.go:161
↓ 1 callersFunctionipToIfindex
(ip net.IP)
dhcp4/conn.go:111
↓ 1 callersFunctionipxeScript
(mach Machine, spec *Spec, serverHost string)
pixiecore/http.go:183
↓ 1 callersFunctionlossyDialer
(lossPercent int, maxDrops int)
tftp/interop_test.go:118
↓ 1 callersMethodmakeURLAbsolute
(urlStr string)
pixiecore/boot_configuration.go:104
↓ 1 callersFunctionmkListener
(t *testing.T)
tftp/interop_test.go:174
↓ 1 callersFunctionnetbootRecipe
(parent *cobra.Command)
pixiecore/cli/quickcmd.go:298
↓ 1 callersFunctionnewFifo
()
dhcp6/pool/random_address_pool.go:21
↓ 1 callersFunctionnewLinuxConn
(port int)
dhcp4/conn_linux.go:43
↓ 1 callersFunctionnewPortableConn
(port int)
dhcp4/conn.go:225
↓ 1 callersMethodofferDHCP
(pkt *dhcp4.Packet, mach Machine, serverIP net.IP, fwtype Firmware)
pixiecore/dhcp.go:164
↓ 1 callersMethodofferPXE
(pkt *dhcp4.Packet, serverIP net.IP, fwtype Firmware)
pixiecore/pxe.go:129
↓ 1 callersFunctionpackageVersions
(user, repo, typ, distro, version, pkgname, arch string)
scripts/prune_old_versions/main.go:102
↓ 1 callersFunctionparseRRQ
(bs []byte)
tftp/tftp.go:294
↓ 1 callersMethodserveDHCP
(conn *dhcp6.Conn)
pixiecore/dhcpv6.go:8
↓ 1 callersMethodserveDHCP
(conn *dhcp4.Conn)
pixiecore/dhcp.go:25
↓ 1 callersFunctionserveHTTP
(l net.Listener, handlers ...func(*http.ServeMux))
pixiecore/http.go:30
↓ 1 callersMethodservePXE
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 callersMethodserveTFTP
(l net.PacketConn)
pixiecore/tftp.go:30
↓ 1 callersFunctionserverv6APIConfigFlags
(cmd *cobra.Command)
pixiecore/cli/ipv6apicmd.go:87
↓ 1 callersFunctionserverv6ConfigFlags
(cmd *cobra.Command)
pixiecore/cli/bootipv6cmd.go:90
↓ 1 callersMethodsetDUID
(addr net.HardwareAddr)
pixiecore/pixicorev6.go:89
↓ 1 callersFunctionshouldDiscardInformationRequest
(p *Packet, serverDuid []byte)
dhcp6/packet.go:108
↓ 1 callersFunctionsprintPackets
(pkts []*Packet)
pcap/reader_test.go:27
↓ 1 callersMethodtransfer
(addr net.Addr, req *rrq)
tftp/tftp.go:157
↓ 1 callersMethodtransferAndLog
(addr net.Addr, req *rrq)
tftp/tftp.go:149
↓ 1 callersMethodtransferLog
(addr net.Addr, path string, err error)
tftp/tftp.go:143
↓ 1 callersMethodtxType
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 callersFunctionubuntuRecipe
(parent *cobra.Command)
pixiecore/cli/quickcmd.go:90
↓ 1 callersFunctionv1compatCLI
()
pixiecore/cli/v1compat.go:28
↓ 1 callersMethodvalidateDHCP
(pkt *dhcp4.Packet)
pixiecore/dhcp.go:97
↓ 1 callersMethodvalidatePXE
(pkt *dhcp4.Packet)
pixiecore/pxe.go:94
MethodBootSpec
(m Machine)
pixiecore/booters.go:70
MethodBootSpec
(m Machine)
pixiecore/booters.go:164
MethodBootSpec
(m Machine)
pixiecore/http_test.go:30
MethodBootSpec
(m Machine)
pixiecore/http_test.go:155
MethodClose
()
dhcp4/conn.go:238
FunctionFilesystemHandler
FilesystemHandler returns a Handler that serves files in root.
tftp/handlers.go:28
MethodGetBootURL
GetBootURL returns Boot File URL, see RFC 5970
pixiecore/boot_configuration.go:37
MethodGetBootURL
GetBootURL returns Boot File URL, see RFC 5970
pixiecore/boot_configuration.go:85
MethodGetPreference
GetPreference returns server's Preference, see RFC 3315
pixiecore/boot_configuration.go:45
MethodGetPreference
GetPreference returns server's Preference, see RFC 3315
pixiecore/boot_configuration.go:120
MethodGetRecursiveDNS
GetRecursiveDNS returns list of addresses of recursive DNS servers, see RFC 3646
pixiecore/boot_configuration.go:50
MethodGetRecursiveDNS
GetRecursiveDNS returns list of addresses of recursive DNS servers, see RFC 3646
pixiecore/boot_configuration.go:125
MethodHasClientArchType
HasClientArchType returns true if Options contains Client Architecture Type Option
dhcp6/options.go:290
MethodLen
()
scripts/prune_old_versions/main.go:98
MethodLess
(i, j int)
scripts/prune_old_versions/main.go:99
← previousnext →101–200 of 307, ranked by callers