Commit a80f39d0 authored by Stewart Brodie's avatar Stewart Brodie
Browse files

Added new service call sub-reason code.

  Service_InternetStatus/DHCPInform is issued whenever a response to a
    DHCPINFORM is received.
  Modules which claim sub-reason code 3 (DynamicBootStart) can now alter
    R2 (if they claim the reason code) to contain the return value for
    the Internet module's ioctl handler.  Previously, the Internet module
    always returned EADDRUNAVAIL if the service call was claimed, which
    meant that callers had to use other means to determine whether the
    dynamic boot had completed (eg. by querying the DHCP module directly)
  Documentation file LibraryDoc updated with details.
  Required by Internet 5.25 and later.
  Required by DHCP 0.05 and later.

Version 5.18. Tagged as 'TCPIPLibs-5_18'
parent 9a4fe09e
......@@ -1826,8 +1826,10 @@ R6 = offset from packet start to current end of options
On exit
R0,R2-R5 preserved, R6 may be updated.
R0,R3-R5 preserved, R6 may be updated.
R1 = 0 to claim service call, else preserved.
If claiming the service call, R2 may be updated with a value of errno, else it
must be preserved.
......@@ -1846,7 +1848,14 @@ value, as defined by RFC2131. Currently, only DHCPDISCOVER messages are sent on
this service call, DHCPREQUEST messages use subreason code 6.
To prevent the transmission of the BOOTP/DHCP request on the network, claim the
service call. You should not normally claim this service call.
service call. You should not normally claim this service call unless you are
providing an alternative arrangement for obtaining interface configuration.
If you claim this service call, then you may update R2 with a value between 0 and
255 representing the standard Internet error number which the service call issuer
should return to its caller. By default, Internet will use EADDRNOTAVAIL. A
value of zero should be used to indicate that the interface configuration process
has been successfully completed.
Service_InternetStatus 4 (Service Call &B0)
......@@ -1955,6 +1964,32 @@ You must not claim this service call. Any objection should have been raised
in response to Service_InternetStatus 5.
Service_InternetStatus 7 (Service Call &B0)
Issued by the Internet module when a DHCPACK reply to a DHCPINFORM has been received.
On entry
R0 = 7 (subreason code)
R1 = &B0 (reason code)
R2 -> DHCP reply message buffer
R3 = size of buffer pointed to by R2
On exit
R0,R2-R3 preserved.
R1 = 0 to claim service call, else preserved.
This service call is issued by the Internet module (version 5.24 or later)
when a DHCPACK is received in reply to a DHCPINFORM message. You may inspect
the contents of the buffer to extract any configuration information.
You should not normally claim this service call.
* SWIS *
/* (5.17)
/* (5.18)
* This file is automatically maintained by srccommit, do not edit manually.
#define Module_MajorVersion_CMHG 5.17
#define Module_MajorVersion_CMHG 5.18
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 23 Jun 1999
#define Module_MajorVersion "5.17"
#define Module_Version 517
#define Module_MajorVersion "5.18"
#define Module_Version 518
#define Module_MinorVersion ""
#define Module_Date "23 Jun 1999"
#define Module_FullVersion "5.17"
#define Module_FullVersion "5.18"
......@@ -111,6 +111,10 @@
#define InternetStatus_DynamicBootRequest 0x06
#ifndef InternetStatus_DynamicBootInform
#define InternetStatus_DynamicBootInform 0x07
#ifndef Service_PreReset
# define Service_PreReset 0x45
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment