Home
last modified time | relevance | path

Searched refs:put_cmsg (Results 1 – 25 of 29) sorted by relevance

12

/linux/net/ipv6/
A Ddatagram.c525 put_cmsg(msg, SOL_IPV6, IPV6_RECVERR, sizeof(errhdr), &errhdr); in ipv6_recv_error()
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()
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()
702 put_cmsg(msg, SOL_IPV6, IPV6_2292HOPOPTS, (ptr[1]+1)<<3, ptr); in ip6_datagram_recv_specific_ctl()
706 put_cmsg(msg, SOL_IPV6, IPV6_2292DSTOPTS, (ptr[1]+1)<<3, ptr); in ip6_datagram_recv_specific_ctl()
714 put_cmsg(msg, SOL_IPV6, IPV6_2292DSTOPTS, (ptr[1]+1)<<3, ptr); in ip6_datagram_recv_specific_ctl()
[all …]
A Dipv6_sockglue.c1176 put_cmsg(&msg, SOL_IPV6, IPV6_PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt()
1180 put_cmsg(&msg, SOL_IPV6, IPV6_HOPLIMIT, sizeof(hlim), &hlim); in do_ipv6_getsockopt()
1185 put_cmsg(&msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); in do_ipv6_getsockopt()
1193 put_cmsg(&msg, SOL_IPV6, IPV6_2292PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt()
1197 put_cmsg(&msg, SOL_IPV6, IPV6_2292HOPLIMIT, sizeof(hlim), &hlim); in do_ipv6_getsockopt()
1202 put_cmsg(&msg, SOL_IPV6, IPV6_FLOWINFO, sizeof(flowinfo), &flowinfo); in do_ipv6_getsockopt()
/linux/net/rxrpc/
A Drecvmsg.c152 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()
580 ret = put_cmsg(msg, SOL_RXRPC, RXRPC_USER_CALL_ID, in rxrpc_recvmsg()
585 ret = put_cmsg(msg, SOL_RXRPC, RXRPC_USER_CALL_ID, in rxrpc_recvmsg()
/linux/net/core/
A Dscm.c213 int put_cmsg(struct msghdr * msg, int level, int type, int len, void *data) in put_cmsg() function
260 EXPORT_SYMBOL(put_cmsg);
272 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_NEW, sizeof(tss), &tss); in put_cmsg_scm_timestamping64()
286 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_OLD, sizeof(tss), &tss); in put_cmsg_scm_timestamping()
A Dsock.c3427 put_cmsg(msg, level, type, sizeof(serr->ee), &serr->ee); in sock_recv_errqueue()
/linux/net/rds/
A Drecv.c493 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()
/linux/net/ipv4/
A Dip_sockglue.c62 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()
1718 put_cmsg(&msg, SOL_IP, IP_TTL, sizeof(hlim), &hlim); in do_ip_getsockopt()
[all …]
A Dtcp.c2197 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPNS_NEW, in tcp_recv_timestamp()
2204 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPNS_OLD, in tcp_recv_timestamp()
2213 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_NEW, in tcp_recv_timestamp()
2220 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_OLD, in tcp_recv_timestamp()
2543 put_cmsg(msg, SOL_TCP, TCP_CM_INQ, sizeof(inq), &inq); in tcp_recvmsg()
/linux/include/net/
A Dscm.h103 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()
/linux/include/linux/
A Dudp.h130 put_cmsg(msg, SOL_UDP, UDP_GRO, sizeof(gso_size), &gso_size); in udp_cmsg_recv()
A Dsocket.h374 extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data);
/linux/net/sctp/
A Dulpevent.c1008 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()
/linux/net/
A Dsocket.c815 put_cmsg(msg, SOL_SOCKET, SCM_TIMESTAMPING_PKTINFO, in put_ts_pktinfo()
846 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_NEW, in __sock_recv_timestamp()
852 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_OLD, in __sock_recv_timestamp()
860 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPNS_NEW, in __sock_recv_timestamp()
866 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPNS_OLD, in __sock_recv_timestamp()
899 put_cmsg(msg, SOL_SOCKET, SCM_TIMESTAMPING_OPT_STATS, in __sock_recv_timestamp()
917 put_cmsg(msg, SOL_SOCKET, SCM_WIFI_STATUS, sizeof(ack), &ack); in __sock_recv_wifi_status()
925 put_cmsg(msg, SOL_SOCKET, SO_RXQ_OVFL, in sock_recv_drops()
/linux/net/can/j1939/
A Dsocket.c822 put_cmsg(msg, SOL_CAN_J1939, SCM_J1939_DEST_ADDR, in j1939_sk_recvmsg()
826 put_cmsg(msg, SOL_CAN_J1939, SCM_J1939_DEST_NAME, in j1939_sk_recvmsg()
829 put_cmsg(msg, SOL_CAN_J1939, SCM_J1939_PRIO, in j1939_sk_recvmsg()
/linux/tools/perf/trace/beauty/include/linux/
A Dsocket.h374 extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data);
/linux/net/bluetooth/
A Dhci_sock.c1427 put_cmsg(msg, SOL_HCI, HCI_CMSG_DIR, sizeof(incoming), in hci_sock_cmsg()
1453 put_cmsg(msg, SOL_HCI, HCI_CMSG_TSTAMP, len, data); in hci_sock_cmsg()
A Dsco.c454 put_cmsg(msg, SOL_BLUETOOTH, BT_SCM_PKT_STATUS, in sco_skb_put_cmsg()
/linux/drivers/isdn/mISDN/
A Dsocket.c101 put_cmsg(msg, SOL_MISDN, MISDN_TIME_STAMP, sizeof(tv), &tv); in mISDN_sock_cmsg()
/linux/net/ieee802154/
A Dsocket.c736 err = put_cmsg(msg, SOL_IEEE802154, WPAN_WANTLQI, in dgram_recvmsg()
/linux/net/netlink/
A Daf_netlink.c1827 put_cmsg(msg, SOL_NETLINK, NETLINK_PKTINFO, sizeof(info), &info); in netlink_cmsg_recv_pktinfo()
1836 put_cmsg(msg, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, sizeof(int), in netlink_cmsg_listen_all_nsid()
/linux/net/llc/
A Daf_llc.c661 put_cmsg(msg, SOL_LLC, LLC_OPT_PKTINFO, sizeof(info), &info); in llc_cmsg_rcv()
/linux/net/tipc/
A Dsocket.c1756 rc = put_cmsg(m, SOL_TIPC, TIPC_ERRINFO, 8, data); in tipc_sk_anc_data_recv()
1759 rc = put_cmsg(m, SOL_TIPC, TIPC_RETDATA, dlen, msg_data(hdr)); in tipc_sk_anc_data_recv()
1789 return put_cmsg(m, SOL_TIPC, TIPC_DESTNAME, 12, data); in tipc_sk_anc_data_recv()
/linux/net/tls/
A Dtls_sw.c1698 int cerr = put_cmsg(msg, SOL_TLS, TLS_GET_RECORD_TYPE, in process_rx_list()
1878 cerr = put_cmsg(msg, SOL_TLS, TLS_GET_RECORD_TYPE, in tls_sw_recvmsg()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A Dchtls_io.c1564 cerr = put_cmsg(msg, SOL_TLS, TLS_GET_RECORD_TYPE, in chtls_pt_recvmsg()
/linux/net/iucv/
A Daf_iucv.c1275 err = put_cmsg(msg, SOL_IUCV, SCM_IUCV_TRGCLS, in iucv_sock_recvmsg()

Completed in 72 milliseconds

12