X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=include%2Flinux%2Fif_tr.h;h=5502f597cf0e8808b582c6bb8d7cc52412bd2d11;hb=f4818900fa3ee1c56e96f6dede7cc4c05ed383d1;hp=6688b414c529277d893445d500e091bcd79d115f;hpb=4d8e11dcc29f4983bec67506d77728a04082e92d;p=mirror_ubuntu-jammy-kernel.git diff --git a/include/linux/if_tr.h b/include/linux/if_tr.h index 6688b414c529..5502f597cf0e 100644 --- a/include/linux/if_tr.h +++ b/include/linux/if_tr.h @@ -19,6 +19,8 @@ #ifndef _LINUX_IF_TR_H #define _LINUX_IF_TR_H +#include /* For __be16 */ + /* IEEE 802.5 Token-Ring magic constants. The frame sizes omit the preamble and FCS/CRC (frame check sequence). */ #define TR_ALEN 6 /* Octets in one token-ring addr */ @@ -41,12 +43,16 @@ struct trh_hdr { }; #ifdef __KERNEL__ +#include #include static inline struct trh_hdr *tr_hdr(const struct sk_buff *skb) { return (struct trh_hdr *)skb->mac.raw; } +#ifdef CONFIG_SYSCTL +extern struct ctl_table tr_table[]; +#endif #endif /* This is an Token-Ring LLC structure */