diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /include/linux/if_ether.h | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'include/linux/if_ether.h')
-rw-r--r-- | include/linux/if_ether.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h index bed7a4682b90..0065ffd3226b 100644 --- a/include/linux/if_ether.h +++ b/include/linux/if_ether.h | |||
@@ -72,6 +72,7 @@ | |||
72 | #define ETH_P_MPLS_UC 0x8847 /* MPLS Unicast traffic */ | 72 | #define ETH_P_MPLS_UC 0x8847 /* MPLS Unicast traffic */ |
73 | #define ETH_P_MPLS_MC 0x8848 /* MPLS Multicast traffic */ | 73 | #define ETH_P_MPLS_MC 0x8848 /* MPLS Multicast traffic */ |
74 | #define ETH_P_ATMMPOA 0x884c /* MultiProtocol Over ATM */ | 74 | #define ETH_P_ATMMPOA 0x884c /* MultiProtocol Over ATM */ |
75 | #define ETH_P_LINK_CTL 0x886c /* HPNA, wlan link local tunnel */ | ||
75 | #define ETH_P_ATMFATE 0x8884 /* Frame-based ATM Transport | 76 | #define ETH_P_ATMFATE 0x8884 /* Frame-based ATM Transport |
76 | * over Ethernet | 77 | * over Ethernet |
77 | */ | 78 | */ |
@@ -131,14 +132,9 @@ static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) | |||
131 | 132 | ||
132 | int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr); | 133 | int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr); |
133 | 134 | ||
134 | #ifdef CONFIG_SYSCTL | 135 | int mac_pton(const char *s, u8 *mac); |
135 | extern struct ctl_table ether_table[]; | ||
136 | #endif | ||
137 | |||
138 | extern ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len); | 136 | extern ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len); |
139 | 137 | ||
140 | #define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x" | ||
141 | |||
142 | #endif | 138 | #endif |
143 | 139 | ||
144 | #endif /* _LINUX_IF_ETHER_H */ | 140 | #endif /* _LINUX_IF_ETHER_H */ |