--- zzzz-none-000/linux-5.15.111/net/ipv6/ipv6_sockglue.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/net/ipv6/ipv6_sockglue.c 2024-02-07 09:28:09.000000000 +0000 @@ -17,6 +17,10 @@ * David L Stevens : * - added multicast source filtering API for MLDv2 */ +/* +Includes Intel Corporation's changes/modifications dated: 2014. +Changed/modified portions - Copyright © 2014, Intel Corporation. +*/ #include #include @@ -535,6 +539,12 @@ retv = 0; break; +#ifdef CONFIG_TI_IP_PKTINFO_SOCKOPT + case TI_IPV6_PKTINFO: + np->rxopt.bits.ti_rxinfo = valbool; + retv = 0; + break; +#endif case IPV6_RECVHOPLIMIT: if (optlen < sizeof(int)) goto e_inval; @@ -1222,6 +1232,11 @@ val = np->rxopt.bits.rxinfo; break; +#ifdef CONFIG_TI_IP_PKTINFO_SOCKOPT + case TI_IPV6_PKTINFO: + val = np->rxopt.bits.ti_rxinfo; + break; +#endif case IPV6_2292PKTINFO: val = np->rxopt.bits.rxoinfo; break;