Michael Brown
08e8dfd801
Now handling TX completions in our poll loop.
il y a 18 ans
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.
il y a 18 ans
Michael Brown
7e4e5af462
Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us
to construct DHCP packets suitable for Infiniband.
il y a 18 ans
Michael Brown
771455653b
Bugfix: DHCP message type should be a one-byte option... (d'oh)
il y a 18 ans
Michael Brown
c0d99245a9
Bugfix: DHCP message type should be a one-byte option... (d'oh)
il y a 18 ans
Michael Brown
7b6d11e713
Started IB driver rewrite
il y a 18 ans
Michael Brown
972f293e46
Check for correct block number in tftp_rx_data().
(Problem observed by Clay McClure in VMware Fusion.)
il y a 18 ans
Michael Brown
00d93c6dd9
Minor style fix: structure fields are generally initialised in the
order in which they occur.
il y a 18 ans
Marty Connor
14e1d3cc4d
TFTP default blocksize fix from Vampyre
il y a 18 ans
Holger Lubitz
f92096d180
use malloc attribute
il y a 18 ans
Holger Lubitz
bc9f960b66
use malloc attribute
il y a 18 ans
Holger Lubitz
6f0eca1400
use malloc attribute
il y a 18 ans
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.
il y a 18 ans
Michael Brown
0a3c2b80ea
Add start_timer_nodelay()
il y a 18 ans
Michael Brown
9fd6a0418f
Allowed zero-cost enforced ordering of features in startup banner
list.
Added FEATURE() macros to most relevant (non-driver) files.
il y a 18 ans
Michael Brown
67afe84292
Use otherwise-useless byte in DHCP feature option as a version number
il y a 18 ans
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).
il y a 18 ans
Holger Lubitz
fdd5fbe3ae
fix gcc 4.2.1 warning: initialized field overwritten
il y a 18 ans
Michael Brown
79691961ba
Add identifier for the network device into the DHCP request.
il y a 18 ans
Michael Brown
5e26df0325
Centralise construction of the DHCP request and response packets.
il y a 18 ans
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).
il y a 18 ans
Michael Brown
60e3aa4d75
Change #warnings to FIXMEs, so that we can build without NO_WERROR=1
il y a 18 ans
Michael Brown
bf3d8fb1aa
Allowed HTTPS to be a separately configurable feature.
il y a 18 ans
Michael Brown
6fc9ed167e
TLS now working again.
il y a 18 ans
Michael Brown
43013da9bf
Quick hack to get AoE back in to the tree, on a par with the current
iSCSI hack.
il y a 18 ans
Holger Lubitz
e6cfa7ced9
make http_open static
il y a 18 ans
Holger Lubitz
fa11865de0
make add_ndp_entry static
il y a 18 ans
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.
il y a 18 ans
Michael Brown
9aa61ad5a2
Add per-file error identifiers
il y a 18 ans
Michael Brown
94415b7669
Added missing "static" declarations
il y a 18 ans
Michael Brown
f44969f7df
nameserver should be static
il y a 18 ans
Michael Brown
096fa94f0c
Add support for TCP timestamps
il y a 18 ans
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.
il y a 18 ans
Michael Brown
d5735c631c
Avoid reusing auto-allocated ports after connection close.
il y a 18 ans
Michael Brown
b3e44a24b1
May be required in some disconnect scenarios
il y a 18 ans
Michael Brown
9dc6a1e678
Remove some obsolete stream-API files
il y a 18 ans
Michael Brown
fd4fcb57db
Add missing static
il y a 18 ans
Michael Brown
fabd0f5fec
Fix TX state machine and miscellaneous other bits.
il y a 18 ans
Michael Brown
ef9fd938d0
Fix root-path parsing.
il y a 18 ans
Michael Brown
b94420a52b
Ready to start testing
il y a 18 ans
Michael Brown
edd1b173a7
Code in place to use a hypothetical SCSI interface.
il y a 18 ans
Michael Brown
f2fa390ae6
Everything except the SCSI interface should now be present
il y a 18 ans
Michael Brown
9b28b25332
iSCSI updated to use data-xfer interface on the socket side (TCP).
SCSI interface not yet implemented.
il y a 18 ans
Michael Brown
edded7546e
Limit xmit window to one MTU. (Path MTU discovery not yet
implemented; should be done at some point.)
il y a 18 ans
Michael Brown
237e23c1c9
Add debug message when nameserver setting is applied/changed via DHCP.
il y a 18 ans
Michael Brown
35afb379af
TCP limits advertised TCP window to size of application window
obtained via xfer_window().
il y a 18 ans
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.
il y a 18 ans
Michael Brown
ca4c6f9eee
Kill off unused request() method in data-xfer interface.
il y a 18 ans
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.
il y a 18 ans
Holger Lubitz
a4d3476e0e
convert to zalloc
il y a 18 ans