Home
last modified time | relevance | path

Searched refs:IP_PKTINFO (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/tools/testing/selftests/net/
H A Dtimestamping.c238 case IP_PKTINFO: { in printpacket()
465 if (setsockopt(sock, SOL_IP, IP_PKTINFO, in main()
H A Dtxtimestamp.c340 cm->cmsg_type == IP_PKTINFO) { in __recv_errmsg_cmsg()
565 if (setsockopt(fd, SOL_IP, IP_PKTINFO, in do_test()
H A Dnettest.c426 rc = setsockopt(sd, SOL_IP, IP_PKTINFO, &one, sizeof(one)); in set_pktinfo_v4()
917 cm->cmsg_type == IP_PKTINFO) { in get_index_from_cmsg()
985 cm->cmsg_type = IP_PKTINFO; in send_msg_cmsg()
/linux-6.15/net/ipv4/
H A Dip_sockglue.c60 put_cmsg(msg, SOL_IP, IP_PKTINFO, sizeof(info), &info); in ip_cmsg_recv_pktinfo()
289 case IP_PKTINFO: in ip_cmsg_send()
901 case IP_PKTINFO: in do_ip_setsockopt()
952 case IP_PKTINFO: in do_ip_setsockopt()
1528 case IP_PKTINFO: in do_ip_getsockopt()
1667 put_cmsg(&msg, SOL_IP, IP_PKTINFO, sizeof(info), &info); in do_ip_getsockopt()
/linux-6.15/tools/include/uapi/linux/
H A Din.h108 #define IP_PKTINFO 8 macro
/linux-6.15/include/uapi/linux/
H A Din.h108 #define IP_PKTINFO 8 macro
/linux-6.15/Documentation/networking/
H A Dvrf.rst118 or to specify the output device using cmsg and IP_PKTINFO.
135 This is so as to specify the output device with cmsg and IP_PKTINFO, but
H A Dtimestamping.rst255 option IP_PKTINFO simultaneously.
314 instance SOL_IP/IP_PKTINFO to detect the egress network interface.
/linux-6.15/net/sunrpc/
H A Dsvcsock.c165 cmh->cmsg_type = IP_PKTINFO; in svc_set_cmsg_data()
506 if (cmh->cmsg_type != IP_PKTINFO) in svc_udp_get_dest_address4()
/linux-6.15/net/mptcp/
H A Dsockopt.c445 case IP_PKTINFO: in mptcp_supported_sockopt()