📄 wattcp.cfg
字号:
# Not implemented yet. Hence no effect.
#
tcp.opt.wscale = 0 ; optional
#
# Default receive window used for opening active connections.
# This value currently only has effect on BSD sockets. Should be
# a multiple of MSS for best performance.
#
# Note: If using NDIS3PKT this value is clamped to 5000 due to buffer
# limitations in NDIS.
#
tcp.recv_win = 16384 ; optional
#
# Path MTU discovery on opening TCP connections (ref. RFC1323)
# Not implemented yet, hence no effect.
#
tcp.mtu_discovery = 0 ; optional
#
# Enable "Path MTU Black-hole detection" (ref. RFC1323)
# Not implemented yet, hence no effect.
#
tcp.blackhole_detect = 0 ; optional
#
# TCP Timers
#
tcp.timer.open_to = 1000 ; TCP open timer value
tcp.timer.close_to = 1000 ; TCP close timer value
tcp.timer.rto_add = 100 ; added value in RTO calculation
tcp.timer.rto_base = 10 ; base RTO value
tcp.timer.rto_scale = 64 ; scaling factor for delayed ACKs
tcp.timer.reset_to = 100 ; time for sending RST
tcp.timer.retran_to = 10 ; time for doing retransmits
tcp.timer.max_vjsa = 80000 ; Max VJ standard average; SRTT (80s)
tcp.timer.max_vjsd = 20000 ; Max VJ standard deviation; RTTVAR (20s)
#
# Time from connection is idle (no data sent/received) to starting
# sending TCP keepalive probes. Only used by BSD-sockets and if socket-
# option SO_KEEPALIVE is set on the socket.
#
tcp.timer.keepalive = 120 ; optional
#
# The interval between TCP keepalive probes. I.e. time until the 2nd
# probe is sent provided the connection is still idle and no ACK is
# received on the 1st probe.
#
tcp.timer.keepintvl = 30
#
# How long to send keep alive probes. If no replying ACK is received in
# this period, the connection is considered dead (the host vanished).
#
tcp.timer.max_idle = 60
#
# Sending an "ICMP Mask Request" message after startup may help isolate
# problems caused by setting wrong netmask (see above).
# The ICMP message is sent as link-layer broadcast and destination IP
# 255.255.255.255.
# There must be a host on the subnet that can answer this ICMP request.
# A warning ("Conflicting net-mask from ICMP Addr Mask Reply") is printed
# if the 2 netmasks differ. Refer RFC-950 for details.
#
icmp_mask_req = 0 ; optional
#
# IP-address (or name) of cookie server(s) used by the COOKIE program.
# Most WinNT servers have cookie jars (allthough dull quotes).
# No default.
#
# cookie = 0.0.0.0 ; optional
#
# "ETC" is an environment variable that should point to your Waterloo
# bin-directory.
#
# File specifying the language translations for all strings internal
# to Waterloo. Only German (de), Norwegian (no) and Swedish (se)
# translations are included at the moment. The WATLANG.TXT file is
# very incomplete at this moment, so the effective language is English (en).
#
# language = en,$(ETC)\watlang.txt
#
# File specifying the list of <host-names> to <IPv4-address> mappings.
# This file is queried before any DNS-host is queried.
# Note: Windows users may use the `hosts' file of the system.
# On Win95/98/ME use `hosts = $(WINDIR)\system\hosts'
# On WinNT/2K/XP use `hosts = $(WINDIR)\system32\drivers\etc\hosts'
#
# Same note applies to the `services', `protocol' and `networks' files.
#
# There can be several hosts files; simply insert several "hosts = file"
# lines below this line.
#
# hosts = $(ETC)\hosts ; optional
#
# File specifying the list of <service-name> to <protocol> mappings.
# This file is used by the <netdb.h> functions (getservbyname() etc).
#
# services = $(ETC)\services ; optional
#
# File specifying the list of <IP-protocol-name> to <IP-protocol-numbers>
# mappings. This file is used by the <netdb.h> functions (getprotobyname()
# etc).
#
# Note: this file should NOT be named `protocols' to avoid problems under
# Win95/98 and targets supporting long file-names (e.g. djgpp)
#
# protocols = $(ETC)\protocol ; optional
#
# File specifying the list of <network-numers> to <domain-names>
# mappings. This file is used by the <netdb.h> functions (getnetbyname() etc).
#
# networks = $(ETC)\networks ; optional
#
# File specifying the list of <ether-address> to <host-names> mappings.
# Similar function as "ETHIP" keyword below (static ARP cache) except that
# ethers-file uses hostnames or IP addresses. If using hostnames there
# should be a <ip-address> mapping defined in the "$(ETC)\hosts" file.
#
# Note: The "$(ETC)\ethers" file is only effective if library was compiled
# with `USE_ETHERS' (ref. .\src\config.h). File is read and parsed
# after all other configurable options have been read.
#
# ethers = $(ETC)\ethers ; optional
#
# Measure execution speed for certain Watt-32 functions. Only effective
# for 32-bit djgpp, Watcom, DMC and High-C programs running on Pentium
# (the RDTSC instruction is used). Results are written to file WATTCP.PRO
# in current directory.
#
profile = 0 ; optional
#
# Watt-32 DHCP configuration
#
# DHCP server address (broadcast)
#
dhcp.server = 0.0.0.0
#
# Enable DHCP trace messages
#
dhcp.trace = 0
#
# broadcast flag for older DHCP daemons (or WinNT)
# Should force the servers to reply by broadcast.
# Note: Many DHCP server ignore this flag and always reply by
# broadcast.
#
dhcp.bcast = 1
#
# timeout while waiting for DHCP offer
#
dhcp.timeout = 10
#
# Number of DHCP discover retries
#
dhcp.retries = 3
#
# Do an ARP Request on our assigned IP. I.e. send an ARP request
# to check if the assigned IP-address is really vacant. Decline the
# assignment if someone replies to our ARP request.
#
# Not to be confused with a `gratuitous ARP'. Watt-32 always do that
# after a DHCP assignment. And also if "ARP.GRATIOTOUS = 1" if not
# using DHCP assigned address.
#
dhcp.arpcheck = 0
#
# The file for storing transient configuration.
# Use NUL to disable storing configuration.
#
dhcp.config = $(TEMP)\W32DHCP.TMP
#
#
#
dhcp.req_list = 3,6,8,9,12,15,19,20,23,26,35,36,37,38
#
#
#
dhcp.userclass = value1,value2 ; see RFC-3004
#
#
#
dhcp.vendclass = "Watt-32" ; RFC-2132, option 60
#
# Configuration of sent/received IPv4 headers.
#
# Default "Time To Live" field in outgoing headers.
# A value between 0 (keep traffic on local LAN) and 255 is accepted.
#
ip.def_ttl = 254 ; optional
#
# Default "Type Of Service" field in outgoing headers.
# A 8-bit hex value:
# 0x00 = Unspecified
# 0x02 = Minimum cost
# 0x04 = Reliability
# 0x08 = High throughput
# 0x10 = Low delay
#
# Note: Other bits are masked off before transmission.
# If TOS on incoming packets is > 0, this TOS is used on all
# outgoing packets also.
#
ip.def_tos = 0x00 ; optional
#
# default increment of IP identifiers in outgoing headers.
#
ip.id_incr = 1 ; optional
#
# Default fragment reassembly time (sec) in incoming headers.
#
ip.frag_reasm = 15 ; optional
#
# Control fragment bit in IP-header. Affects all outgoing headers.
#
ip.dont_frag = 0 ; optional
#
# Enable the internal loopback device (at 127.x.x.x).
# Only effctive if compiled with USE_LOOPBACK.
#
ip.loopback = 1 ; optional
#
# IPv6 configuration
#
# The address of this machine. Default address (preferred link-local) is
# extracted from the MAC-address; FE80::201:80FF:FE + last 3 bytes of
# MAC-address. The address until a PKTDRVR is found, is the anycast
# address (all zeros).
#
ip6.my_ip = :: ; optional
#
# File specifying the list of <host-names> to <IPv6-address> mappings.
# This file is queried before any DNS-host is queried.
#
# There can be several hosts files; simply insert several "ip6.hosts = file"
# lines below this line. The above "$(ETC)\hosts" file is not used for
# IPv6 addresses at this time.
#
ip6.hosts6 = $(ETC)\hosts6
#
# NOT FINISHED.
#
# An IPv4 Gateway address to route all IPv4 mapped addresses through.
# E.g. destinations with the "::FFFF" prefix. There can only be one
# 6-to-4 gateway. No default.
#
ip6.6to4_gateway = 0.0.0.0 ; optional
#
# NOT FINISHED.
#
# Address or name of Terodo tunneling 6-to-4 server.
# E.g. 203.254.33.13
# teredo.ipv6.microsoft.com
#
ip6.teredo = 0.0.0.0 ; optional
#
# Default "Time To Live" field in outgoing headers.
# A value between 0 (keep traffic on local LAN) and 255 is accepted.
#
ip6.def_ttl = 254 ; optional
#
# Use the RDTSC instructions for high-resolution timer calculations.
# If 0, use the 8254 timer chip (default).
#
# NOT YET. Use env-var "USE_RDTSC=1" instead.
#
use_rdtsc = 0 ; optional
#
# Protocol debugging stuff (not related to "debug" above).
#
# Activated by calling dbug_init() before calling sock_init()
# from application. Only effective if library was built with USE_DEBUG.
# See "README.TOO" for details.
#
# Name of debug file ("con", "stdout" or "stderr" for console, "nul" for
# NULL-device). Put on RAM-disk for best performance.
#
# djgpp 2.04+ compiled programs may use "/dev/zero" or /dev/full"
# for test purposes.
#
debug.file = wattcp.dbg ; optional
#
# Don't show packets not destined for us or not generated by us.
# A combination of these values can be specified:
#
# ETH -> discard link-layer packets (for EtherNet/TokenRing only) (1)
# ARP -> discard ARP packets (for EtherNet/TokenRing only)
# RARP -> discard RARP packets (for EtherNet/TokenRing only)
# IP -> discard IP packets (for EtherNet/TokenRing/PPP/SLIP)
# BCAST -> discard link-layer broadcast or IP-broadcast
# MCAST -> discard link-layer multicast
# LOOP -> discard packets looped by NDIS3 (2)
# ALL -> discard everything not to/from us.
# NONE -> show all packets received.
#
# Note (1): ETH is also used for Token-Ring meaning MAC header.
#
# Note (2): NDIS and the NDIS3PKT packet-driver will loop all generated
# broadcast traffic in all receive-modes. In promiscous mode
# (PKT.RXMODE = 6) it will also loop all non-broadcast traffic
# generated by the interface. Thus packets sent by us will show
# up approximately 50-200 msec later.
#
debug.filter = all ; optional
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -