--- zzzz-none-000/linux-2.6.39.4/include/linux/in6.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/include/linux/in6.h 2021-11-10 13:23:10.000000000 +0000 @@ -287,4 +287,24 @@ * MRT6_PIM 208 * (reserved) 209 */ + +#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