Michael Brown
d24b80acf2
Added network interface management commands
18 年之前
Michael Brown
98b6154c3e
Add "name" field to network device, to facilitate netdev commands.
18 年之前
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.
18 年之前
Michael Brown
18e5353bed
Rename pkb_available() to pkb_tailroom() for consistency with Linux's
skb_tailroom(). Add pkb_headroom().
18 年之前
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
18 年之前
Michael Brown
76525294ee
Clean up connection closing and permanent failure logic.
18 年之前
Michael Brown
79c5f0ba04
Added PCI_BASE_CLASS() macro
18 年之前
Michael Brown
5af4918356
Added support for wildcard device/vendor ID matches
18 年之前
Michael Brown
20c9fc407e
Remove types and prototypes now provided in the undi*.h headers.
18 年之前
Michael Brown
9780fef360
Partial implementation of UNDI loader caller.
18 年之前
Michael Brown
0638945c7e
Add PXE driver-scanning code, capable of locating all PXE ROMs in a system
and matching them up to (e.g. PCI) devices.
18 年之前
Michael Brown
7e07dfb2f4
Added PXE bus driver (with support only for using PXE structures found
lying about in memory, not for loading from ROM), and UNDI net driver.
18 年之前
Michael Brown
350603cb86
Don't include __FUNCTION__ in assert() messages; it was causing the
function name to appear within the objects even in non-asserting
builds. (This could be considered a gcc bug.)
Removing __FUNCTION__ from assert() reduces the size of bin/blib.a by
around 2.5%!
18 年之前
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.
18 年之前
Michael Brown
7fafa89258
A DHCP session holds a persistent reference to a network device
18 年之前
Michael Brown
ac53da1790
Added missing #include
18 年之前
Michael Brown
b29861a5aa
IPv6 minirouting table entries hold persistent references to net devices.
18 年之前
Michael Brown
b22d4405c0
An AoE session holds a persistent reference to a net device.
18 年之前
Michael Brown
bdf79ec8dc
Use hotplug support to notify persistent reference holders when a
net_device is unregistered.
18 年之前
Michael Brown
0063725d28
Minimal hotplug support: provide a facility for notifying persistent
reference holders that their reference is about to become invalid.
18 年之前
Michael Brown
a0525a4ed3
Verify checksums on the RX datapath.
Simplify checksum generation on the TX datapath.
18 年之前
Michael Brown
b91b9d3d88
Use whole bytes for the ACKED and RCVD portions of tcp_state; it
produces slightly smaller code.
18 年之前
Michael Brown
2494625702
Added auto-colourising DBGC() macro
18 年之前
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.
18 年之前
Michael Brown
61ed298bc7
Merge changes from mcb-tcp-fixes branch.
18 年之前
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!
18 年之前
Michael Brown
73e3e02367
Fix prototype of random() and move to stdlib.h
18 年之前
Michael Brown
66a7ed23cb
Make start_timer() and stop_timer() robust against incorrect usage.
18 年之前
Michael Brown
9485478acc
ibft_fill_data() prototype change.
18 年之前
Michael Brown
ab242a760d
Add ability to shut down iSCSI connection
18 年之前
Michael Brown
cacd6b1d04
KEY_XXX constants are now defined in gpxe/keys.h. Kept separate from
curses.h so that you don't have to suffer the curses namespace pollution
just to get the symbolic key names.
18 年之前
Michael Brown
46c3eeba2a
Fix definition of KEY_END
18 年之前
Michael Brown
2ae27f44d9
Add insert/delete and document keys, and documentation.
18 年之前
Michael Brown
791c7d3bf4
Added code to interpret ANSI keypress sequences into KEY_XXX constants.
18 年之前
Michael Brown
96a1a2c6f0
Key definitions
18 年之前
Michael Brown
b9f8599537
Define KEY_MIN and use it in kb.c.
18 年之前
Michael Brown
cbeec25662
settings_ui() now returns a status code.
18 年之前
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.
18 年之前
Michael Brown
f8910410fe
Add attr_{get,set,on,off} as static inlines.
18 年之前
Michael Brown
8f9336e0c1
Add "config" command to access config UI
18 年之前
Michael Brown
b93ff48173
Added descriptive text for settings and setting types, and display it in
the option config UI.
18 年之前
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.
18 年之前
Michael Brown
4b33c03942
Increase colour pair limit
18 年之前
Michael Brown
84a2b886e1
Split error-message table portions of errno.h out to gpxe/errortab.h
18 年之前
Michael Brown
e5f0898f38
Move strerror() prototype to string.h, where it belongs
18 年之前
Michael Brown
04da3556f9
Differentiate between ENOSPC and ENOMEM
18 年之前
Michael Brown
637a891264
Fix prototype of sleep() and move it to unistd.h
18 年之前
Michael Brown
3e0f7621eb
Don't automatically redraw the edit box; this allows better inheritance.
18 年之前
Michael Brown
35dcbfe771
Editable text box widget based on mucurses and edit_string.
18 年之前
Michael Brown
4919646fb9
Separated out (and tidied up) shell banner code
18 年之前