Yan Yu wrote: > > Hi, there, > where( in which file) does TCP agent fill out the initial packet header > info? I checked up tcp.cc and tcpreno.cc, could not find it. > thanks, > yan I believe they what you are looking for is in agent.cc 's Agent::initpkt(Packet * p) const and Agent::allocpkt() const functions. Good luck, Will