summaryrefslogtreecommitdiff
path: root/net/ethernet/eth.c
AgeCommit message (Collapse)Author
2004-12-27[NET]: Mark eth_header_parse static.Adrian Bunk
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-11-10[NET]: Remove net_init.c ifdef clutter.Christoph Hellwig
Signed-off-by: David S. Miller <davem@davemloft.net>
2004-10-05[SKBUFF] introduce eth_hdr(skb)Arnaldo Carvalho de Melo
This is the start of a series of patches to remove protocol specific stuff out of include/linux/skbuff.h and to make the struct sk_buff header pointers private, i.e. they will only be accessible thru foo_hdr(skb) and some other accessor functions. Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br> Signed-off-by: David S. Miller <davem@redhat.com>
2004-08-30[ETH]: Zap NET_CLS_ACT ifdef.Jamal Hadi Salim
Signed-off-by: Jamal Hadi Salim <hadi@znyx.com> Signed-off-by: David S. Miller <davem@redhat.com>
2004-06-15[NET]: Add tc extensions infrastructure.Jamal Hadi Salim
Signed-off-by: Jamal Hadi Salim <hadi@znyx.com> Signed-off-by: David S. Miller <davem@redhat.com>
2003-09-28o NET: move net/802/*.c EXPORT_SYMBOLs from net/netsyms.cArnaldo Carvalho de Melo
Also add #include <linux/netdevice.h> to include/net/pkt_sched.h, as it uses functions defined on this include (netif_queue_stopped, etc). Ah, the other datalink stuff was moved as well (eth.c, pe2.c)
2003-06-19[NET]: Size hh_cache->hh_data more appropriately.David S. Miller
2002-09-29NET: Do not use dev->hard_header_len in eth_type_trans()Kai Germaschewski
eth_type_trans() currently pulls dev->hard_header_len off a frame passed to it, however always interpreting it as a ethernet header. Grepping shows that it is only used on net devices where dev->hard_header_len == ETH_HLEN. It makes more sense to actually pull of ETH_HLEN for the header (it's treated as a struct of the length anyway), not changing the behavior for the existing users but allowing two places which had to use their private copies of eth_trans_type to use the generic routine now. One place is in drivers/net/hamachi.c and converted in this cset, the other one is in the ISDN network code, patch will follow.
2002-09-29NET: Do not use dev->hard_header_len in eth_header()Kai Germaschewski
The actual return value of eth_header() is never used, only its sign. So it does not make a difference if we return dev->hard_header_len or ETH_HLEN, but the latter makes more sense as that is the number of bytes we added to the front of the frame. For 99% of the drivers, dev->hard_header_len == ETH_HLEN, so no difference at all, but if a driver actually needs additional headroom and thus has dev->hard_header_len > ETH_HLEN, the process of building the ethernet header should not care at all.
2002-02-04v2.4.2 -> v2.4.2.1Linus Torvalds
- Chris Mason: reiserfs, another null bytes bug - Andrea Arkangeli: make SMP Athlon build - Alexander Zarochentcev: reiserfs directory fsync SMP locking fix - Jeff Garzik: PCI network driver updates - Alan Cox: continue merging - Ingo Molnar: fix RAID AUTORUN ioctl, scheduling improvements
2002-02-04Import changesetLinus Torvalds