how to create a new packet , and set header fields

sophia wright <[email protected]> Wed, 27 Nov 2013 09:30:55 +0100
Newsgroups gmane.network.routing.click
Message-ID <CAFb6iCa6Ge8vGA89F-RH5VpPHS1zVVJgSZqQ_smj4YpQgKPR7A@mail.gmail.com>
Hello,

i have created my own element on click .
at this moment i want to create  numbers of TCP-reset packets.
I have Dest IP, dest Port, Source IP, source Port , Seq Number and Ack
number .
Based on the above info , i want to create some numbers of reset packets,
Any idea,or some hints , how i could create those with click modular router?

General how to create a new packet ,and how i can set its header field?


thank you in advance
sophia