summaryrefslogtreecommitdiffstats
path: root/src/net
Commit message (Collapse)AuthorAgeFilesLines
* [Settings] copy_settings() should not fail if some settings are missing!Michael Brown2008-03-241-18/+54
|
* [IPv4] Use default netmasks when no subnet mask is specified.Michael Brown2008-03-231-7/+20
|
* [DHCP] Fix up fake-packet creation as used by PXENV_GET_CACHED_INFOMichael Brown2008-03-231-37/+107
| | | | | | | | | | | Add dedicated functions create_dhcpdiscover(), create_dhcpack() and create_proxydhcpack() for use by external code such as the PXE preboot code. Register ProxyDHCP options under the global scope "proxydhcp". Unregister previously-acquired DHCP and ProxyDHCP settings when DHCP succeeds.
* [DHCP] FIXME: quick temporary settings fix, needs update for new APIMarty Connor2008-03-221-0/+4
|
* [Settings] Implement simple_settings backed with extensible DHCP optionsMichael Brown2008-03-221-4/+4
|
* [Settings] DHCP is now working using the new settings API.Michael Brown2008-03-213-10/+23
|
* [Settings] Migrate DHCP and NVO code to the new settings API (untested)Michael Brown2008-03-213-685/+599Star
|
* [DHCP] Kill off some no-longer-used DHCP functionsMichael Brown2008-03-211-118/+0Star
|
* [Settings] Use a settings applicator to set the default TFTP URI.Michael Brown2008-03-212-35/+43
|
* [Settings] Use a settings applicator to configure IPv4 routes.Michael Brown2008-03-213-78/+40Star
|
* [Settings] Introduce settings applicators.Michael Brown2008-03-213-98/+102
| | | | | | | Convert DHCP option applicators in dns.c and iscsi.c to settings applicators. Kill off DHCP option applicators.
* [Settings] Add per-netdevice settings blockMichael Brown2008-03-202-0/+109
| | | | | | | | | Add a configuration settings block for each net device. This will provide the parent scope for settings applicable only to that network device (e.g. non-volatile options stored on the NIC, options obtained via DHCP, etc.). Expose the MAC address as a setting.
* Modify gPXE core and drivers to work with the new timer subsystemAlexey Zaytsev2008-03-023-2/+3
| | | | Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
* [DHCP] Fix RFC4390 client identifier constructions.Michael Brown2008-02-271-1/+1
| | | | | | RFC 4390 provides for the DHCP client identifier to contain the link-layer hardware type and MAC address when the MAC address exceeds 16 bytes. However, the hardware type field is only 8 bits; we were assuming 16 bits.
* [Infiniband] Add preliminary support for multi-port devices.Michael Brown2008-02-271-4/+7
| | | | | | | | | | Arbel and Hermon cards both have multiple ports. Add the infrastructure required to register each port as a separate IB device. Don't yet register more than one port, since registration will currently fail unless a valid link is detected. Use ib_*_{set,get}_{drv,owner}data wrappers to access driver- and owner-private data on Infiniband structures.
* [Infiniband] Centralise MAD operationsMichael Brown2008-02-261-0/+222
| | | | | | | | | Pull out common code for handling management datagrams from arbel.c and hermon.c into infiniband.c. Add port number to struct ib_device. Add open(), close() and mad() methods to struct ib_device_operations.
* [Infiniband] Fix typo in debug statementMichael Brown2008-02-231-1/+1
|
* [Infiniband] Add missing list_del()s in ib_create_qp() failure path.Michael Brown2008-02-231-0/+2
|
* Fixes for EqualLogic iSCSI targets:Michael Brown2008-02-071-7/+19
| | | | | | | Allow port numbers in iSCSI redirection. Wait for SCSI status, not just the final data-in (which may be followed by an explicit SCSI Response PDU if the S bit is not set).
* Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxeMichael Brown2008-01-229-24/+15Star
|\
| * Make seek information part of the xfer metadata, rather than an entirelyMichael Brown2008-01-089-17/+6Star
| | | | | | | | | | | | | | separate xfer method. Add missing .alloc_iob entries to several xfer_interface_operations structures.
| * When the DHCP file/sname fields are empty, don't allow them to overrideMichael Brown2008-01-071-6/+8
| | | | | | | | their equivalent DHCP-option-specified values.
| * Fix off-by-one error (discovered by Shao Miller).Michael Brown2008-01-071-1/+1
| |
* | Add preliminary support for MTFTP.Michael Brown2007-12-261-112/+295
|/
* Fix compiler warnings that appear only on OpenBSD.Michael Brown2007-12-061-7/+7
|
* Kill off some warnings-problematic debug statements in ndp.c; the codeMichael Brown2007-12-071-4/+2Star
| | | | is non-functional anyway.
* Various warnings fixups for OpenBSD with gcc-3.3.5.Michael Brown2007-12-0711-31/+31
|
* udp_open_promisc() calls udp_open_common() with peer==NULL.Michael Brown2007-11-281-2/+3
|
* Add RFC2090 TFTP multicast support.Michael Brown2007-11-281-82/+300
|
* Quick hack to be able to accept transfers from servers that don'tMichael Brown2007-11-251-0/+2
| | | | supply options.
* Allow DHCP server to instruct gPXE to ignore ProxyDHCP (which willMichael Brown2007-11-211-8/+16
| | | | | | also avoid waiting for ProxyDHCP offers). Also reduce the ProxyDHCP timeout, because it's already irritating me.
* Add ProxyDHCP support.Michael Brown2007-11-211-25/+54
|
* Remove some assumptions about DHCP obtaining only a single options block.Michael Brown2007-11-212-6/+10
|
* Add PXE-required DHCP options to DHCPDISCOVER and DHCPREQUEST packets.Michael Brown2007-11-211-10/+25
|
* Add UUID to DHCP request as option 97 (if available).Michael Brown2007-11-211-0/+13
|
* Work around a bug in the OpenSolaris iSCSI target.Michael Brown2007-11-051-3/+10
| | | | | | | | | | | | | | | We didn't specify values for MaxRecvDataSegmentLength and MaxBurstLength (to save space, since we were happy with the RFC-defined default values of 8kB and 256kB respectively). However, the OpenSolaris target (incorrectly) assumes default values of zero for these parameters. The upshot was that the OpenSolaris target would get stuck in an endless loop trying to send us the first 512-byte sector, zero bytes at a time, and would eventually run out of memory and core-dump. Fixed by explicitly specifying the default values for these two parameters.
* Force a netdevice poll in net_tx() before attempting to transmitMichael Brown2007-10-041-0/+8
| | | | | packet, to work around the problem whereby small TX rings get backed up because we haven't yet poll()ed for TX completions.
* Added an almost obscene amount of debugging and assertion code whileMichael Brown2007-09-171-7/+15
| | | | | | | | tracking down a bug that turned out to be a free_iob() used where I needed a netdev_tx_complete(). This left the freed I/O buffer on the net device's TX list, with bad, bad consequences later. Also fixed the bug in question.
* Minor debug message improvement.Michael Brown2007-09-171-2/+3
|
* Prepare for adding a metadata queue to IPoIBMichael Brown2007-09-171-89/+2Star
|
* IPoIB code separated out to ipoib.c.Michael Brown2007-09-171-2/+30
|
* create_qp() and destroy_qp() now written (but not tested).Michael Brown2007-09-161-1/+4
|
* Started implementing create_qp() and destroy_qp().Michael Brown2007-09-161-2/+70
|
* Revert to dev_priv/owner_priv scheme, rather than container_of; itMichael Brown2007-09-161-0/+51
| | | | makes it easier to put the generic allocation code into infiniband.c
* post_recv() now works, and we can pass data on the IPoIB queue pairMichael Brown2007-09-161-9/+10
| | | | using entirely our own code.
* Direct polling of TX completion queue now works.Michael Brown2007-09-151-0/+20
|
* Now handling TX completions in our poll loop.Michael Brown2007-09-141-14/+3Star
|
* Can now both send and receive packets. LL header format not yetMichael Brown2007-09-131-0/+11
| | | | | fixed; still using a quick hack-up just to be able to pass through data.
* Use RFC4390 whenever hardware address exceeds 16 bytes; this allows usMichael Brown2007-09-131-2/+36
| | | | to construct DHCP packets suitable for Infiniband.
* Bugfix: DHCP message type should be a one-byte option... (d'oh)Michael Brown2007-09-131-2/+1Star
|