test

2001-10-04 Thread Juan Fco Rodriguez Hervella
test -- * Juan F. Rodriguez Hervella Universidad Carlos III de Madrid To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

test

2001-10-03 Thread Juan Fco Rodriguez Hervella
test -- * Juan F. Rodriguez Hervella Universidad Carlos III de Madrid To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: How to increase TCP and UDP buffers (for IPv4/IPv6)

2001-10-03 Thread Juan Fco Rodriguez Hervella
Hello: It does exist something like "ifconfig txqueuelen" in FreeBSD to change the transmit queue of a device ? note: Im not talking about "ipintrq", the IP input queue. I mean "transmit queue of device". Thanks! -- * Juan F. Rodriguez Hervella Universidad Carlo

Re: How to increase TCP and UDP buffers (for IPv4/IPv6)

2001-10-02 Thread Juan Fco Rodriguez Hervella
Luigi Rizzo wrote: > > > Hi: > > > > It's possible to increase the TCP and UDP buffers ? > > > > I've had problems with UDP packets of 64 bytes discarded with a bandwith > > of 2-3 Mbits, using a FreeBSD-4.3 router in a link of 10 Mbits. > > a router does not buffer through traffic in a socket b

How to increase TCP and UDP buffers (for IPv4/IPv6)

2001-10-02 Thread Juan Fco Rodriguez Hervella
Hi: It's possible to increase the TCP and UDP buffers ? I've had problems with UDP packets of 64 bytes discarded with a bandwith of 2-3 Mbits, using a FreeBSD-4.3 router in a link of 10 Mbits. Thanks. -- * Juan F. Rodriguez Hervella Universidad Carlos III de Mad

How to send packets to another interface on the same machine

2001-07-03 Thread Juan Fco Rodriguez Hervella
Dear all: I have the following problem: I would like to send an IPv6 packet using a given interface, to the address that corresponds to another interface of the same machine. This, that seems a bit akward, it would be interesting for obtaining accurate packet latency results to test other sys

ftp.c understanding

2001-07-03 Thread Juan Fco Rodriguez Hervella
Hi: Inside /usr/src/usr.bin/ftp/ftp.c:initconn(), I can not understand the following piece of code: My problem is with SO_REUSEADDR. The first time, sendport = -1, so data_addr.su_port = 0 and SO_REUSEADDR is not call. Then the port is send to the server. If something goes wrong, sendport =0 &&

SYSCTL_IN/SYSCTL_OUT understanding

2001-06-18 Thread Juan Fco Rodriguez Hervella
Hi: I dont understand the macros SYSCTL_IN / SYSCTL_OUT in FreeBSD-4.3 kernel files. Someone can I help me ? What is it his behaviour ? -- * JFRH * To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Please help me

2001-06-13 Thread Juan Fco Rodriguez Hervella
Hi all: I am trying to make a kernel modification to add automatically a Routing Header before send the packet. I am using KAME kernel. I have found the following structure in netinet6/ipv6_var.h: /* Routing header related info */ struct ip6po_rhinfo { struct ip6_rthdr *ip6po_rhi_rth

Re: add static route

2001-06-13 Thread Juan Fco Rodriguez Hervella
Anastasia Leventi-Peetz escribió: > > I am trying to add a static route to the kernel tables > and read the route Manpage to this purpose > > I've tried a lot but I get almost the same message: > "bad address" > > what's wrong with the command? > > route add -inet6 bla.bla.bla::/48 -iface xl0

Re: a comment about a recent change on the route(8) command

2001-06-13 Thread Juan Fco Rodriguez Hervella
JINMEI Tatuya / $B?@L@C#:H(B escribió: > > I have a tiny comment about the following change to the route(8) > command: > http://www.jp.FreeBSD.org/cgi/cvsweb.cgi/src/sbin/route/route.c.diff?r1=1.49&r2=1.50 > > In the commit log, the committer said > > Fixed the -iface breakage introduced wi

Re: Automatic tunneling

2001-06-13 Thread Juan Fco Rodriguez Hervella
The automatic tunneling uses addresses of the form ::, so if you detect that the destination is of this form, means that the packet should be 'automatically' encapsulated. Correct me if I am wrong. [EMAIL PROTECTED] escribió: > > Hi, > My this doubt is regarding automatic tunneling. I know that

Re: How to count frames transmitted through the ethernet card.

2001-06-07 Thread Juan Fco Rodriguez Hervella
That is my problem, If sendto() *not* always returns ENOBUFS, I need to know the packets what are actually transmited... >> Hello: >> >> I am doing a program that sends udp packets. I have a counter >> and each time I send a packet with "sendto()", I increment the value >> of this variable. >>

How to count frames transmitted through the ethernet card.

2001-06-07 Thread Juan Fco Rodriguez Hervella
Hello: I am doing a program that sends udp packets. I have a counter and each time I send a packet with "sendto()", I increment the value of this variable. But I would like to count the frames that are being actually transmitted, through the ethernet card, some like the ifconfig/netstat. I woul