[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FreeBSD kernel module and sending udp packets
- To: Julian Elischer <julian_(_at_)_elischer_(_dot_)_org>
- Subject: Re: FreeBSD kernel module and sending udp packets
- From: Ferner Cilloniz <fernercc_(_at_)_gmail_(_dot_)_com>
- Date: Mon, 08 Dec 2008 12:47:17 +0000
- Cc: freebsd-net_(_at_)_freebsd_(_dot_)_org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=CnCIwhjvxlC9qO9uABAwZaRa21OZZZ3mE+mVQVhX4Ks=; b=b34XKtKZl/sAb7bMniaJbkCmaYZG0XuWImBWDhBOPvMV6/XEtuh5tyYZRCg7HRAcSZ VdRQ5BEo9PbMojnC/YkgKVptLJbXwjH8R3+4JRZweBU79FAGEM4w4yVTYdnhGyOXDYsK lO9UgvvbBQk6wVro85UvUCcSpAWOCq4zfy17g=
Hi Julian. I'm very happy for your help. I have read the guide to
netgraph and find it very interesting :)
I still dont understand when you say "you could give your module a
netgraph interface."
Can you please explain this a little more please?
Thanks.
On Mon, 2008-12-08 at 00:23 -0800, Julian Elischer wrote:
> Ferner Cilloniz wrote:
> > Thanks for the reply. I read something about that but I didn't
> > understand what was being said.
> >
> > Can you please help me in understanding. I have googled for sample code
> > and didn't find anything useful. Can you, or anyone else, please help me
> > understand this?
>
> http://people.freebsd.org/~julian/netgraph.html
>
> >
> > Thanks again :)
> >
> > On Mon, 2008-12-08 at 00:07 -0800, Julian Elischer wrote:
> >> Ferner Cilloniz wrote:
> >>> Hello everyone.
> >>>
> >>> I need help with documentation concerning how to send a udp or tcp
> >>> packet from a kernel module. I have found this information for Linux but
> >>> not for FreeBSD.
> >>>
> >>> Please help me.
> >> you could give your module a netgraph interface. Then it can connect
> >> directly to the ng_ksocket node type and use that. as a nin-kernel socket.
> >>
> >>
> >>
> >>> Thank you :)
> >>>
> >>> _______________________________________________
> >>> freebsd-net_(_at_)_freebsd_(_dot_)_org mailing list
> >>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> >>> To unsubscribe, send any mail to "freebsd-net-unsubscribe_(_at_)_freebsd_(_dot_)_org"
> >
>
--
Cilloniz Bicchi, Ferner
Research Assistant
Dept. of Computer Sciences
The University of Texas at Austin
http://www.cs.utexas.edu/~fernercc
fernercc_(_at_)_cs_(_dot_)_utexas_(_dot_)_edu
_______________________________________________
freebsd-net_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org