3 #ifndef ROS_KERN_LINUX_COMPAT_H
4 #error "Do not include compat_todo.h directly"
7 /* These should be moved eventually */
9 /* Plan 9 could use this as a helper */
10 static inline bool is_multicast_ether_addr(uint8_t *mac)
15 /* We have this in devether, probably should expose it */
16 static inline int eaddrcmp(uint8_t *x, uint8_t *y)
18 uint16_t *a = (uint16_t *)x;
19 uint16_t *b = (uint16_t *)y;
21 return (a[0] ^ b[0]) | (a[1] ^ b[1]) | (a[2] ^ b[2]);
26 struct mdio_if_info { // need to interface with mii stuff?
28 struct sk_buff { // block
30 struct skb_shared_info {
32 struct napi_struct { // rewrite stuff
40 struct netdev_phys_item_id {
43 typedef int16_t __sum16;
44 typedef uint16_t __le;
46 typedef int select_queue_fallback_t;