if_ether.h (1da177e4c3f41524e886b7f1b8a0c1fc7321cac2) | if_ether.h (20380731bc2897f2952ae055420972ded4cd786e) |
---|---|
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 --- 96 unchanged lines hidden (view full) --- 105 106#ifdef __KERNEL__ 107#include <linux/skbuff.h> 108 109static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) 110{ 111 return (struct ethhdr *)skb->mac.raw; 112} | 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 --- 96 unchanged lines hidden (view full) --- 105 106#ifdef __KERNEL__ 107#include <linux/skbuff.h> 108 109static inline struct ethhdr *eth_hdr(const struct sk_buff *skb) 110{ 111 return (struct ethhdr *)skb->mac.raw; 112} |
113 114extern struct ctl_table ether_table[]; |
|
113#endif 114 115#endif /* _LINUX_IF_ETHER_H */ | 115#endif 116 117#endif /* _LINUX_IF_ETHER_H */ |