Searched refs:src_info (Results 1 – 3 of 3) sorted by relevance
603 struct in6_pktinfo src_info; in ip6_datagram_recv_common_ctl() local606 src_info.ipi6_ifindex = IP6CB(skb)->iif; in ip6_datagram_recv_common_ctl()607 src_info.ipi6_addr = ipv6_hdr(skb)->daddr; in ip6_datagram_recv_common_ctl()609 src_info.ipi6_ifindex = in ip6_datagram_recv_common_ctl()612 &src_info.ipi6_addr); in ip6_datagram_recv_common_ctl()615 if (src_info.ipi6_ifindex >= 0) in ip6_datagram_recv_common_ctl()617 sizeof(src_info), &src_info); in ip6_datagram_recv_common_ctl()697 struct in6_pktinfo src_info; in ip6_datagram_recv_specific_ctl() local699 src_info.ipi6_ifindex = opt->iif; in ip6_datagram_recv_specific_ctl()700 src_info.ipi6_addr = ipv6_hdr(skb)->daddr; in ip6_datagram_recv_specific_ctl()[all …]
1176 struct in6_pktinfo src_info; in do_ipv6_getsockopt() local1177 src_info.ipi6_ifindex = np->mcast_oif ? np->mcast_oif : in do_ipv6_getsockopt()1179 src_info.ipi6_addr = np->mcast_oif ? sk->sk_v6_daddr : np->sticky_pktinfo.ipi6_addr; in do_ipv6_getsockopt()1180 put_cmsg(&msg, SOL_IPV6, IPV6_PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt()1192 struct in6_pktinfo src_info; in do_ipv6_getsockopt() local1193 src_info.ipi6_ifindex = np->mcast_oif ? np->mcast_oif : in do_ipv6_getsockopt()1195 src_info.ipi6_addr = np->mcast_oif ? sk->sk_v6_daddr : in do_ipv6_getsockopt()1197 put_cmsg(&msg, SOL_IPV6, IPV6_2292PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt()
258 struct in6_pktinfo *src_info; in ip_cmsg_send() local260 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*src_info))) in ip_cmsg_send()262 src_info = (struct in6_pktinfo *)CMSG_DATA(cmsg); in ip_cmsg_send()263 if (!ipv6_addr_v4mapped(&src_info->ipi6_addr)) in ip_cmsg_send()265 if (src_info->ipi6_ifindex) in ip_cmsg_send()266 ipc->oif = src_info->ipi6_ifindex; in ip_cmsg_send()267 ipc->addr = src_info->ipi6_addr.s6_addr32[3]; in ip_cmsg_send()