sendto question

2002-09-19 Thread kshitij gunjikar
Hi All, I have question on sendto? If we set the socket address as 255.255.255.255. Will the packet be broadcasted on all (broadcastable) interfaces? I have two broadcastable interfaces but I observed it sends to only one interface? Anything else has to done to send broadcast on all

IP options related question

2002-04-29 Thread kshitij gunjikar
Hi All, I have a question related to record routes in the FreeBSD code. In the ip_dooptions() fn in ip_input.c there is this code in the Record Route option. /* * If no space remains, ignore. */ off--; /* 0 origin */ if (off optlen - (int)sizeof(struct in_addr)) break;

Record Routes

2002-04-24 Thread kshitij gunjikar
Hi All, I have a question related to record routes in the FreeBSD code. In the ip_dooptions() fn in ip_input.c there is this code in the Record Route option. /* * If no space remains, ignore. */ off--; /* 0 origin */ if (off optlen - (int)sizeof(struct in_addr)) break;

icmp related question

2002-03-07 Thread Kshitij Gunjikar
Hi All, Hi I'm studying code for ICMP . there is a piece of code in icmp_input which just returns when we find the ICMP packet length lesser than allowed. if (icmplen ICMP_MINLEN) { icmpstat.icps_tooshort++; goto freeit; } i =

mtod function

2002-01-30 Thread Kshitij Gunjikar
Hi All, I'm new to FreeBSD code. Does mtod function leave 16 bytes required by the hardware in the mbuf and point to IP header? or It points to the hardware area? Regards Kshitij _ Do You Yahoo!? Get your free @yahoo.com address at

RE: urgent question regarding IP-in-IP encapsulation

2002-01-17 Thread Kshitij Gunjikar
Hi Radhika, It's not clear what is not working correctly. The encapsulation, the forwarding ? Also, please ensure that the interface you are forwarding to supports multicasting and you put the source address of the outgoing interface. Regards Kshitij -Original Message- From: [EMAIL

DHCP and IP Input

2002-01-14 Thread Kshitij Gunjikar
Hi All, I have one question? If we have a FreeBSD box configured as a router and we are not supporting a DHCP like protocol then do we drop packets with 0.0.0.0 source address? As per RFC 1812 we must. Regards Kshitij _ Do You Yahoo!?

RE: Filtering packets received through an ipsec tunnel

2002-01-14 Thread Kshitij Gunjikar
6:43 PM To: Kshitij Gunjikar Cc: [EMAIL PROTECTED] Subject: Re: Filtering packets received through an ipsec tunnel Hi, I don't think this is quite correct. The fact that I have a tunnel means I have some relation with the other network, and that I do not trust the network(s) between us

Performance of in_cksum.c

2002-01-12 Thread Kshitij Gunjikar
Hi , I have a question on the in_cksum.c file. Is it optimized to a particular architecture ? If yes which architecture and what is the performance accepted? Regards kshitij _ Do You Yahoo!? Get your free @yahoo.com address at

IP input Options processing

2002-01-10 Thread Kshitij Gunjikar
Hi All, I have a question in the IP input code. If we are able to find the next for a source routed packet why do we change the destination address of the packet. in the file ip_input.c we have the code ip-ip_dst = ipaddr.sin_addr; (void)memcpy(cp