[Prev][Next][Index][Thread]
Re: my ARP message
On Tue, 29 Oct 1996, Ira Abramov wrote:
> case ARPHRD_IEEE802:
> if(arp->ar_pro != htons(ETH_P_IP))
> {
> kfree_skb(skb, FREE_READ);
> return 0;
> }
> break;
>
> default:
> printk(KERN_ERR "ARP: dev->type mangled!\n");
> kfree_skb(skb, FREE_READ);
> return 0;
>
try replacing the line
printk(KERN_ERR "ARP: dev->type mangled!\n");
with
printk(KERN_ERR "ARP: dev->type mangled! %d %s\n",dev->type, dev->name);
This will give you a number. Look in /usr/include/linux/if_arp.h to see
what the possibilities are. Maybe some ARPHRD_SLIP or ARPHDR_PPP is
slipping into the arp stream, possibly due to proxyarp configuration
or something of that nature. Your arp_rcv() function is prolly
not prepared to handle some of the psuedo-arp types.
--randy
Randy Wright randy@ramat-negev.org.il
System Administrator - Ramat-Negev FreeNet
http://www.ramat-negev.org.il/
07-6572671 voice-telephone
References: