Re: Shaper driver in drivers/net/shaper.c

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

 



Hi,

Referring to Alan's article on "Network buffers and memory mangement", he
is the only person who has ever mentioned something about
skb_queue_head_init() is some lines. (found out by lots of googling).

It seems previously there was a member in the 'device' struct called
'buffers' for packets with different kernel priorities. 

What is the current equivalent feature now (2.2 & 2.4)? More specifically,
do i need to initialize a sk_buff_head for every software device I create?
And which routines directly act on these queues?

TIA
Regards,
Amit

On Fri, 1 Mar 2002, Alan Cox wrote:

> >   How do I provide an ioctl interface to the virtual devices which allows 
> > creation, deletion, configuration of these devices when i *havent* yet 
> > created/registered even a single virtual device?
> 
> Well observed. The answer is there isn't a mechanism for doing it. You
> either register a char device or a "fake" master network device that
> supports "make me a new one of these" ioctls
> 

-- 
I'm an angel!!! Honest!
The horns are just there to hold the halo up straight.
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774
____________________________________________________

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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