--- zzzz-none-000/linux-5.15.111/include/uapi/linux/in6.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/include/uapi/linux/in6.h 2024-02-07 09:28:08.000000000 +0000 @@ -18,6 +18,10 @@ * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ +/* +Includes Intel Corporation's changes/modifications dated: 2014. +Changed/modified portions - Copyright © 2014, Intel Corporation. +*/ #ifndef _UAPI_LINUX_IN6_H #define _UAPI_LINUX_IN6_H @@ -299,4 +303,24 @@ * ... * MRT6_MAX */ + +#ifdef CONFIG_TI_IP_PKTINFO_SOCKOPT +#define TI_IPV6_PKTINFO 81 +#endif +/* +* TI Extension: +* data structure for passing the needed information +* about the incoming packet. Currently we only need a small element +*/ +#ifdef CONFIG_TI_IP_PKTINFO_SOCKOPT +# ifndef TI_PKTINFO_STRUCT +# define TI_PKTINFO_STRUCT +struct ti_pktinfo +{ + int ifcpe_side; + char mac_addr[6]; +}; +# endif +#endif + #endif /* _UAPI_LINUX_IN6_H */