Searched refs:src_info (Results 1 – 2 of 2) sorted by relevance
/net/ipv6/ |
D | datagram.c | 487 struct in6_pktinfo src_info; in ip6_datagram_recv_ctl() local 489 src_info.ipi6_ifindex = opt->iif; in ip6_datagram_recv_ctl() 490 src_info.ipi6_addr = ipv6_hdr(skb)->daddr; in ip6_datagram_recv_ctl() 491 put_cmsg(msg, SOL_IPV6, IPV6_PKTINFO, sizeof(src_info), &src_info); in ip6_datagram_recv_ctl() 563 struct in6_pktinfo src_info; in ip6_datagram_recv_ctl() local 565 src_info.ipi6_ifindex = opt->iif; in ip6_datagram_recv_ctl() 566 src_info.ipi6_addr = ipv6_hdr(skb)->daddr; in ip6_datagram_recv_ctl() 567 put_cmsg(msg, SOL_IPV6, IPV6_2292PKTINFO, sizeof(src_info), &src_info); in ip6_datagram_recv_ctl() 619 struct in6_pktinfo *src_info; in ip6_datagram_send_ctl() local 648 src_info = (struct in6_pktinfo *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() [all …]
|
D | ipv6_sockglue.c | 1022 struct in6_pktinfo src_info; in do_ipv6_getsockopt() local 1023 src_info.ipi6_ifindex = np->mcast_oif ? np->mcast_oif : in do_ipv6_getsockopt() 1025 src_info.ipi6_addr = np->mcast_oif ? np->daddr : np->sticky_pktinfo.ipi6_addr; in do_ipv6_getsockopt() 1026 put_cmsg(&msg, SOL_IPV6, IPV6_PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt() 1037 struct in6_pktinfo src_info; in do_ipv6_getsockopt() local 1038 src_info.ipi6_ifindex = np->mcast_oif ? np->mcast_oif : in do_ipv6_getsockopt() 1040 src_info.ipi6_addr = np->mcast_oif ? np->daddr : np->sticky_pktinfo.ipi6_addr; in do_ipv6_getsockopt() 1041 put_cmsg(&msg, SOL_IPV6, IPV6_2292PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt()
|