|
@@ -279,16 +279,11 @@ struct hh_cache {
|
|
|
*
|
|
|
* We could use other alignment values, but we must maintain the
|
|
|
* relationship HH alignment <= LL alignment.
|
|
|
- *
|
|
|
- * LL_ALLOCATED_SPACE also takes into account the tailroom the device
|
|
|
- * may need.
|
|
|
*/
|
|
|
#define LL_RESERVED_SPACE(dev) \
|
|
|
((((dev)->hard_header_len+(dev)->needed_headroom)&~(HH_DATA_MOD - 1)) + HH_DATA_MOD)
|
|
|
#define LL_RESERVED_SPACE_EXTRA(dev,extra) \
|
|
|
((((dev)->hard_header_len+(dev)->needed_headroom+(extra))&~(HH_DATA_MOD - 1)) + HH_DATA_MOD)
|
|
|
-#define LL_ALLOCATED_SPACE(dev) \
|
|
|
- ((((dev)->hard_header_len+(dev)->needed_headroom+(dev)->needed_tailroom)&~(HH_DATA_MOD - 1)) + HH_DATA_MOD)
|
|
|
|
|
|
struct header_ops {
|
|
|
int (*create) (struct sk_buff *skb, struct net_device *dev,
|