1. rtr1011.zip

changes made in c:\prx2bkup\2.02\rtrware dir rtr0211.zip file with
** if proxy's clients have proxy's lan addr as dns server addr in their
	tcp/ip stack & if any such client requests proxy for any dns query on
	UDP protocol, proxy should send dns response to those clients either :
	* any dns query in proxy's dns response cache matches with client's 
	  query of domain name.	If so, proxy sends the dns response directly
	  to client.
	* If no matching is found in cache, proxy will try to proxy that client's
     dns query to the dns server addr configured for proxy & hence will
     send the response as got from dns server addr.

** changes made in dnsresp.c, iprx.c, iprxassm.c of ip dir.
** proxy.c of proxy dir.

2. rtr0812.zip

changes made in devdrvrs\ppp,wandrv,uim dir,
				    applicat\proxy,cfgmgr,telnet dir,
		
for proxy link idle problem, initial dial out needed, proxy only,ras only
proxy or ras port, changes for the same in cfgmgr & telnet dir, buffer
management taken from Anna ( but not completely ), tcp & udp protocol
ports at the same time, proxy any application.

3. rtr1812.zip
--------------*
This zip file has the fix for :

* Initial need to dial out:
---------------------------
** Initial need to dial out set to false & if demand given to trigger for 
the first time to dial is other than icmp.(ping)
*** Changes in proxy.c in get_least_loaded_port.Check for is_triggering_is_needed
is introduced there.

* Link control problem : 
------------------------
** Based on configured number of connections & hosts, when to bring up port
2 & 3 of wan & when not to bring them & thru which port, the connections
should go thru, if any demand comes from the client.
*** changes in proxy.c,
					pr_init.c,
					pr_util.c,
					pr_timer.c,
					linkctrb.c files.
*** Link control based on connections -> For icmp requests, no. of 
    connections are not incremented & while bringing the port down also, 
    not decrementing the connections if protocol is ICMP.
*** Link control based on hosts -> resetting the link control timer 
    for each & every packet so that if no packet is being detected on
    the particular client continuously for say some 3 minutes ( max link
    ctrl time) then no. of hosts can be decremented.
*** While bringing down the port ( ppp_port_down_by_no_demand, ip_port_down)
    deleting the connections & hosts going thru that particular port.          


4. rtr0502.zip
--------------
latest 2.10 zip file with features like : 
* link control & host control problem ( applicat\proxy dir )
* 8 bit & 16 bit tftp read, write, udb & script ( com port as well as 
  tftp ) support. ( rwutils & store & devdrvrs\ppp dir )
* dns caching ( applicat\proxy & stacks\ip dir )
* uim buffer management fixes done by anna. ( devdrvrs\uim & devdrvrs\include dir)
* initial need to dial out. ( devdrvrs\ppp & applicat\proxy dir )
* proxy idle problem. (devdrvrs\ppp dir, devdrvrs\wandrv dir )
* mem_debug changed to 0. ( stdlib dir )
* dialing, answering, dialing & answering feature ( cfgmgr, applicat\telnet )

