diff options
| author | Wim Van Sebroeck <wim@iguana.be> | 2007-05-01 02:53:01 -0400 |
|---|---|---|
| committer | Wim Van Sebroeck <wim@iguana.be> | 2007-05-01 02:53:01 -0400 |
| commit | 48a7afe314bfc4d7f50e1608632f503dbba7e013 (patch) | |
| tree | 4a80e6b96321a71affd1bacea817de93be08894b /include/linux/if_ether.h | |
| parent | fb8f7ba077b5c665432082ab205bcd2cb01f6a3c (diff) | |
| parent | dc87c3985e9b442c60994308a96f887579addc39 (diff) | |
Merge /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'include/linux/if_ether.h')
| -rw-r--r-- | include/linux/if_ether.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h index ab08f35cbc35..1db774cf9dc2 100644 --- a/include/linux/if_ether.h +++ b/include/linux/if_ether.h | |||
| @@ -61,6 +61,7 @@ | |||
| 61 | #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ | 61 | #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ |
| 62 | #define ETH_P_IPX 0x8137 /* IPX over DIX */ | 62 | #define ETH_P_IPX 0x8137 /* IPX over DIX */ |
| 63 | #define ETH_P_IPV6 0x86DD /* IPv6 over bluebook */ | 63 | #define ETH_P_IPV6 0x86DD /* IPv6 over bluebook */ |
| 64 | #define ETH_P_PAUSE 0x8808 /* IEEE Pause frames. See 802.3 31B */ | ||
| 64 | #define ETH_P_SLOW 0x8809 /* Slow Protocol. See 802.3ad 43B */ | 65 | #define ETH_P_SLOW 0x8809 /* Slow Protocol. See 802.3ad 43B */ |
| 65 | #define ETH_P_WCCP 0x883E /* Web-cache coordination protocol | 66 | #define ETH_P_WCCP 0x883E /* Web-cache coordination protocol |
| 66 | * defined in draft-wilson-wrec-wccp-v2-00.txt */ | 67 | * defined in draft-wilson-wrec-wccp-v2-00.txt */ |
| @@ -112,7 +113,7 @@ struct ethhdr { | |||
| 112 | 113 | ||
| 113 | static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) | 114 | static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) |
| 114 | { | 115 | { |
| 115 | return (struct ethhdr *)skb->mac.raw; | 116 | return (struct ethhdr *)skb_mac_header(skb); |
| 116 | } | 117 | } |
| 117 | 118 | ||
| 118 | #ifdef CONFIG_SYSCTL | 119 | #ifdef CONFIG_SYSCTL |
