Home
last modified time | relevance | path

Searched refs:in6_pktinfo (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/include/uapi/linux/
Dipv6.h21 struct in6_pktinfo { struct
/Linux-v5.10/net/ipv6/
Ddatagram.c596 struct in6_pktinfo src_info; in ip6_datagram_recv_common_ctl()
690 struct in6_pktinfo src_info; in ip6_datagram_recv_specific_ctl()
757 struct in6_pktinfo *src_info; in ip6_datagram_send_ctl()
790 if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct in6_pktinfo))) { in ip6_datagram_send_ctl()
795 src_info = (struct in6_pktinfo *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
Dipv6_sockglue.c662 struct in6_pktinfo pkt; in do_ipv6_setsockopt()
666 else if (optlen < sizeof(struct in6_pktinfo) || in do_ipv6_setsockopt()
1163 struct in6_pktinfo src_info; in do_ipv6_getsockopt()
1179 struct in6_pktinfo src_info; in do_ipv6_getsockopt()
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_sock_addr.c1231 struct in6_pktinfo *pktinfo6; in init_pktinfo()
1246 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in init_pktinfo()
1247 pktinfo6 = (struct in6_pktinfo *)CMSG_DATA(cmsg); in init_pktinfo()
1248 memset(pktinfo6, 0, sizeof(struct in6_pktinfo)); in init_pktinfo()
1264 char buf[CMSG_SPACE(sizeof(struct in6_pktinfo))]; in sendmsg_to_server()
/Linux-v5.10/tools/testing/selftests/net/
Dnettest.c621 struct in6_pktinfo *pi6; in get_index_from_cmsg()
623 pi6 = (struct in6_pktinfo *)(CMSG_DATA(cm)); in get_index_from_cmsg()
689 struct in6_pktinfo *pi6; in send_msg_cmsg()
693 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in send_msg_cmsg()
695 pi6 = (struct in6_pktinfo *)(CMSG_DATA(cm)); in send_msg_cmsg()
Dtxtimestamp.c342 struct in6_pktinfo *info6 = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg()
/Linux-v5.10/include/linux/
Dipv6.h204 struct in6_pktinfo sticky_pktinfo;
/Linux-v5.10/net/sunrpc/
Dsvcsock.c148 struct in6_pktinfo pkti6;
171 struct in6_pktinfo *pki = CMSG_DATA(cmh); in svc_set_cmsg_data()
389 struct in6_pktinfo *pki = CMSG_DATA(cmh); in svc_udp_get_dest_address6()
/Linux-v5.10/net/ipv4/
Dip_sockglue.c256 struct in6_pktinfo *src_info; in ip_cmsg_send()
260 src_info = (struct in6_pktinfo *)CMSG_DATA(cmsg); in ip_cmsg_send()