linux network driver problem..

Anandvel (anandvel@sasi.com)
Mon, 22 Nov 1999 17:18:39 +0530


I'm writing a linux network driver for an NIC. I'm using Rubini's book
Linux device drivers, and was trying to run the example code snull.c
(which is written for v2.1)

I have linux version 2.2.5-22. My problem is this. While using route add,
i get the following message.

route add -net snullnet0 sn1
SIOCADDRT: Invalid argument

Can anyone tell what is going wrong? how do i debug the
problem?, I'm new to linux drivers, & any help would be
appreciated. I tried going throug route.c, without much success.

Thanks,
Anand.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/