if_ether.h (97eb3f24352ec6632c2127b35d8087d2a809a9b9) | if_ether.h (4940fc889e1e63667a15243028ddcd84d471cd8e) |
---|---|
1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Global definitions for the Ethernet IEEE 802.3 interface. 7 * 8 * Version: @(#)if_ether.h 1.0.1a 02/08/94 --- 122 unchanged lines hidden (view full) --- 131} 132 133int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr); 134 135#ifdef CONFIG_SYSCTL 136extern struct ctl_table ether_table[]; 137#endif 138 | 1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Global definitions for the Ethernet IEEE 802.3 interface. 7 * 8 * Version: @(#)if_ether.h 1.0.1a 02/08/94 --- 122 unchanged lines hidden (view full) --- 131} 132 133int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr); 134 135#ifdef CONFIG_SYSCTL 136extern struct ctl_table ether_table[]; 137#endif 138 |
139int mac_pton(const char *s, u8 *mac); |
|
139extern ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len); 140 141#endif 142 143#endif /* _LINUX_IF_ETHER_H */ | 140extern ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len); 141 142#endif 143 144#endif /* _LINUX_IF_ETHER_H */ |