1. 23 Jun, 1999 2 commits
    • Stewart Brodie's avatar
      Added new service call sub-reason code. · a80f39d0
      Stewart Brodie authored
        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'
    • Kevin Bracey's avatar
      if_multiaddrs moved to end of struct ifnet to save binary compatibility grief... · 9a4fe09e
      Kevin Bracey authored
      if_multiaddrs moved to end of struct ifnet to save binary compatibility grief with all those horrid little progs like inetstat and ifconfig that inspect the Internet module's internal structures directly.
      Version 5.17. Tagged as 'TCPIPLibs-5_17'
  2. 22 Jun, 1999 1 commit
  3. 07 Jun, 1999 1 commit
  4. 03 Jun, 1999 1 commit
    • Stewart Brodie's avatar
      TCP sequence number definition changes. · 4d261431
      Stewart Brodie authored
        A new function has been declared for generating initial sequence
          numbers for the Internet module's TCP implementation.  More details
          in Internet module logs.
        Required by Internet 5.22
          (CVS: RiscOS/Sources/Networking/AUN/Internet  tag: Internet-5_22)
      Version 5.14. Tagged as 'TCPIPLibs-5_14'
  5. 11 May, 1999 2 commits
    • Stewart Brodie's avatar
      Added data allocation redirection capability to RPClib. · a763b510
      Stewart Brodie authored
        The low-level malloc and free calls made by the RPC and XDR libraries
          can now be intercepted if an application defined the two functions
          _rpclib_malloc and _rpclib_free with appropriate prototypes as per
          malloc and free.  This means that you can override the default
          behaviour of stuffing the data into the RMA if you want to, but that
          the default of using the RMA is retained.
        Tested with the NFS module.
        Required by NFS 3.00 and later (CVS tag: NFS-3_00)
      Version 5.13. Tagged as 'TCPIPLibs-5_13'
    • Kevin Bracey's avatar
      Prototyped _DELAY() properly. · a93a4b60
      Kevin Bracey authored
      No longer #defines away const, volatile etc when compiling -pcc.
      Version 5.12. Tagged as 'TCPIPLibs-5_12'
  6. 30 Mar, 1999 2 commits
    • Stewart Brodie's avatar
      New tag to cover all changes required by Internet 5.21 and DHCP 0.01 · f07b2668
      Stewart Brodie authored
        Required by Internet 5.21, DHCP 0.01, IPConfig 0.15.
      Version 5.11. Tagged as 'TCPIPLibs-5_11'
    • Ben Laughton's avatar
      Updated net/if.h and sys/mbuf.h to work when used with C++. · 9ba0f2ae
      Ben Laughton authored
          In net/if.h struct if_data was defined within struct ifnet, but also
          referred to later outside of struct ifnet.  This is fine in C since
          the scope of strutures persists to the end of the translation unit, but
          in C++ it persists until the end of the block.
          This problem is solved by moving the definition of struct if_data out
          of struct ifnet and into the outermost level, as it is in the current
          FreeBSD sources.
          In sys/mbuf.h there were two defintions of struct mbuf; one was for ANSI C
          and one was for K&R C, and the appropriate one was chosen by testing whether
          __STDC__ was defined or not.  The ANSI C version of the structure has
          const members in it, which C++ does not allow unless the structure/class
          has a constructor (since const members can only be initialised in a
          constructor's initialiser-list).  The C++ standard says that use of
          __STDC__ is implementation defined, which means we can't rely on picking up
          the non-ANSI C version of the structure in C++ code.
          A third definition of the structure has been added, which is used if
          __cplusplus is defined.  It retains the const members, but declares a
          private constructor, which keeps the compiler happy with respect to the
          const members.  Under the terms of the C++ standard, this is still a
          'P.O.D.' (Plain Old Data) structure, so it is guaranteed to have the same
          storage layout as the C one.  In addition, the m_sys* members have been
          made private, since the client should never access these.
          Tested with the ATM driver to verify the the changes work with C++.
          Tested with PPP to ensure that things still work for C.
          Version incremented to 5.10 and tagged.
      Version 5.10. Tagged as 'TCPIPLibs-5_10'
  7. 25 Mar, 1999 1 commit
    • Stewart Brodie's avatar
      Support for DHCP module. · 4bdc34d1
      Stewart Brodie authored
        Added a new ioctl (SIOCGWHOIAMD) for the private use of the
          DHCP module.
        Defined structure for ioctl data in protocols/dhcp.h.  The
          "ifr_flags" field is the union part that is used to pass
          action flags to Internet.
        Updated comment that protocol is defined by RFC2131 & RFC2132.
        Software which includes protocols/dhcp.h may need modification
          to ensure that net/if.h is included too, as it requires a
          definition of struct ifreq.  No software in Renaissance is
          believed to be affected currently.
        Required by Internet 5.20
          (Internet-5_20 in RiscOS/Sources/Networking/AUN/Internet)
        Required by DHCP 0.00
          (DHCP-0_00 in RiscOS/Sources/Networking/DHCP)
      Version 5.09. Tagged as 'TCPIPLibs-5_09'
  8. 19 Mar, 1999 1 commit
    • Stewart Brodie's avatar
      Macro correction Makefile 64-bit XDR routines fixed. · c762ffa0
      Stewart Brodie authored
        Makefile now defines COMPAT_INET4 not DOMPAT_INET4 (!)
        Makefile no longer lists the ALF file contents after building them.
        64-bit bit XDR routines now pass pointers to the fields in the 64-bit
          structure, not the fields themselves.  Previously this meant that
          attempting to XDR_DECODE any 64-bit quantity would cause a data
        Tested as underlying support library for updated NFS module which
          implements NFSv3.
      Version 5.08. Tagged as 'TCPIPLibs-5_08'
  9. 16 Mar, 1999 1 commit
    • Stewart Brodie's avatar
      64-bit type support in RPC. · 6f917f78
      Stewart Brodie authored
        Port discovery function now prototyped!
        64-bit support has been added to XDR for any protocols that might
          need it (eg. NFS3)
        getrpcport now has a prototype (rpc/netdb.h)
        Tested by building the NFS3 lower-level support files from the
          protocol definition file and verified that the rpcgen generated
          code would compile and link without error.
        This version represents issue 1 of 1215,201/DR and 1215,202/DR.
        This version (5.07) is associated with AMR 5201.
      Version 5.07. Tagged as 'TCPIPLibs-5_07'
  10. 12 Feb, 1999 1 commit
    • Stewart Brodie's avatar
      Update of TCPIPLibs for rpc/tcp and to define service call reason codes. · 979d9962
      Stewart Brodie authored
        New InternetStatus service call reason codes added and documented.
        clnt_tcp.c added and TCP support recompiled in to other parts of RPC
          library.  Requested by third party.
        New macro definitions for InternetStatus_DynamicBootStart and
          InternetStatus_DynamicBootReply added to sys/dcistructs.h
        Documentation for new service calls added to LibraryDoc.
        rusers application built against new RPC library to prove rpc/tcp
          support is present and correct.
        Required by Internet 5.19 and later.
          (CVS: RiscOS/Sources/Networking/AUN/Internet (tag: Internet-5_19)
        Required by IPConfig 0.09 and later.
          (CVS: RiscOS/Sources/Networking/IPConfig (tag: IPConfig-0_09)
        Required by development builds of LanManFS 2.00 and later.
          (CVS: RiscOS/Sources/Networking/Omni/Protocols/LanManFS;
                earliest tag: LanManFS-1_87_1_1_1_1_2_12 or LanManFS-2_00)
      Version 5.06. Tagged as 'TCPIPLibs-5_06'
  11. 30 Nov, 1998 1 commit
    • Stewart Brodie's avatar
      Fixed rpc/svc.h to be ANSI and C++ compatible. · b0d214e4
      Stewart Brodie authored
        rpc/rpc.h now wraps all the sub-includes with C++ protection.
        rpc/svc.h prototypes ANSI-ised (rpc/rpc.h includes it, so despite services
          not being supported under RISC OS, it still needs to be there)
        rpc/xdr.h declares struct XDR as equivalent to XDR.
        At least this version is required by code generated by rpcgen.
      Version 5.05. Tagged as 'TCPIPLibs-5_05'
  12. 27 Nov, 1998 2 commits
    • Stewart Brodie's avatar
      Prototypes upgraded to ANSI-style. This is required so that C++ source code... · 8aba7b54
      Stewart Brodie authored
      Prototypes upgraded to ANSI-style.  This is required so that C++ source code can include them (third party needs this)
        Removed duplicate headers from inside rpclib - now uses the exported headers
          which should avoid inconsistencies developing.
        No longer uses cc400 during builds.
        Nearly every header is changed.  Parameter prototypes cross-checked against
          actual source code, Solaris 2.6 headers, and comments in the rpclib headers.
        Build improvement: no longer uses "cc400" to compile clnt_udp.c.  Previously
          this was done because newer compilers were alleged to generate broken code.
          The example quoted was the NFS module's free display.  The fault actually
          lies in the NFS module passing the wrong parameters to xdr_string!  Future
          builds of NFS will require TCPIPLibs-5_04 or later.
        Built.  Tested by building NFS against it.  Verified free space display works
          properly (needs NFS 2.36).  Tested inclusion of all RPC headers from C++
          source file worked without warnings or errors.
      Version 5.04. Tagged as 'TCPIPLibs-5_04'
    • Stewart Brodie's avatar
      Version number increment to cover changes required for Internet 5.16 · 984e2a64
      Stewart Brodie authored
      Version 5.03. Tagged as 'TCPIPLibs-5_03'
  13. 22 Oct, 1998 1 commit
  14. 15 Oct, 1998 1 commit
  15. 12 Oct, 1998 1 commit
    • Stewart Brodie's avatar
      Brought DCI header up to date with respect to the latest version of the... · c6ac46c8
      Stewart Brodie authored
      Brought DCI header up to date with respect to the latest version of the specification (0284,036/FS; ECO 4112).  Changes are:
      * DCIVERSION incremented to 404
      * MulticastRequest SWI number added
      * Flags for MulticastRequest SWI added
      * Selective multicast bit added to Inquire SWI flags
      * Multicast filter capability flags added to Filter SWI flags
      * Added new types to the stats interface type list
      * Added half/full duplex bits to link status bits list
      * Created link polarity bits list
      Version 5.01. Tagged as 'TCPIPLibs-5_01'
  16. 04 Sep, 1998 2 commits