* devdrvrs\ppp 
	** ppprx.c, mppprx.c, mppptx.c, pppinit.c ( for CCP data compression to
      be enabled & decompress once again after decompressing in ppp, in 
      mlppp is checked.This is working fine now.
* cfgmgr
	** cfgmgr.c
		changes in fn. proxy_get_local_ip, proxy_get_remote_ip, .... to give
      the correct values for port statistics, in case if wan connection
      method is direct connection.
* applicat\telnet
   ** prostat.c, menuwan.c
		To display port statistics correctly.
      To display proxy only, ras only, proxy/ras port correctly in wan port
		setup.   

latest 2.10 proxy rtrware sources with changes in :
* applicat\proxy
	** pr_util.c, pr_init.c, proxy.c, vproxstr.h - bin support for tcp/udp
      user defined port range addition.

* applicat\telnet
	** menuprox.c, menu.h, menufsm.c - telnet support for tcp/udp user defined
		port range addition.

* cfgmgr
	** cminit.c, cmsup.c, cfgmgr.c, cfgmgr.h - cfgmgr support for tcp/udp user
 		defined port range addition.

* include
	** cfgmgr.h

5. rtr0104.zip -> latest 2.10 sources. ( without integrating Imran's changes).
--------------
sources taken from rtr0502.zip.
Changes made for 
1. pasv ftp ctrl connection association problem, 
files changed : applicat\proxy\proxy.c, proxyrb1.c, pr_timer.c,
pr_util.c, vproxstr.h, kproxy.h, proip.h
2. for boot ver 2.00, 
files changed : store\flshwr.c, rtrware.c
rwutils\flashmgr.c
3. ras client not able to do telnet or web to our proxy, 
files changed : stacks\ip\iproute.c
4. able to add any proxy related ini strings if script section is present, 
files changed : cfgmgr\cfgmgr.h, cminit.c
include\cfgmgr.h, incall.h
devdrvrs\script\scrtinit.c, makefile, scrtstr.h, vscrtstr.h,
scrtvnv.h
5. clkocr as told by sir in store\pmain.68k
6. etnernet tx error problem fix taken from firewall in 
devdrvrs\ethernet\ethprt.68k
7. pptp fix. applicat\proxy\pptp.c

changes made for ras clients not able to do telnet or web to our proxy server.
** check of whether the packet_is_meant_for_our_remote_address, has been 
** introduced in stacks\ip\iproute.c file in the function
** ip_get_outgoing_port_number_from_ip_address, so that for ras client response
** packets, tx_port_number is being returned the corresponding wan port number
** instead of lan port number.

changes for the new 8 bit, 16bit hardware support bin to work properly even in
boot ver 2.00
** store\flshwr.c, store\rtrware.c. If bootver is not 2.00.8 or 2.00.16,
** Buswidth is assumed to be 1 (PROM_WIDTH_8BITS).

** rwutils\flashmgr.c.If bootver is not 2.00.8 or 2.00.16 , Buswidth is
** assumed to be 1 as well as 2 flash pages sizes are assumed to be 256  
** if flash id is 1fa4.

** store\rtrware.c , ver number changed as 2.03 & date as 24 March 1999.

changes for telnet & web changes in Proxy Section to be saved correctly, if 
script section is also present in the ini.
** include\cfgmgr.h, cfgmgr\cfgmgr.h, CM_NUMBER_OF_SECTIONS has been 
** increased from 14 to 15 & CM_SCRIPT_SECTION is also introduced as one
** more new section after CM_PROXY_SECTION in CM_SECTIONS var.

** include\incall.h, vscrtstr.h file has been included for script section.
** also script_configuration_table has been defined as extern in incall.h.

** devdrvrs\script\makefile, devdrvrs\script\scrtstr.h, devdrvrs\script\vscrtstr.h
** devdrvrs\script\scrtvnv.h, devdrvrs\script\scrtinit.c
** vscrtstr.h file has been introduced to just store ScriptPrintf struct defn.
** which is being removed from scrtstr.h file.
** in scrtvnv.h, instead of scrtstr.h file, vscrtstr.h has been included.
** in scrtinit.c, vscrtstr.h has been included.
** in makefile, in scrtinit.ol, vscrtstr.h has been included.

** cfgmgr\cminit.c, in array_of_ptrs_to_global_structures byte pointer array,
** scriptprintf struct is also included.Also in sptr_to_configuration_table
** var, script_configuration_table is also added.

6. rtr0504.zip
--------------
sources -> rtr0104.zip
changes from Imran integrated.

7. rtrnat.zip
------------
sources -> rtr0104.zip
changes(proxy any application & nat fix from Sir, nat pasv ftp.)

8. rtr6499.zip
--------------
Brindha's ag bin sources before integration. 

9. rtr0604.zip	latest sources with Brindha's AG module intregated.
--------------
sources -> rtr0504.zip
* changes in :
** applicat\ag dir xcopied.
** stacks\tcp\tcpprobe.c, tcprtx.c ( send_una_amt updated ).
** devdrvrs\serial\serinit.c, serrx.c ( sort of flow control for AG ).
** applicat\telnet\client.c ( rx_complete routine takes one more parameter ).
** include\serial.h ( function prototype for fptr_rx_complete is changed ).
** store\vrtrwstr.h ( initialize_ag function call included ).
** store\mtrlibs ( ag.lib included ).
** nvram\vnvram.h ( ag class, ag_configuration_table included ).
** include\lslproto.h ( SERVER_DISCOVERY_APPLICATION application has been added ).
** include\incall.h ( header files having ag class definition, ag_configuration_table 
	included as extern ).
** include\cfgmgr.h, cfgmgr\cfgmgr.h ( AG_SECTION has been included & number_of
	_sections updated ).
** cfgmgr\cminit.c ( ag class & ag_configuration_table has been included ).
** rtrware\frcmkall.bat ( nmake in ag dir has been added ).

rtr0804.zip	 
-----------
sources -> rtr0604.zip
* changes in :
** stacks\ip\iprx.c, iprxassm.c, iptx.c ( check_and_process_the_packets_to_
   or_from_internet_servers function parameters have been changed ).
** applicat\proxy\proxy.c ( proxy_any_application check in check_if_
   application_port_is_to_be_proxied is moved down ).
** applicat\proxy\proxy.c, pr_timer.c, vproxstr.h ( nat pasv ftp support,
   ftp_command & ftp_data association ).
** stacks\tcp\tcpsock.h, tcpsock.c, tcprtx.c, tcpack.c ( socket_tcp_peek
   function prototype... )
** rtrware\makeall.bat, nmake for AG dir has been added.

rtr0505.zip latest rtrware sources for ver 2.10
-----------
sources -> rtr0804.zip
* changes in the following files :

** rtrware\store
*** flshwr.c, rtrware.c ( removed some bus width printfs )
*** webloc.cmd, nowebloc.cmd ( data segment has moved to last to reduce bin size ) 

** rtrware\include
*** opts ( new file has been introduced to have compile options together )
*** gblmkdef ( this opts file has been included in cflags option )
*** wanmgr.h ( some new functions have been declared externs )

** cfgmgr
*** cfgmgr.c ( new changes for proxy, ag, ras enabled support as well as
    for dial out, dial in, dial out / in port types )

** stdlib
*** makefile ( cflags has been included )

** applicat\snmp
*** makefile ( cflags has been included )

** applicat\telnet
*** menunat.c ( support for 0.0.0.0 as global nat address )
*** ayt.c, client.c
*** menufsm.h, menufsm.c, menu.h ( support for proxy, ag, ras, dial out,
    dial in, dial out / in port menus )
*** menuip.c, menuwan.c ( support for the above )

** applicat\webserve\localapp\src
*** urlfns.c ( wan ini strings "auto_answer" & "dial_answer" have been 
    commented out.To be replaced soon with the appropriate ini strings. )
*** makefile ( cflags has been included )

** applicat\proxy
*** pr_util.c, proxy.c ( support for proxy, ag, ras functionality )

** applicat\ag
*** agsess.c, agtimer.c, agip.c, agnetif.c, agtx.c, agutil.c, agresp.c
	 ( removed some printfs & if ag is not enabled for a pr port, port
	   status has changed to port disabled. )

** devdrvrs\wandrv
*** vnvwan.h ( "auto_answer" & "dial_answer" ini strings are replaced by
	 other strings. )
*** modem.h ( configured_auto_answer var is changed to other var & some new
	 var has been introduced. )
*** initport.c, modem.c, waninit.c, wanconf.c, kwan.h ( some new functions
	 & changes for proxy, ag, ras functionality & dial out, dial in, dial
	 out / in port types. )

** devdrvrs\ppp
*** pppinit.c, ppptimer.c, mpppinit.c, pppdod.c ( proxy, ag, ras functionality )
*** pppstate.c, ppputil.c ( printfs for tx & rx accm )

** devdrvrs\script
*** makefile ( cflags has been included )

** rtrware\rwutils
*** flashmgr.c ( printfs relating to bus width are removed )

** stacks\ip
*** iprxassm.c ( fix taken from sir for in need buffer problem. )
*** iproute.c ( fix taken from sir )
*** makefile ( cflags has been included )

** stacks\ipx\endstatn
*** makefile ( cflags has been included. )

rtr1705.zip 
-----------
sources rtr0505.zip

* changes in :
	** devdrvrs\wandrv
		*** waninit.c (open_serial_port in wan control slightly modified).
		*** modem.c (fix got from Jyothi in MdmStateCmdA function).

	** devdrvrs\ppp
		*** mpppinit.c (removed anna's printfs). 
		*** pppstate.c, ppputil.c (given some printfs).
		*** pppdod.c (ppp_link_active function slightly modified).

	** stacks\ip
		*** iprxassm.c, iproute.c (commented out sir's fix).
		*** iprx.c (given some printf).

	** applicat\proxy
		*** kproxy.h
		*** pptp.c (changed #ifdef DEBUG to #ifdef PPTP_DEBUG).
		*** proxy.c (get_proper_port_to_send_packet,
						 get_outgoing_port_number,
						 check_for_the_descriptor_in_the_current_list,
						 get_dynamic_server_address_from_port_number
			 functions are	slightly changed).
		*** pr_timer.c (printfs for delete nat entry). 						
				
	** applicat\ag
		*** agutil.c (ag_get_port_availability function is changed a bit).

	** applicat\telnet
		*** menufsm.c, menufsm.h, menu.c, dialout.c, client.c, menuchat.c
			 menudhcp.c, menuprox.c, password.c, savebuff.c, menuuser.c,
			 menuapp.c (idata in these files are moved to cdata).

rtr2705.zip
-----------
same as rtr2805.zip but without some optimisations.

rtr2805.zip
-----------
sources -> rtr1705.zip

latest 2.10 rtrware sources with changes in :
** include
*** wanmgr.h (2 new function declarations "is_dialing_initiated_from_
  							proxy....." & "set_dialing_initiated_from.....".)
** applicat\telnet
*** telinit.c, savebuff.c, client.c (few printfs introduced & removed)
*** dialout.c (** in do_modem_hangup_complete function, when telnet dialout
	 client disconnects, if ras is enabled, set modem to answering & enable
	 wan rx & tx.
	 ** in get_port_availability function if port is dial in type, port should
		 not be available for dial out.)

** applicat\proxy
*** vproxstr.h (new var physical_port_for_pasv_ftp_data_connection has been
	 added.)
*** kproxy.h (ctrl_debug #ifdef commented & TELNET_PORT_NUMBER #defined)
*** pr_util.c (#included <wanmgr.h> file, get_first_active_port function
	 changed, new function is_physical_port_available_for_proxying is added)
*** pr_timer.c (#included <wanmgr.h> file, process_total_descriptors_and_	
	 trigger & process_total_number_of_hosts_and_trigger functions are changed)
*** proxyrb1.c (proxy_rb_pasv_ftp_ctrl_client_descriptor_search function is
	 changed)
*** proxy.c (get_proper_port_to_send_packet, get_free_proxy_server_info_ptr,
	 get_least_loaded_port, get_outgoing_port_number functions are changed
	 ** to get the outgoing port number correctly, ** as well as for 
	 application port number being printed as 51400 have been corrected 
	 by putting a proper check.
	 ** check_if_the_packet_is_for_our_NAT_address function changed
	 to allow only telnet port & web port to go thru, if destination address
	 is our wan interface address & no mapping for those addresses.)

** applicat\ag
*** agline.c (commented out set_modem_to_answering_mode call.)

** devdrvrs\wandrv
*** modem.h (new var dialing_initiated_from_proxy_successful has been added)
*** wanconf.c (new function is_port_is_in_use_by_telnet has been added)
*** modem.c (** dialing_initiated_from_proxy_successful var initialised in
	 mdmstateoffline & mdmstatediala functions.
	 ** 2 new functions set_dialing_initiated_from_proxy_successful_to_true
	 & is_dialing_initiated_from_proxy_successful_to_bring_link_up are added.
	 These functions are used to distinguish the "link_down" state of ppp
 	 by either ras client disconnect or proxy_client request not able to 
	 bring up the link after authentication failure.)			
*** waninit.c (in wan_control function, OPEN_SERIAL_PORT switch case, modem_
	 info_ptr->auto_answer var is set to TRUE not only if port is DIAL_IN but
	 also if is_ras_link_coming_up() function returns TRUE.)

** devdrvrs\ppp
*** pppinit.c (in ppp_device_driver_control function, LOWER_DEVICE_DRIVER_
	 DOWN switch case, before making the trigger_port_open state to
	 REOPEN_REQUIRED, proper check of "is_dialing_initiated_from_proxy_
	 successful_to_bring_link_up" function returning false is added.This is
	 because, we need to reopen the link_down port only if it is dialed from
	 proxy & not successful in bringing up the link & not if link_down is
	 due to ras client getting disconnected.)    

** devdrvrs\msm
*** msm.c (printf introduced & removed)

** devdrvrs\serial
*** serinit.c, serrx.c ( printfs introduced & removed)

** stacks\ip
*** ipctrl.c (#included <wanmgr.h>, in bring_up_port function, if is_dialing_
	 initiated_from_this_end is true, set_dialing_initiated_from_proxy_successful
	 _to_true function is called to set the dialing_initiated_from_proxy_
	 successful var.This is used again to distinguish between the link_down
	 state it it occurs, by either ras client getting disconnected or proxy
	 client request unable to bring up the link.)
*** iprx.c (in route_ip_rx_packet function in check_if_packet_is_destined_	
	 to_us if condn, after returning from pass_ip_packet_to_upper_layer func
	 call, we should return as IP_DATA_PACKET_RXED_AND_WAS_FORWARDED if 
	 return_value of pass_ip_packet_to_upper_layer.Because what was happening
	 was, if packet is a proxy_response packet, destination addr will be our
	 interface addr.So after forwarding the response packet, since we were not
	 returning properly from there, it used to match with the check_and_process
	 _the_packets_to_or_from_internet_servers function & used to create nat
	 descriptors unneccessarily.)
*** iprxassm.c (in pass_ip_packet_to_upper_layer function also, the same above
	 mentioned problem was happening due to return value not given properly
	 or missed out somehow in is_proxy_response_packet function returning true)
*** iprxbc.c, iproute.c (printfs introduced & removed)	

rtr1106.zip
-----------
latest rtrware sources shipped to KEVIN on June 11th.
changes include 
* web changes 
** to support proxy, ras, ag functionalities,
** dial_out, dial_in, dial_out_in port types
** AOL,VOIP port numbers addition in proxy application, application filters, 
   nat dynamic entries )
** In Framed view, blank page in RHS replaced by Proxy Port statistics.
** By default standard view is selected instead of framed view.
** Statistics link has been removed from Framed View.
** Ag configurable parameters are added in WAN dialogs with validation.
** In Others option, ag server also included as well as the server name.
** Support for 0.0.0.0 ip address as global address as well as dynamic
   global server address / static global server address for NAT.
** NAT dynamic mapping addition bug has been fixed.
** Wan ras message page has been displayed if needed.
** Interdependency of MLPPP & ras, port_types & function_types has been
   taken care properly.
** In IP port page, remote access address has been displayed only if ras is
   enabled in WAN port page.RAS enabled in IP page is removed.
** Validation of RAS remote address & its uniqueness & being in the same net
   as that of LAN is being taken care of.

* telnet changes 
** AOL,VOIP port numbers addition in proxy application, application filters, 
   nat dynamic entries )
** RAS enabled removed from IP menu.
** Ag configurable parameters are added in AG Port menu, with validation.
** In Others option, ag server also included as well as the server name.
** Interdependency of MLPPP & ras, port_types & function_types has been
   taken care properly.

* Proxy
** get_protocol_port_number function changed to reflect the change in port
   numbers.

* cfgmgr
** changes to add FTP, SSL-FTP, Q931, RTP, RCTP port numbers.

rtr1407.zip
-----------
Sources -> rtr1106.zip
changes in :
* store\rtrware.c -> ver num & date changed.
* include\wanmgr.h -> some var introduced & later defined under #if 0.
* cfgmgr\cfgmgr.c ->form_a_ppp_string function,set_parameter function
  where, if ip_local_addr or ip_remote_addr are changed, for a ras port, 
  writing ppp ras local & remote strings properly.	
* stdlib
  **	calloc.c -> For mem_debug on & off, new global vars birth_time, 
	   timer_ulong, mem_debug_on & total_size_alloced are added.under #if
	   MEM_NO_FREE, some vars are added.
	   add_alloced_address & remove_alloced_address functions are changed a little.
	   clean_alloc_ptrs, print_allocation_table, new functions are added.
	   The while(1) loop for "buffer was never allocated" was commented.
	   In calloc & malloc functions, some changes with mem_debug_on var.	
	   In alloc_cells, some changes with MEM_NO_FREE # define value.
	   In free function, changes with mem_debug_on var.		
	** readme -> Sir has added how to make use of mem_debug_on register
	   debugger.
	** debug.txt -> this new file added.
	** itopts -> MEM_NO_FREE value defined.
	** libinit.c -> total_size_alloced global var declared extern.
	   memory_debugger function to print extra info of total_size_alloced.
		under #if MEM_DEBUG, some functions are defined extern & some global
		var.
	** memory_debugger_switch, new function is added.
	** "mem dbg" & "alloc table", 2 new register_debugger are added.

* applicat\telnet
	** outfsm.c, menuchat.c -> few printfs added & removed.
	** dialout.c -> #define TELNET_MAX_MODEM_ISDN_INIT_STRINGS 8 has been
		added.
		set_modem_to_dialing_mode function has been added as extern.
		In start_dialout function, modem_init_strings pointer to a char
		array, the array index has been increased from 5 to 8.
	   In do_modem_hangup_complete_actions, set_modem_to_dialing_mode
		function is called, in case if ras is not enabled for that port.
		This is to reinit the modem/isdn with all init strings, whenever
		any telnet dialout client disconnects.
	** menuppp.c -> all char array in return statment of all functions are
		typecasted to (BYTE *).
		In modify_ppp_port_setup_hdlr, dial_no char array length has been
		increased from 50 to 60, due to which, it was creating some problem.
		Similarly, in get_parameter, while getting dial_no, length has been
		increased from 40 to 60.
		In upd_modify_ppp_port_setup_hdlr, dial_no, char array length increased
		from 50 to 60.
* applicat\tftp
	** tftpio.c -> user_database_updated var declared extern.
		In tftp_close function, if no.of_users are 0, not being updated properly
      in ptr_ras_user_database, & so displaying wrongly in telnet & web config.
		Fixed this problem by properly updating the "user_database_updated" flag.

* applicat\proxy
	** pr_init.c -> Few printfs related to descriptors are commented out.
	** proxy.c -> \rtrware\store\boot.h file included.
		get_static_server_address_from_interface_address(), new function added.
		get_dns_server_address function, formal parameter, port_number has been
			added newly.( This is because, if dns addr is ISP dynamic during PPP,
			then,for dns caching, that pr dns server addr has to be contacted. )
		"Application ports are..." printf is removed in get_free_proxy_server_
			info_ptr function.
		In process_proxy_ip_packet function, get_dns_server_address has been
			called with outgoing_physical_port as port_number.
		check_if_the_packet_is_for_our_NAT_address function, to prevent any
			0.0.0.0, 0.0.0.1, 0.0.0.2, 0.0.0.3 as dest_addr as well as if any
			0.0.0.0 global addr exists for static mapping, & if request comes
			with wan interface addr as dest addr, the 0.0.0.0 global addr mapped
			local addr has to be resolved internally.
	** pr_util.c -> few printfs has been added.

* applicat\ag
	** agline.c -> #define AG_MAX_MODEM_ISDN_INIT_STRINGS 8 has been added.
		set_modem_to_dialing_mode function declared as extern.
		modem_hangup_complete function, calling set_modem_to_answering_mode
			if ras is enabled & calling set_modem_to_dialing_mode if ras
			is disabled.Also calling enable_wan_tx_rx function.
		setup_port_for_dialout function, modem_init_strings array of char 
			pointer, length increased from 5 to 8.				
* devdrvrs\wandrv
	** kwan.h -> For Packet Prioritization (VOIP), 2 #defines SMALL_PACKETS_FIRST
			& MAXIMUM_SMALL_PACKET_SIZE.
	** wantx.c -> For Packet Prioritization (VOIP), in send_wan_packet function,
			checking if no.of.bytes are less than MAXIMUM_SMALL_PACKET_SIZE.If so,
			adding it in current_first_tx_list.If not, adding it in current_tx_
			list.
		wan_tx_isr_complete function,similar changes for SMALL_PACKETS_FIRST.
	** vwanstr.h -> current_first_tx_list has been added in WAN_PORT_CLASS
			structure.
	** modemsup.c -> In Just_FlushTxBufferUART function, changes for SMALL_		
			PACKETS_FIRST.
	** modem.c -> need_to_proceed_with_modem_dial_state_and_not_idle_state
			a new BOOLEAN var is introduced, which distinguishes whether 
			mdmstatecmdA is called by set_modem_to_dialing_mode ( which should
			go to idle state after transmitting all init strings ) or 
			mdmstateoffline ( which should proceed to dialA state ).
	   set_modem_to_dialing_mode, new function added.
		In mdmstatecmdA, no delay between A & T & rest commands.Sending
			the entire init string in single shot, one by one.Some minor
			changes in mdmstatecmdT, mdmstatecmdRest & mdmstateok.
		In mdmstateresetISDN, if ras is enabled, during proxy down by no
			demand, making that to wait for ras calls.		
		In mdmstatereinit, calling mdmstatedialA function directly.
		In Flush_Rx_Tx_Buffers, current_first_tx_list entries are also added
			into their resp. free_rx_list.
	** wanconf.c -> get_wan_port_dial_in_out_type function added newly.
		In get_wan_modem_init_strings function, if the port is isdn_ta enabled,
			isdn init strings are copied & if not, modem strings are copied.The
			number of modem_init_strings increased from 5 to 8.
	** waninit.c -> first_time_in_dial_out global enum BOOLEAN added, which
			is used to distinguish, whether for the first time, during dial out,
			modem_state is offline, due to dial_out only port & initial_need_to_dial
			_out disabled ( which case it should call set_modem_to_dialing_mode,
			which will init all init strings & will go to mdm_idle state ) or
			due to proxy client, giving demand, & not able to bring up the
			link due to some reason will again restart from modem_offline 
			which inits all init strings & goes to dial A state.  
	** vnvwan.h -> for "ISDN Port Extra Initialization String8", offset has
			been given as that of isdn_info.strings.init_string[6][0] & for
			"ISDN Port Initialization String7", as that of isdn_info.strings.
			init_string[7][0].This is because, String7 corresponds to "AT&W"
			string which is for "Writing".So it should be sent after all init
			strings ( including extra string8 ) are sent.Some changes for this
			are being made in mdmstatecmdA state also.

* devdrvrs\uim
	** smcconf.c -> MAX_NUMBER_OF_MODULES #define value increased from 10 to
		20.

* devdrvrs\uim\chat
	** chatrx.c -> rtrware\store\boot.h file has been included.
		DownloadFlag byte pointer has been declared extern.
		In ChatForeGround function, the DownloadFlag var has been set to
			WARM_BOOT_MODE so that, after timing out occurs ( 5 minutes idle
			time ) in wan device configuration, proxy should warm boot & 
			not cold boot it.

* devdrvrs\ppp
	** pppinit.c -> In initialize_ppp function, checking whether proxy_enabled
		_only port & if so, making the trigger_port_open state of that port
		to be INITIALLY_NOT_REQUIRED is commented out, because, even the port
		is dial_out & proxy_only port, that ports modem or isdn has to be 
		initialized by sending all init strings & wan rx & tx has to be
		enabled for telnet_dial_out to go through.After initing all strings,
		modem can go to idle state.
	** pppupcal.c -> In ppp_event_authenticate_lookup function for CHAP 
			protocol, if no ras records are there, callback negotiations are
			not allowed.
		In ppp_event_authenticate_verify function for PAP protocol, if no 
			ras records are there, callback negotiations are not allowed.
	** pppudb.c -> In check_if_udb_updated function, "if (no_of_user_database_
			records == 0), return (FAIL)" condition is commented out because,
		And one more check of "if (no_of_user_database_records > 0)" has been
			introduced, before start expanding the user data base to DRAM.By
			doing this, in tftp, even if no.of users are 0, that info is 
			correctly being reflected in the ptr_ras_user_database records in 
			DRAM.				
	
* devdrvrs\msm
	** kmsm.h -> #define MAX_MODEM_ISDN_INIT_STRINGS 8 has been added newly.
		In MSM_CLASS, modem_init_string char array column length increased
			accordingly to support both modem as well as isdn strings.
	** msm.c -> In start_modem_init_state_machine, in for loop, test condition
			of i is changed from 5 to MAX_MODEM_ISDN_INIT_STRINGS.
		In msm_wait_for_ok function, in while loop checking condition, 
			msm.current_init_string[port_number] is checked less than MAX_MODEM_
			ISDN_INIT_STRINGS & not with 5.Similarly in the following if 
			condition.
		In is_cd_present function, for all cases of switch stmt, scc2 had been 
			used.This has been changed to reflect the corresponding scc.

* devdrvrs\serial
	** serinit.c -> in stop_tx_on_scc, stop_rx_on_scc, start_tx_on_scc, start_
		rx_on_scc functions, scc numbers have been given wrongly.That is corrected.

* stacks\ip
	** dnsresp.c -> recent_ppp_negotiated_dns_primary_server_address &
			recent_ppp_negotiated_dns_secondary_server_address array of ulong
			vars are declared extern.
		get_dns_server_address function, port_number parameter has been added.
			This function is changed slightly, so that if dns server address
			has been negotiated with ISP, for either primary or secondary or
			both ( whichever has not been negotiated ), then preference is given
			first to those dns server addr rather than configured dns server addr.
	** dnsinit.c -> recent_ppp_negotiated_dns_primary_server_address &
			recent_ppp_negotiated_dns_secondary_server_address array of ulong
			vars are declared with length as MAX_WAN_PORTS.
		In initialize_dns function, the above 2 vars are initialized to 0L.
			Also dns.no_of_connections initialized to 0.
		In update_dns_server_address_in_resolver function, the above 2 new
			vars are assigned.
	** dnstimer.c -> In deinitialize_dns_port function, after freeing,
			dns.port[port_number].dns_resolved_multi_ip_addr.ip_address is 
			assigned to NULL;
	** dnsrx.c -> In free_allocated_buffers function, after freeing a pr
			pointer, it is assigned to NULL.
		Similar change in update_cache_with_new_entry function.
		In check_for_cname_in_ans_section, strncpy is replaced by memcpy in for
			loop.
	** dnstx.c -> In convert_received_name_to_domain_format function, after
			freeing a ptr, it is made to point to NULL.
		In get_ip_address_from_name function, ptr_addr ULONG ptr is introduced.
			This is used to get the ip_addr correctly from the dns_ip_addr.ip_address
			structure & assigned properly to 
				dns.port[port_number].dns_resolved_multi_ip_addr.ip_address structure.
		In resolve_ip_address_from_cache function, dns_cache[i].resource_rec->re_rdata
			has been assigned after typecasting to (ULONG *).
	** udptx.c -> Printf has been commented out.
	
			
			


			
  
