Michael Brown
08e8dfd801
Now handling TX completions in our poll loop.
17 years ago
Michael Brown
30a19c3f1c
Can now both send and receive packets. LL header format not yet
fixed; still using a quick hack-up just to be able to pass through
data.
17 years ago
Michael Brown
7e4e5af462
Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us
to construct DHCP packets suitable for Infiniband.
17 years ago
Michael Brown
771455653b
Bugfix: DHCP message type should be a one-byte option... (d'oh)
17 years ago
Michael Brown
c0d99245a9
Bugfix: DHCP message type should be a one-byte option... (d'oh)
17 years ago
Michael Brown
7b6d11e713
Started IB driver rewrite
17 years ago
Michael Brown
972f293e46
Check for correct block number in tftp_rx_data().
(Problem observed by Clay McClure in VMware Fusion.)
17 years ago
Michael Brown
00d93c6dd9
Minor style fix: structure fields are generally initialised in the
order in which they occur.
17 years ago
Marty Connor
14e1d3cc4d
TFTP default blocksize fix from Vampyre
17 years ago
Holger Lubitz
f92096d180
use malloc attribute
17 years ago
Holger Lubitz
bc9f960b66
use malloc attribute
17 years ago
Holger Lubitz
6f0eca1400
use malloc attribute
17 years ago
Michael Brown
2ff1b1245b
Use start_timer_nodelay() in protocols which rely on the retry timer
to generate the initial transmission; this cuts off around 0.3s per
instantiated connection.
17 years ago
Michael Brown
0a3c2b80ea
Add start_timer_nodelay()
17 years ago
Michael Brown
9fd6a0418f
Allowed zero-cost enforced ordering of features in startup banner
list.
Added FEATURE() macros to most relevant (non-driver) files.
17 years ago
Michael Brown
67afe84292
Use otherwise-useless byte in DHCP feature option as a version number
17 years ago
Michael Brown
0acb016840
Add FEATURE() macro, plus code to display features at startup time,
and generate DHCP options to indicate features to DHCP server (and to
PXE NBPs).
17 years ago
Holger Lubitz
fdd5fbe3ae
fix gcc 4.2.1 warning: initialized field overwritten
17 years ago
Michael Brown
79691961ba
Add identifier for the network device into the DHCP request.
17 years ago
Michael Brown
5e26df0325
Centralise construction of the DHCP request and response packets.
17 years ago
Michael Brown
847ac4f336
tls_change_cipher() can complain about null cipher and digest
algorithms; we only need the pubkey check disabled (and only because
pubkey algorithms are not yet integrated into the crypto_algorithm
subsystem).
17 years ago
Michael Brown
60e3aa4d75
Change #warnings to FIXMEs, so that we can build without NO_WERROR=1
17 years ago
Michael Brown
bf3d8fb1aa
Allowed HTTPS to be a separately configurable feature.
17 years ago
Michael Brown
6fc9ed167e
TLS now working again.
17 years ago
Michael Brown
43013da9bf
Quick hack to get AoE back in to the tree, on a par with the current
iSCSI hack.
17 years ago
Holger Lubitz
e6cfa7ced9
make http_open static
17 years ago
Holger Lubitz
fa11865de0
make add_ndp_entry static
17 years ago
Michael Brown
47a86bca2d
Prepare for iBFT merge when possible. iscsiboot.c contains a really,
really ugly hack at present, but that doesn't hugely matter since I'm
aiming to change the interface to iSCSI devices anyway within the next
week.
17 years ago
Michael Brown
9aa61ad5a2
Add per-file error identifiers
17 years ago
Michael Brown
94415b7669
Added missing "static" declarations
17 years ago
Michael Brown
f44969f7df
nameserver should be static
17 years ago
Michael Brown
096fa94f0c
Add support for TCP timestamps
17 years ago
Michael Brown
eb530845d4
Adjust received length to take into account any already-received data
in tcp_rx_data().
Clarify comments on discarding duplicate or out-of-order data.
17 years ago
Michael Brown
d5735c631c
Avoid reusing auto-allocated ports after connection close.
17 years ago
Michael Brown
b3e44a24b1
May be required in some disconnect scenarios
17 years ago
Michael Brown
9dc6a1e678
Remove some obsolete stream-API files
17 years ago
Michael Brown
fd4fcb57db
Add missing static
17 years ago
Michael Brown
fabd0f5fec
Fix TX state machine and miscellaneous other bits.
17 years ago
Michael Brown
ef9fd938d0
Fix root-path parsing.
17 years ago
Michael Brown
b94420a52b
Ready to start testing
17 years ago
Michael Brown
edd1b173a7
Code in place to use a hypothetical SCSI interface.
17 years ago
Michael Brown
f2fa390ae6
Everything except the SCSI interface should now be present
17 years ago
Michael Brown
9b28b25332
iSCSI updated to use data-xfer interface on the socket side (TCP).
SCSI interface not yet implemented.
17 years ago
Michael Brown
edded7546e
Limit xmit window to one MTU. (Path MTU discovery not yet
implemented; should be done at some point.)
17 years ago
Michael Brown
237e23c1c9
Add debug message when nameserver setting is applied/changed via DHCP.
17 years ago
Michael Brown
35afb379af
TCP limits advertised TCP window to size of application window
obtained via xfer_window().
17 years ago
Michael Brown
b34d4d0449
Separate the "is data ready" function of xfer_seek() into an
xfer_window() function, which can return a scalar rather than a
boolean.
17 years ago
Michael Brown
ca4c6f9eee
Kill off unused request() method in data-xfer interface.
17 years ago
Michael Brown
4c418d2100
Use net_device_operations structure and netdev_nullify() to allow for
safe dropping of the netdev ref by the driver while other refs still
exist.
Add netdev_irq() method. Net device open()/close() methods should no
longer enable or disable IRQs.
Remove rx_quota; it wasn't used anywhere and added too much complexity
to implementing correct interrupt-masking behaviour in pxe_undi.c.
17 years ago
Holger Lubitz
a4d3476e0e
convert to zalloc
17 years ago