/kernel/linux/linux-5.10/net/ipv6/ |
D | datagram.c | 525 put_cmsg(msg, SOL_IPV6, IPV6_RECVERR, sizeof(errhdr), &errhdr); in ipv6_recv_error() 578 put_cmsg(msg, SOL_IPV6, IPV6_PATHMTU, sizeof(mtu_info), &mtu_info); in ipv6_recv_rxpmtu() 609 put_cmsg(msg, SOL_IPV6, IPV6_PKTINFO, in ip6_datagram_recv_common_ctl() 623 put_cmsg(msg, SOL_IPV6, IPV6_HOPLIMIT, sizeof(hlim), &hlim); in ip6_datagram_recv_specific_ctl() 628 put_cmsg(msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); in ip6_datagram_recv_specific_ctl() 634 put_cmsg(msg, SOL_IPV6, IPV6_FLOWINFO, sizeof(flowinfo), &flowinfo); in ip6_datagram_recv_specific_ctl() 640 put_cmsg(msg, SOL_IPV6, IPV6_HOPOPTS, (ptr[1]+1)<<3, ptr); in ip6_datagram_recv_specific_ctl() 666 put_cmsg(msg, SOL_IPV6, IPV6_DSTOPTS, len, ptr); in ip6_datagram_recv_specific_ctl() 672 put_cmsg(msg, SOL_IPV6, IPV6_RTHDR, len, ptr); in ip6_datagram_recv_specific_ctl() 694 put_cmsg(msg, SOL_IPV6, IPV6_2292PKTINFO, sizeof(src_info), &src_info); in ip6_datagram_recv_specific_ctl() [all …]
|
D | ipv6_sockglue.c | 1177 put_cmsg(&msg, SOL_IPV6, IPV6_PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt() 1181 put_cmsg(&msg, SOL_IPV6, IPV6_HOPLIMIT, sizeof(hlim), &hlim); in do_ipv6_getsockopt() 1186 put_cmsg(&msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); in do_ipv6_getsockopt() 1194 put_cmsg(&msg, SOL_IPV6, IPV6_2292PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt() 1198 put_cmsg(&msg, SOL_IPV6, IPV6_2292HOPLIMIT, sizeof(hlim), &hlim); in do_ipv6_getsockopt() 1203 put_cmsg(&msg, SOL_IPV6, IPV6_FLOWINFO, sizeof(flowinfo), &flowinfo); in do_ipv6_getsockopt()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
D | recvmsg.c | 152 ret = put_cmsg(msg, SOL_RXRPC, RXRPC_ACK, 0, &tmp); in rxrpc_recvmsg_term() 156 ret = put_cmsg(msg, SOL_RXRPC, RXRPC_ABORT, 4, &tmp); in rxrpc_recvmsg_term() 160 ret = put_cmsg(msg, SOL_RXRPC, RXRPC_ABORT, 4, &tmp); in rxrpc_recvmsg_term() 164 ret = put_cmsg(msg, SOL_RXRPC, RXRPC_NET_ERROR, 4, &tmp); in rxrpc_recvmsg_term() 168 ret = put_cmsg(msg, SOL_RXRPC, RXRPC_LOCAL_ERROR, 4, &tmp); in rxrpc_recvmsg_term() 578 ret = put_cmsg(msg, SOL_RXRPC, RXRPC_USER_CALL_ID, in rxrpc_recvmsg() 583 ret = put_cmsg(msg, SOL_RXRPC, RXRPC_USER_CALL_ID, in rxrpc_recvmsg()
|
/kernel/linux/linux-5.10/net/core/ |
D | scm.c | 213 int put_cmsg(struct msghdr * msg, int level, int type, int len, void *data) in put_cmsg() function 253 EXPORT_SYMBOL(put_cmsg); 265 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_NEW, sizeof(tss), &tss); in put_cmsg_scm_timestamping64() 279 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_OLD, sizeof(tss), &tss); in put_cmsg_scm_timestamping()
|
D | sock.c | 3213 put_cmsg(msg, level, type, sizeof(serr->ee), &serr->ee); in sock_recv_errqueue()
|
/kernel/linux/linux-5.10/net/rds/ |
D | recv.c | 493 err = put_cmsg(msghdr, SOL_RDS, RDS_CMSG_RDMA_STATUS, in rds_notify_queue_get() 524 err = put_cmsg(msghdr, SOL_RDS, RDS_CMSG_CONG_UPDATE, in rds_notify_cong() 545 ret = put_cmsg(msg, SOL_RDS, RDS_CMSG_RDMA_DEST, in rds_cmsg_recv() 558 ret = put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_OLD, in rds_cmsg_recv() 566 ret = put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_NEW, in rds_cmsg_recv() 588 ret = put_cmsg(msg, SOL_RDS, RDS_CMSG_RXPATH_LATENCY, in rds_cmsg_recv() 622 if (put_cmsg(msg, SOL_RDS, RDS_CMSG_ZCOPY_COMPLETION, sizeof(*done), in rds_recvmsg_zcookie()
|
/kernel/linux/linux-5.10/include/net/ |
D | scm.h | 103 put_cmsg(msg, SOL_SOCKET, SCM_SECURITY, seclen, secdata); in scm_passec() 130 put_cmsg(msg, SOL_SOCKET, SCM_CREDENTIALS, sizeof(ucreds), &ucreds); in scm_recv()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_sockglue.c | 62 put_cmsg(msg, SOL_IP, IP_PKTINFO, sizeof(info), &info); in ip_cmsg_recv_pktinfo() 68 put_cmsg(msg, SOL_IP, IP_TTL, sizeof(int), &ttl); in ip_cmsg_recv_ttl() 73 put_cmsg(msg, SOL_IP, IP_TOS, 1, &ip_hdr(skb)->tos); in ip_cmsg_recv_tos() 81 put_cmsg(msg, SOL_IP, IP_RECVOPTS, IPCB(skb)->opt.optlen, in ip_cmsg_recv_opts() 101 put_cmsg(msg, SOL_IP, IP_RETOPTS, opt->optlen, opt->__data); in ip_cmsg_recv_retopts() 112 put_cmsg(msg, SOL_IP, IP_RECVFRAGSIZE, sizeof(val), &val); in ip_cmsg_recv_fragsize() 128 put_cmsg(msg, SOL_IP, IP_CHECKSUM, sizeof(__wsum), &csum); in ip_cmsg_recv_checksum() 145 put_cmsg(msg, SOL_IP, SCM_SECURITY, seclen, secdata); in ip_cmsg_recv_security() 168 put_cmsg(msg, SOL_IP, IP_ORIGDSTADDR, sizeof(sin), &sin); in ip_cmsg_recv_dstaddr() 567 put_cmsg(msg, SOL_IP, IP_RECVERR, sizeof(errhdr), &errhdr); in ip_recv_error() [all …]
|
D | tcp.c | 2014 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPNS_NEW, in tcp_recv_timestamp() 2021 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPNS_OLD, in tcp_recv_timestamp() 2030 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_NEW, in tcp_recv_timestamp() 2037 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_OLD, in tcp_recv_timestamp() 2338 put_cmsg(msg, SOL_TCP, TCP_CM_INQ, sizeof(inq), &inq); in tcp_recvmsg()
|
/kernel/linux/linux-5.10/include/linux/ |
D | udp.h | 130 put_cmsg(msg, SOL_UDP, UDP_GRO, sizeof(gso_size), &gso_size); in udp_cmsg_recv()
|
D | socket.h | 369 extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data);
|
/kernel/linux/linux-5.10/net/sctp/ |
D | ulpevent.c | 1008 put_cmsg(msghdr, IPPROTO_SCTP, SCTP_SNDRCV, in sctp_ulpevent_read_sndrcvinfo() 1033 put_cmsg(msghdr, IPPROTO_SCTP, SCTP_RCVINFO, in sctp_ulpevent_read_rcvinfo() 1055 put_cmsg(msghdr, IPPROTO_SCTP, SCTP_NXTINFO, in __sctp_ulpevent_read_nxtinfo()
|
/kernel/linux/linux-5.10/net/ |
D | socket.c | 762 put_cmsg(msg, SOL_SOCKET, SCM_TIMESTAMPING_PKTINFO, in put_ts_pktinfo() 793 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_NEW, in __sock_recv_timestamp() 799 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_OLD, in __sock_recv_timestamp() 807 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPNS_NEW, in __sock_recv_timestamp() 813 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPNS_OLD, in __sock_recv_timestamp() 840 put_cmsg(msg, SOL_SOCKET, SCM_TIMESTAMPING_OPT_STATS, in __sock_recv_timestamp() 858 put_cmsg(msg, SOL_SOCKET, SCM_WIFI_STATUS, sizeof(ack), &ack); in __sock_recv_wifi_status() 866 put_cmsg(msg, SOL_SOCKET, SO_RXQ_OVFL, in sock_recv_drops()
|
/kernel/linux/linux-5.10/net/can/j1939/ |
D | socket.c | 825 put_cmsg(msg, SOL_CAN_J1939, SCM_J1939_DEST_ADDR, in j1939_sk_recvmsg() 829 put_cmsg(msg, SOL_CAN_J1939, SCM_J1939_DEST_NAME, in j1939_sk_recvmsg() 832 put_cmsg(msg, SOL_CAN_J1939, SCM_J1939_PRIO, in j1939_sk_recvmsg()
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 368 extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data);
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | hci_sock.c | 1429 put_cmsg(msg, SOL_HCI, HCI_CMSG_DIR, sizeof(incoming), in hci_sock_cmsg() 1455 put_cmsg(msg, SOL_HCI, HCI_CMSG_TSTAMP, len, data); in hci_sock_cmsg()
|
D | sco.c | 452 put_cmsg(msg, SOL_BLUETOOTH, BT_SCM_PKT_STATUS, in sco_skb_put_cmsg()
|
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
D | socket.c | 101 put_cmsg(msg, SOL_MISDN, MISDN_TIME_STAMP, sizeof(tv), &tv); in mISDN_sock_cmsg()
|
/kernel/linux/linux-5.10/net/ieee802154/ |
D | socket.c | 747 err = put_cmsg(msg, SOL_IEEE802154, WPAN_WANTLQI, in dgram_recvmsg()
|
/kernel/linux/linux-5.10/net/llc/ |
D | af_llc.c | 678 put_cmsg(msg, SOL_LLC, LLC_OPT_PKTINFO, sizeof(info), &info); in llc_cmsg_rcv()
|
/kernel/linux/linux-5.10/net/tls/ |
D | tls_sw.c | 1687 int cerr = put_cmsg(msg, SOL_TLS, TLS_GET_RECORD_TYPE, in process_rx_list() 1867 cerr = put_cmsg(msg, SOL_TLS, TLS_GET_RECORD_TYPE, in tls_sw_recvmsg()
|
/kernel/linux/linux-5.10/net/tipc/ |
D | socket.c | 1746 res = put_cmsg(m, SOL_TIPC, TIPC_ERRINFO, 8, anc_data); in tipc_sk_anc_data_recv() 1753 res = put_cmsg(m, SOL_TIPC, TIPC_RETDATA, anc_data[1], in tipc_sk_anc_data_recv() 1785 res = put_cmsg(m, SOL_TIPC, TIPC_DESTNAME, 12, anc_data); in tipc_sk_anc_data_recv()
|
/kernel/linux/linux-5.10/net/netlink/ |
D | af_netlink.c | 1840 put_cmsg(msg, SOL_NETLINK, NETLINK_PKTINFO, sizeof(info), &info); in netlink_cmsg_recv_pktinfo() 1849 put_cmsg(msg, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, sizeof(int), in netlink_cmsg_listen_all_nsid()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_io.c | 1564 cerr = put_cmsg(msg, SOL_TLS, TLS_GET_RECORD_TYPE, in chtls_pt_recvmsg()
|
/kernel/linux/linux-5.10/net/iucv/ |
D | af_iucv.c | 1292 err = put_cmsg(msg, SOL_IUCV, SCM_IUCV_TRGCLS, in iucv_sock_recvmsg()
|