Home
last modified time | relevance | path

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

/net/ipv6/
Ddatagram.c530 put_cmsg(msg, SOL_IPV6, IPV6_RECVERR, sizeof(errhdr), &errhdr); in ipv6_recv_error()
583 put_cmsg(msg, SOL_IPV6, IPV6_PATHMTU, sizeof(mtu_info), &mtu_info); in ipv6_recv_rxpmtu()
614 put_cmsg(msg, SOL_IPV6, IPV6_PKTINFO, in ip6_datagram_recv_common_ctl()
628 put_cmsg(msg, SOL_IPV6, IPV6_HOPLIMIT, sizeof(hlim), &hlim); in ip6_datagram_recv_specific_ctl()
633 put_cmsg(msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); in ip6_datagram_recv_specific_ctl()
639 put_cmsg(msg, SOL_IPV6, IPV6_FLOWINFO, sizeof(flowinfo), &flowinfo); in ip6_datagram_recv_specific_ctl()
645 put_cmsg(msg, SOL_IPV6, IPV6_HOPOPTS, (ptr[1]+1)<<3, ptr); in ip6_datagram_recv_specific_ctl()
671 put_cmsg(msg, SOL_IPV6, IPV6_DSTOPTS, len, ptr); in ip6_datagram_recv_specific_ctl()
677 put_cmsg(msg, SOL_IPV6, IPV6_RTHDR, len, ptr); in ip6_datagram_recv_specific_ctl()
699 put_cmsg(msg, SOL_IPV6, IPV6_2292PKTINFO, sizeof(src_info), &src_info); in ip6_datagram_recv_specific_ctl()
[all …]
Dipv6_sockglue.c1193 put_cmsg(&msg, SOL_IPV6, IPV6_PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt()
1197 put_cmsg(&msg, SOL_IPV6, IPV6_HOPLIMIT, sizeof(hlim), &hlim); in do_ipv6_getsockopt()
1202 put_cmsg(&msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); in do_ipv6_getsockopt()
1210 put_cmsg(&msg, SOL_IPV6, IPV6_2292PKTINFO, sizeof(src_info), &src_info); in do_ipv6_getsockopt()
1214 put_cmsg(&msg, SOL_IPV6, IPV6_2292HOPLIMIT, sizeof(hlim), &hlim); in do_ipv6_getsockopt()
1219 put_cmsg(&msg, SOL_IPV6, IPV6_FLOWINFO, sizeof(flowinfo), &flowinfo); in do_ipv6_getsockopt()
/net/rxrpc/
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()
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()
/net/rds/
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()
/net/core/
Dscm.c221 int put_cmsg(struct msghdr * msg, int level, int type, int len, void *data) in put_cmsg() function
270 EXPORT_SYMBOL(put_cmsg);
282 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_NEW, sizeof(tss), &tss); in put_cmsg_scm_timestamping64()
296 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_OLD, sizeof(tss), &tss); in put_cmsg_scm_timestamping()
Dsock.c3642 put_cmsg(msg, level, type, sizeof(serr->ee), &serr->ee); in sock_recv_errqueue()
/net/ipv4/
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()
574 put_cmsg(msg, SOL_IP, IP_RECVERR, sizeof(errhdr), &errhdr); in ip_recv_error()
[all …]
Dtcp.c2342 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPNS_NEW, in tcp_recv_timestamp()
2349 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPNS_OLD, in tcp_recv_timestamp()
2358 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_NEW, in tcp_recv_timestamp()
2365 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_OLD, in tcp_recv_timestamp()
2687 put_cmsg(msg, SOL_TCP, TCP_CM_INQ, in tcp_recvmsg()
/net/sctp/
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()
/net/
Dsocket.c870 put_cmsg(msg, SOL_SOCKET, SCM_TIMESTAMPING_PKTINFO, in put_ts_pktinfo()
903 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_NEW, in __sock_recv_timestamp()
909 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMP_OLD, in __sock_recv_timestamp()
917 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPNS_NEW, in __sock_recv_timestamp()
923 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPNS_OLD, in __sock_recv_timestamp()
963 put_cmsg(msg, SOL_SOCKET, SCM_TIMESTAMPING_OPT_STATS, in __sock_recv_timestamp()
981 put_cmsg(msg, SOL_SOCKET, SCM_WIFI_STATUS, sizeof(ack), &ack); in __sock_recv_wifi_status()
989 put_cmsg(msg, SOL_SOCKET, SO_RXQ_OVFL, in sock_recv_drops()
1000 put_cmsg(msg, SOL_SOCKET, SO_MARK, sizeof(__u32), &mark); in sock_recv_mark()
/net/can/j1939/
Dsocket.c839 put_cmsg(msg, SOL_CAN_J1939, SCM_J1939_DEST_ADDR, in j1939_sk_recvmsg()
843 put_cmsg(msg, SOL_CAN_J1939, SCM_J1939_DEST_NAME, in j1939_sk_recvmsg()
846 put_cmsg(msg, SOL_CAN_J1939, SCM_J1939_PRIO, in j1939_sk_recvmsg()
/net/bluetooth/
Dhci_sock.c1465 put_cmsg(msg, SOL_HCI, HCI_CMSG_DIR, sizeof(incoming), in hci_sock_cmsg()
1491 put_cmsg(msg, SOL_HCI, HCI_CMSG_TSTAMP, len, data); in hci_sock_cmsg()
Dsco.c454 put_cmsg(msg, SOL_BLUETOOTH, BT_SCM_PKT_STATUS, in sco_skb_put_cmsg()
/net/ieee802154/
Dsocket.c746 err = put_cmsg(msg, SOL_IEEE802154, WPAN_WANTLQI, in dgram_recvmsg()
/net/netlink/
Daf_netlink.c1780 put_cmsg(msg, SOL_NETLINK, NETLINK_PKTINFO, sizeof(info), &info); in netlink_cmsg_recv_pktinfo()
1789 put_cmsg(msg, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, sizeof(int), in netlink_cmsg_listen_all_nsid()
/net/llc/
Daf_llc.c683 put_cmsg(msg, SOL_LLC, LLC_OPT_PKTINFO, sizeof(info), &info); in llc_cmsg_rcv()
/net/tipc/
Dsocket.c1757 rc = put_cmsg(m, SOL_TIPC, TIPC_ERRINFO, 8, data); in tipc_sk_anc_data_recv()
1760 rc = put_cmsg(m, SOL_TIPC, TIPC_RETDATA, dlen, msg_data(hdr)); in tipc_sk_anc_data_recv()
1790 return put_cmsg(m, SOL_TIPC, TIPC_DESTNAME, 12, data); in tipc_sk_anc_data_recv()
/net/iucv/
Daf_iucv.c1273 err = put_cmsg(msg, SOL_IUCV, SCM_IUCV_TRGCLS, in iucv_sock_recvmsg()
/net/tls/
Dtls_sw.c1812 err = put_cmsg(msg, SOL_TLS, TLS_GET_RECORD_TYPE, in tls_record_content_type()
/net/mptcp/
Dprotocol.c2238 put_cmsg(msg, SOL_TCP, TCP_CM_INQ, sizeof(inq), &inq); in mptcp_recvmsg()
/net/packet/
Daf_packet.c3544 put_cmsg(msg, SOL_PACKET, PACKET_AUXDATA, sizeof(aux), &aux); in packet_recvmsg()