lkml.org 
[lkml]   [2009]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectNetwork device with variable hard header len
Hi,

Sorry if this a dumb question. Currently I'm programming a driver for
the devices with variable network header len. From the Linux net stack
perspective what should I do: set netdev->hard_header_len to maximum
possible header and use less space that specified there or set
netdev->needed_headroom to that value?

If that metters, I'll be implementing my own set of header_ops in any
case.

Thank you

--
With best wishes
Dmitry



\
 
 \ /
  Last update: 2009-01-10 12:33    [W:0.034 / U:0.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site