#The file itself has three parts: an interface section, a link section,
#and an x25 (packet level) section.  The order of parameters within a
#section can vary.

#The interface section:
#----------------------

#interface	<id>		# <id> is the minor device number
interface 0			# associated with the xpkt device used for
				# this interface.

#The link section:
#-----------------

#link	<linktype> <control>	# mandatory; indicates start of the link
link hdlc			# section describing the data link
				# characteristics, and also specifies
				# some of the link's properties.  These
				# properties can be in any order.

				# The link type can be "llc" or "hdlc" and 
				# it is mandatory.

				# The control can be either "normal" or 
				# "extended". It is optional for hdlc, 
				# and not required for llc.
				# The default for hdlc is normal; It is always
				# extended for llc

#lsap		<number>	# optional for llc, not required for hdlc.
				# default for for llc is 0x7e

#speed		<number>	# optional for hdlc, not required for llc;
				# link speed in bits/sec, default 9600

#tick		<number>	# optional; timer resolution in ms; default
				# for hdlc 500, llc 500

#poll_timeout	<number>	# optional; poll timeout in ms; default
				# for hdlc 4500, llc 2000

#idle_timeout	<number>	# optional; idle timeout in ms; default for
				# hdlc 18000, for llc 10000

#busy_timeout	<number>	# optional; busy timeout in ms; default for
				# hdlc 6000, llc 6000

#rej_timeout	<number>	# optional; reject timeout in ms; default for
				# hdlc 6000, llc 6000

#ack_timeout	<number>	# optional; ack timeout in ms; default for
				# hdlc 6000, llc 6000

#ack_delay	<number>	# optional; ack delay in ms; default for
				# hdlc 2000, for llc 500

#max_frame_size	<number>	# optional; maximum link frame size in bytes;
				# default for hdlc 133, llc 1031

#max_retries	<number>	# optional; number of times poll will be
				# retried; default for hdlc 10, llc 10

#window_size	<number>	# optional; default for hdlc 7, llc 127

#passive_mode	{yes | no}	# optional for hdlc, not required for llc.
				# default for hdlc is no.
				# if yes, SABM frames will not be sent in
				# response to DM frames, in a loop to
				# re-initalize the link.


#The x25 (packet level) section:
#-------------------------------

#x25 <version> <format> <mode>	# signifies start of section describing
x25	1984 			# packet level, and also some properties;
				# properties can be in any order

				# The version can be "1980" or "1984".
				# It is optional; the default is 1984

				# The format can be "normal" or
				# "extended". It is optional; the default
				# is normal;
				# It determines whether modulo 8 or
				# modulo 128 sequence numbers
				# will be used.

				# The mode can be "dte" or "dce". It is
		 		# optional; the default is dte. This also
				# determines the link address for hdlc.

#address <address>		# mandatory; the X.121 address for this node
address	4042-3851-00		# in DNIC-NTN-SUBADDRESS format, or "NULL".
				# For LLC interfaces, it is necessary to
				# specify NULL in order to inhibit sending
				# the calling address field.

#def_window_size <number>	# optional; default for hdlc is 2, llc 7

#def_throughput	<number>	# optional; default is speed parameter, for
				# hdlc links, and 9600 for llc links; should
				# not exceed speed parameter for hdlc.

#def_packet_size <number>	# optional; default for hdlc is 128, llc 1024

#flow_control_negotiation {yes | no}
				# optional; default is yes; if no, will not
				# negotiate packet and window sizes, will
				# just indicate default to initiator

#throughput_negotiation {yes | no}
				# optional; default is yes; if no, will not
				# negotiate throughput, will just indicate
				# default to initiator

# the following lcn ranges are always written from the point of view of
# a DTE; at least one range must be specified; absence of a range will
# mean that range is null. Also "empty" for null ranges

#lcn_incoming	<number>-<number>
#lcn_two_way	<number>-<number>
#lcn_outgoing	<number>-<number>
lcn_incoming	empty
lcn_two_way	512-575
lcn_outgoing	empty

#restart_timeout <number>	# optional; default is 180 sec

#call_timeout	<number>	# optional; default is 200 sec

#reset_timeout	<number>	# optional; default is 180 sec

#clear_timeout	<number>	# optional; default is 180 sec

#restart_retries <number>	# optional; default is 3

#call_retries	<number>	# optional; default is 1

#reset_retries	<number>	# optional; default is 3

#clear_retries	<number>	# optional; default is 3

#send_buffer_size <number>	# optional; default is 2048

#recv_buffer_size <number>	# optional; default is 2048

#D_bit		{yes|no}	# optional; default is no

#called_address_opt	 	# {full | no_dnic}
				# optional; default is full; if set to
				# no_dnic, DNIC will not be sent on local calls
				# (calls where the called address has the 
				# same DNIC as the DNIC for this link.)

#calling_address_opt		# {full | no_dnic | subaddress_only}
				# optional; default is full
				# Applies to all calls.

#address_prefix <digit>		# optional; default is no prefix;
				# if present, specified prefix digit will
				# be used to indicate presence of
				# DNIC for called and calling address.

#restart_on_reset {yes | no}	# optional; default is yes.
				# if no, virtual circuits will not be
				# restarted when the link is reset.

#interrupt_timeout <number>	# optional; default is 180 sec;
				# range is [0-255].
				# limit the time spent to wait for a
				# "DCE interrupt confirmation" packet.

#iso8208	{yes | no}	# optional; default is no;
				# If present, this parameter is used
				# to indicate whether or not DTE-DTE mode
				# mode is in use over LAPB. Additional
				# ISO8208 checks will be carried to enforce
				# ISO8882 conformance.

#link_msgs	{number}	# optional; default is 1;
				# If present, this parameter indicates
				# whether or not changes in the link state
				# are reported to the console.
				# (applies to UP, DOWN, TIMEOUT states)
				# if 0: no link messages are printed 
				# if 1: link messages are printed to console 
				# if 2: same as 1, but in addition hdlc 
				#       timeouts are reported.
