Commit 4d261431 authored by Stewart Brodie's avatar Stewart Brodie
Browse files

TCP sequence number definition changes.

Detail:
  A new function has been declared for generating initial sequence
    numbers for the Internet module's TCP implementation.  More details
    in Internet module logs.
Admin:
  Required by Internet 5.22
    (CVS: RiscOS/Sources/Networking/AUN/Internet  tag: Internet-5_22)

Version 5.14. Tagged as 'TCPIPLibs-5_14'
parent a763b510
/* (5.13)
/* (5.14)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 5.13
#define Module_MajorVersion_CMHG 5.14
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 11 May 1999
#define Module_Date_CMHG 03 Jun 1999
#define Module_MajorVersion "5.13"
#define Module_Version 513
#define Module_MajorVersion "5.14"
#define Module_Version 514
#define Module_MinorVersion ""
#define Module_Date "11 May 1999"
#define Module_Date "03 Jun 1999"
#define Module_FullVersion "5.13"
#define Module_FullVersion "5.14"
......@@ -92,9 +92,15 @@ extern tcp_cc tcp_ccgen; /* global connection count */
#ifndef tcp_random18
#define tcp_random18() ((rand() >> 14) & 0x3ffff)
#endif
#ifdef __riscos
#define TCP_ISSINCR (250*1000) /* increment for tcp_iss each second */
#else
#define TCP_ISSINCR (122*1024 + tcp_random18())
#endif /* __riscos */
#ifndef __riscos
extern tcp_seq tcp_iss; /* tcp initial send seq # */
#endif /* __riscos */
#else
#define TCP_ISSINCR (250*1024) /* increment for tcp_iss each second */
#endif /* KERNEL */
......
......@@ -350,6 +350,9 @@ void tcp_input(struct mbuf *, int);
void tcp_mss(struct tcpcb *, int);
int tcp_mssopt(struct tcpcb *);
void tcp_mtudisc(struct inpcb *, int);
#ifdef __riscos
tcp_seq tcp_newisn(void); /* tcp initial send seq # */
#endif
struct tcpcb *
tcp_newtcpcb(struct inpcb *);
int tcp_output(struct tcpcb *);
......
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