I would like to know whether there is any config file that i can refer to for the result of 'ndd -get /dev/tcp tcp_time_wait_interval'?
When i man 'ndd', there is one statement which is -> Each driver chooses which parameters to make visible using ndd. Does it answering my question above that there isn't any config file that i can actually refer to for the outcome or otherwise?
The settings that you set with an "ndd -set" command can also be set in the /etc/system file, I am not aware of where one can find the result of an "ndd -set" in a file and the fact the change is lost on reboot indicates that it is only set in memory, the methods of making ndd(1m) type changes permanent is to either call ndd from an rc script or SF service or to put them into /etc/system (the latter is better because it has an affect as soon as is possible during the boot process.
IIRC correctly a list of all the parameters for a given driver may be obtained by running for example:
# ndd -get /dev/tcp \?
N.B. Running "ndd -get" is how you would confirm that a run of "ndd -set" has changed something.