invalidating entry from tcpConnTable

Hello Everyone!
I want to invalidate a particular row from the tcpConnectionTable.For this
purpose I will have to remove the corresponding tcpcb from the list of
tcpcbs.
For this there are two ways.
1)Call in_pcbdetach()
OR
2)Call tcp_drop (which sends a RST on other end)

But the problem is that both the functions cant be accessed thru any API
directl or in simle terms cant be called directly from my aplication
program.
Can anyone help me accomplishing this task in any one of the above two ways
or may be in some totally different way?
Thanx for any help in advance
warm regards
Nitin

He who is seeking knowledge should give up comfort,
He who is seeking comfort should give up learning knowledge,
As the knowledge seeker can not get comfort and
a comfort seeker can not learn knowledge.