Re: IPv6 raw socket to send original udp

2006-05-24 Thread Hideki Yamamoto
Hi, One of my collegues helped me. bpf described in the following page is useful. http://canmore.sdf-eu.org/freebsd/bpf.html And libdnet is a wrapper of the bpf on FreeBSD. Code using libdnet seems to be portable with Linux and so on. From: Hideki Yamamoto <[EMAIL PROTECTED]> Subject: IPv6 r

Re: IPv6 raw socket to send original udp

2006-05-17 Thread Robert Watson
On Tue, 16 May 2006, JINMEI Tatuya / [ISO-2022-JP] ¿ÀÌÀãºÈ wrote: So, if a program needs to specify an arbitrary source IPv6 address for outgoing packets, it should use other "packet injection" interface such as BPF. One problem with using BPF for packet injection in IPv4 is that it requires

Re: IPv6 raw socket to send original udp

2006-05-16 Thread JINMEI Tatuya / 神明達哉
> On Mon, 08 May 2006 05:44:51 +0900 (JST), > Hideki Yamamoto <[EMAIL PROTECTED]> said: > I wonder if IPv6 raw socket can be used only for ICMPv6. No, you can use any non built-in protocols on an IPv6 raw socket. In fact, IPv6 PIM daemons use IPv6 raw sockets for IPPROTO_PIM. But... >

Re: IPv6 raw socket to send original udp

2006-05-09 Thread gnn
At Mon, 08 May 2006 05:44:51 +0900 (JST), Hideki Yamamoto wrote: > > > Hi, > > I tried to use pf as a traffic shaper for a streaming server, but > it does not work well. Input of pf is bursted packets within around 20 > msec, but is not bursted packets within around 100 msec or longer. > This t