Home
last modified time | relevance | path

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

/linux-6.6.21/include/uapi/linux/
Dipv6.h22 struct in6_pktinfo { struct
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_sock_addr.c1006 struct in6_pktinfo *pktinfo6; in init_pktinfo()
1021 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in init_pktinfo()
1022 pktinfo6 = (struct in6_pktinfo *)CMSG_DATA(cmsg); in init_pktinfo()
1023 memset(pktinfo6, 0, sizeof(struct in6_pktinfo)); in init_pktinfo()
1039 char buf[CMSG_SPACE(sizeof(struct in6_pktinfo))]; in sendmsg_to_server()
/linux-6.6.21/net/ipv6/
Ddatagram.c603 struct in6_pktinfo src_info; in ip6_datagram_recv_common_ctl()
697 struct in6_pktinfo src_info; in ip6_datagram_recv_specific_ctl()
764 struct in6_pktinfo *src_info; in ip6_datagram_send_ctl()
797 if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct in6_pktinfo))) { in ip6_datagram_send_ctl()
802 src_info = (struct in6_pktinfo *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
Dipv6_sockglue.c664 struct in6_pktinfo pkt; in do_ipv6_setsockopt()
668 else if (optlen < sizeof(struct in6_pktinfo) || in do_ipv6_setsockopt()
1176 struct in6_pktinfo src_info; in do_ipv6_getsockopt()
1192 struct in6_pktinfo src_info; in do_ipv6_getsockopt()
/linux-6.6.21/tools/testing/selftests/net/
Dnettest.c925 struct in6_pktinfo *pi6; in get_index_from_cmsg()
927 pi6 = (struct in6_pktinfo *)(CMSG_DATA(cm)); in get_index_from_cmsg()
993 struct in6_pktinfo *pi6; in send_msg_cmsg()
997 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in send_msg_cmsg()
999 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-6.6.21/include/linux/
Dipv6.h207 struct in6_pktinfo sticky_pktinfo;
/linux-6.6.21/net/sunrpc/
Dsvcsock.c151 struct in6_pktinfo pkti6;
174 struct in6_pktinfo *pki = CMSG_DATA(cmh); in svc_set_cmsg_data()
520 struct in6_pktinfo *pki = CMSG_DATA(cmh); in svc_udp_get_dest_address6()
/linux-6.6.21/net/ipv4/
Dip_sockglue.c258 struct in6_pktinfo *src_info; in ip_cmsg_send()
262 src_info = (struct in6_pktinfo *)CMSG_DATA(cmsg); in ip_cmsg_send()