Review requested: revised patch for bin/41647

2003-10-01 Thread Bruce M Simpson
Hi, It should be possible to set the link layer address of an interface whilst also setting the IP address. Here's a revised patch for ifconfig(8) to add this functionality (against HEAD) based on the one in the PR. There is a problem in that applying this patch modifies syntax such that statemen

IP_TOS and ipv6

2003-10-01 Thread Petri Helenius
What is the right way to set the TRAFFIC CLASS field in ipv6 packets sent from an application? I´m looking for function similar to setsockopt IP_TOS with IPv4. Pete ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net

Re: adding if_dev member to struct ifnet

2003-10-01 Thread Brooks Davis
On Wed, Oct 01, 2003 at 09:34:22AM +0200, Harti Brandt wrote: > On Tue, 30 Sep 2003, Brooks Davis wrote: > > BD>All are within other code. One example is in dev/mii/brgphy.c which a > BD>phy feature is not enabled when it is attached to some MACs. A messier > BD>example is in the new ATM code wh

Re: IP_TOS and ipv6

2003-10-01 Thread Hajimu UMEMOTO
Hi, > On Wed, 01 Oct 2003 19:26:10 +0300 > Petri Helenius <[EMAIL PROTECTED]> said: pete> What is the right way to set the TRAFFIC CLASS field in pete> ipv6 packets sent from an application? I´m looking for pete> function similar to setsockopt IP_TOS with IPv4. TCLASS is not supported in

Re: ADSL PPoA or RFC1483, any solutions ?

2003-10-01 Thread Bruce M Simpson
On Sun, Jun 15, 2003 at 06:55:28AM +0200, Gianmarco Giovannelli wrote: > 1) Any viable solution with FreeBSD for doing that kinds (PPPoA or RFC > 1483) of encapsulation. Using xDSL will be difficult. There is a driver I have picked up for the Lanai chip (Efficient Networks SpeedStream 30x0 series

Re: I would like to tcpdump and get all the packets...

2003-10-01 Thread Bruce M Simpson
On Fri, Sep 19, 2003 at 12:43:44AM +0300, Petri Helenius wrote: > >Shurely you mean tcpdump 3.7.2, which is already imported (by fenner, with > >additional hacks)? > I mean libpcap, which also tcpdump uses, if I´m not mistaken. Look in > contrib/libpcap This is coming up more often. Perhaps we sh

Re: ADSL PPoA or RFC1483, any solutions ?

2003-10-01 Thread Barney Wolff
On Wed, Oct 01, 2003 at 06:08:56PM +0100, Bruce M Simpson wrote: > On Sun, Jun 15, 2003 at 06:55:28AM +0200, Gianmarco Giovannelli wrote: > > 1) Any viable solution with FreeBSD for doing that kinds (PPPoA or RFC > > 1483) of encapsulation. > > Using xDSL will be difficult. There is a driver I ha

Re: IP_TOS and ipv6

2003-10-01 Thread Petri Helenius
Hajimu UMEMOTO wrote: TCLASS is not supported in current FreeBSD. It will merged into FreeBSD during next KAME merge. Is this planned before or after 5.2? Pete ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net

Re: ADSL PPoA or RFC1483, any solutions ?

2003-10-01 Thread Bruce M Simpson
On Wed, Oct 01, 2003 at 02:17:59PM -0400, Barney Wolff wrote: > Are you talking about running the phone line directly to the fbsd box > with no dsl modem? Yes. Also, PPPoA in FreeBSD is currently only implemented if you use ngatm, because of the signalling involved. RFC 1483 framing is a simple bo

Re: IP_TOS and ipv6

2003-10-01 Thread Hajimu UMEMOTO
Hi, > On Wed, 01 Oct 2003 21:24:45 +0300 > Petri Helenius <[EMAIL PROTECTED]> said: >TCLASS is not supported in current FreeBSD. It will merged into >FreeBSD during next KAME merge. pete> Is this planned before or after 5.2? I wish to merge in time for 5.2-RELEASE. Sincerely, -- Haji

Re: I would like to tcpdump and get all the packets...

2003-10-01 Thread Petri Helenius
Bruce M Simpson wrote: This is coming up more often. Perhaps we should consider net/libpcap-devel and net/tcpdump-devel ports for people who wish to track CVS and/or snapshots of these tools? This might relieve some of the pressure on Bill to update the vendor branch so often. How often is "so

Re: I would like to tcpdump and get all the packets...

2003-10-01 Thread Bruce M Simpson
On Wed, Oct 01, 2003 at 09:45:57PM +0300, Petri Helenius wrote: > How often is "so often"? The vendor branch is over a year old and the > bug that seems to annoy > most real users of bpf has been known for quite a while longer and took > a while to get into > the origin and now it only would nee