Michael Brown
c821a7b20d
Add udp_sendto_via() to allow e.g. DHCP to transmit without first having
to set up dummy routing entries.
19 years ago
Michael Brown
f008b77ba2
Allow an explicit network device to be specified for IP-layer
transmissions.
19 years ago
Michael Brown
55e590ab3a
Move header file for usr/autoboot.c to include/usr
19 years ago
Michael Brown
d24b80acf2
Added network interface management commands
19 years ago
Michael Brown
98b6154c3e
Add "name" field to network device, to facilitate netdev commands.
19 years ago
Michael Brown
c65fae2475
Add RX quotas to the net device poll() method. This avoids the problem
of alloc_pkb() exhaustion when e.g. an iSCSI-booted DOS session is left
idle for a long time at the C:\ prompt and builds up a huge packet
backlog.
19 years ago
Michael Brown
18e5353bed
Rename pkb_available() to pkb_tailroom() for consistency with Linux's
skb_tailroom(). Add pkb_headroom().
19 years ago
Michael Brown
b7fcfe8ece
Added net device TX queue; this will be needed to support the PXE UNDI API
(which will need us to wait for TX completions).
Added debug autocolourisation to netdevice.c
19 years ago
Michael Brown
76525294ee
Clean up connection closing and permanent failure logic.
19 years ago
Michael Brown
79c5f0ba04
Added PCI_BASE_CLASS() macro
19 years ago
Michael Brown
5af4918356
Added support for wildcard device/vendor ID matches
19 years ago
Michael Brown
0c03bb5a9a
Make open() and close() an official part of the netdevice API.
Call netdevice's poll() and transmit() methods only when device is open.
19 years ago
Michael Brown
7fafa89258
A DHCP session holds a persistent reference to a network device
19 years ago
Michael Brown
ac53da1790
Added missing #include
19 years ago
Michael Brown
b29861a5aa
IPv6 minirouting table entries hold persistent references to net devices.
19 years ago
Michael Brown
b22d4405c0
An AoE session holds a persistent reference to a net device.
19 years ago
Michael Brown
bdf79ec8dc
Use hotplug support to notify persistent reference holders when a
net_device is unregistered.
19 years ago
Michael Brown
0063725d28
Minimal hotplug support: provide a facility for notifying persistent
reference holders that their reference is about to become invalid.
19 years ago
Michael Brown
a0525a4ed3
Verify checksums on the RX datapath.
Simplify checksum generation on the TX datapath.
19 years ago
Michael Brown
b91b9d3d88
Use whole bytes for the ACKED and RCVD portions of tcp_state; it
produces slightly smaller code.
19 years ago
Michael Brown
ce9819af27
Redefine TCP state to include "flags that have been sent" rather than
"flags that are currently being sent". This allows at least one special
case (checking that we haven't already sent a FIN in tcp_rx_fin()) to be
collapsed.
19 years ago
Michael Brown
61ed298bc7
Merge changes from mcb-tcp-fixes branch.
19 years ago
Michael Brown
a2e3357825
Cannot immediately overwrite the peer address when we parse
TargetAddress from the login response, because we still need the old
address while we close the connection!
19 years ago
Michael Brown
66a7ed23cb
Make start_timer() and stop_timer() robust against incorrect usage.
19 years ago
Michael Brown
9485478acc
ibft_fill_data() prototype change.
19 years ago
Michael Brown
ab242a760d
Add ability to shut down iSCSI connection
19 years ago
Michael Brown
46c3eeba2a
Fix definition of KEY_END
19 years ago
Michael Brown
2ae27f44d9
Add insert/delete and document keys, and documentation.
19 years ago
Michael Brown
96a1a2c6f0
Key definitions
19 years ago
Michael Brown
cbeec25662
settings_ui() now returns a status code.
19 years ago
Michael Brown
84202d89f0
Split the (quick hack) boot logic out from main.c to autoboot.c, add a
"boot" command to attempt booting from within the command shell, fall back
to shell if boot fails for any reason.
19 years ago
Michael Brown
8f9336e0c1
Add "config" command to access config UI
19 years ago
Michael Brown
b93ff48173
Added descriptive text for settings and setting types, and display it in
the option config UI.
19 years ago
Michael Brown
35edecac34
Move {show,set,clear}_setting() to {show,set,clear}_named_setting().
Introduce new {show,set,clear}_setting() that take a struct setting *
rather than a const char *.
set_setting() handles calling clear_setting() when appropriate, so that
individual setting types don't have to check for empty strings.
19 years ago
Michael Brown
84a2b886e1
Split error-message table portions of errno.h out to gpxe/errortab.h
19 years ago
Michael Brown
3e0f7621eb
Don't automatically redraw the edit box; this allows better inheritance.
19 years ago
Michael Brown
35dcbfe771
Editable text box widget based on mucurses and edit_string.
19 years ago
Michael Brown
4919646fb9
Separated out (and tidied up) shell banner code
19 years ago
Michael Brown
a2c5744daf
Minimal shell implementation using readline() and system().
19 years ago
Michael Brown
66007fa448
Provide an edit history to allow caller to efficiently update display.
19 years ago
Michael Brown
1bc3514bd8
Start of generic editable string support
19 years ago
Michael Brown
8b3a4c9862
Add basic ANSI escape sequence support to BIOS console
19 years ago
Michael Brown
1cd45decc4
Added support for interpreting ANSI escape sequences on behalf of
non-ANSI-capable consoles.
19 years ago
Michael Brown
a39b111684
Automatically select between the "10" and "16" variants of command set,
based on the device size.
19 years ago
Michael Brown
007ca97f25
Added clear_setting()
19 years ago
Michael Brown
72b1629cee
Add placeholder ibft.h
19 years ago
Michael Brown
f3d817d512
Added execv() and system().
19 years ago
Michael Brown
d2bf7abe75
Added write support for three-wire devices (e.g. the RTL8139 EEPROM)
19 years ago
Michael Brown
89bcb57201
Update ftp.c to work with Nikhil's TCP stack.
Remove the now-totally-obsolete sockaddr_in field from tcp.h.
19 years ago
Michael Brown
6a91a03409
Added options listed in
http://www.microsoft.com/whdc/winlogo/hwrequirements.mspx as required
for iSCSI boot. Note that options 204-206 are listed in the document
but don't seem to be defined anywhere on the web.
19 years ago