[LCP]tcp packet timestamping.
Srinath Thiruvengadam
srinath at eikon.tum.de
Thu Jan 30 19:48:01 UTC 2003
hello all,
i was trying to simulate a tcp socket server on userspace.. and i came
across this problem..
I am construction an ip packet with tcp..It goes like this..
packet.tcp.sadd=<address>
packet.tcp.dadd=<address>
packet.tcp.source=<sourceport>
..
..
..
I had to timestamp the tcp packets and i didnt know how to set
the tcp options..if i dont timestamp a normal tcp client doesnot
recognise my packet...I dont understand the timestamp clock and
tsval stuff .. and also how do i set the tcp options.. there are no
specific fields in tcp header structure !
thanks in advance,
best regards
srinath
More information about the linuxCprogramming
mailing list