--- zzzz-none-000/linux-2.6.28.10/include/linux/in6.h 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/include/linux/in6.h 2011-04-05 15:54:27.000000000 +0000 @@ -268,6 +268,24 @@ #define IPV6_PREFER_SRC_CGA 0x0008 #define IPV6_PREFER_SRC_NONCGA 0x0800 +#ifdef CONFIG_TI_IP_PKTINFO_SOCKOPT +/* + * TI Extension: + * data structure for passing the needed information + * about the incoming packet. Currently we only need a small element + */ +#define TI_IPV6_PKTINFO 81 + +#ifndef TI_PKTINFO_STRUCT +#define TI_PKTINFO_STRUCT +struct ti_pktinfo +{ + int ifcpe_side; + char mac_addr[6]; +}; +#endif +#endif + /* * Multicast Routing: * see include/linux/mroute6.h.