Doubt on dev field in struct packet_type

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

 



Hi,

In the struct packet_type, the description for struct net_device *dev , is said to be the parameter which would allow to have different protocol handlers for different devices or one protocol handler for a specific device.

I don’t understand how this can be done, because the frames which comes to us through an interface , is not processed but queued into the input_pkt_queue before being processed by the driver, so only when the driver processes frames will can it notify the network layer which protocol handler to execute.

So it means that we need to have all the protocol handlers for all devices.

I would appreciate if you could provide an explanantion on this.

 

 

Regards,

Rajendra Stalekar(extn 2016)

Location:- Akruti

Mobile no:- +91 9860501143

 

 


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux