Re: protocol handler

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

 



Are you using dev_add_pack() to register your new protocol ?
I assume this is in the ethernet header....thats what i can recall from 
memory.

Regards,
Amit

On Sun, 23 Dec 2001, Amit Kulkarni wrote:

> Hi all,
> 
> I have a question regarding the packet_type for
> protocol supported by a machine.
> My understanding is that in function net_rx_action it
> checks for the protocol of the incoming packet and
> sends the packet to the input function specified in
> the packet_type (ip_rcv for ipv4).
> 
> Is there anything else that you need to specify/set ?
> Bcoz in my case even though the value of the function
> pointer is correct the function I want is never being
> called (i want it to call ip_rcv for a different
> protocol , I have removed the packet_type for that
> protocol and  added a new one which points to ip_rcv)
> 
> please advise,
> 
> thanks in advance,
> 
> rgds
> Amit
> 
> __________________________________________________
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> http://greetings.yahoo.com
> -
> : send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
The statement below is true.
The statement above is false.
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774
____________________________________________________

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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