Subject: Re: construct a TCP SYN packet
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 05/12/2001 00:11:51
In article <200105110808.f4B88t925087@gnuchina.org>,
suxm <suxm@gnuchina.org> wrote:
>Hello, everyone.
>I need to contruct a TCP SYN packet in the netbsd kernel and send it out,
>but I don't want to deal with the complicated tcpcb struct.
>Would anyone like to tell me where to find some similar codes or how to do?
>
you can easily do this in userland. Use raw sockets.
christos