Re: IP option processing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 13, 2000 at 01:26:56PM +0530, Sarada Seshadri wrote:
> Hi:
> 
> I've a C program which uses a datagram socket for communication.
> Some packets sent on the socket have the Router Alert option set.
> At the router's end I want a user space routine to look at packets
> with the RA option set and process them. I use the packet capture
> library which gets the reqd packets but the packets are also forwarded 
> by the default action of the router.

Use IP_ROUTER_ALERT on a raw socket instead. See the ip(7) man page
for details.


-Andi

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux