Home
last modified time | relevance | path

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

/linux-4.1.27/Documentation/networking/timestamping/
Dtxtimestamp.c190 cm->cmsg_type == SCM_TIMESTAMPING) { in __recv_errmsg_cmsg()
193 cm->cmsg_type == IP_RECVERR) || in __recv_errmsg_cmsg()
195 cm->cmsg_type == IPV6_RECVERR)) { in __recv_errmsg_cmsg()
205 cm->cmsg_type == IP_PKTINFO) { in __recv_errmsg_cmsg()
210 cm->cmsg_type == IPV6_PKTINFO) { in __recv_errmsg_cmsg()
216 cm->cmsg_level, cm->cmsg_type); in __recv_errmsg_cmsg()
Dtimestamping.c179 switch (cmsg->cmsg_type) { in printpacket()
212 printf("type %d", cmsg->cmsg_type); in printpacket()
218 switch (cmsg->cmsg_type) { in printpacket()
247 printf("type %d", cmsg->cmsg_type); in printpacket()
254 cmsg->cmsg_type); in printpacket()
/linux-4.1.27/net/core/
Dscm.c155 switch (cmsg->cmsg_type) in __scm_send()
235 cmhdr.cmsg_type = type; in put_cmsg()
309 err = put_user(SCM_RIGHTS, &cm->cmsg_type); in scm_detach_fds()
/linux-4.1.27/include/net/
Dcompat.h29 compat_int_t cmsg_type; member
/linux-4.1.27/net/ipv6/
Ddatagram.c708 switch (cmsg->cmsg_type) { in ip6_datagram_send_ctl()
839 if (cmsg->cmsg_type == IPV6_DSTOPTS) { in ip6_datagram_send_ctl()
888 if (cmsg->cmsg_type == IPV6_2292RTHDR && opt->dst1opt) { in ip6_datagram_send_ctl()
951 cmsg->cmsg_type); in ip6_datagram_send_ctl()
/linux-4.1.27/net/
Dcompat.c178 __get_user(kcmsg->cmsg_type, &ucmsg->cmsg_type) || in cmsghdr_from_user_compat_to_kern()
243 cmhdr.cmsg_type = type; in put_cmsg_compat()
293 err = put_user(SCM_RIGHTS, &cm->cmsg_type); in scm_detach_fds_compat()
/linux-4.1.27/arch/um/os-Linux/drivers/
Dtuntap_user.c118 (cmsg->cmsg_type != SCM_RIGHTS)) { in tuntap_open_tramp()
/linux-4.1.27/net/sunrpc/
Dsvcsock.c150 cmh->cmsg_type = IP_PKTINFO; in svc_set_cmsg_data()
163 cmh->cmsg_type = IPV6_PKTINFO; in svc_set_cmsg_data()
488 if (cmh->cmsg_type != IP_PKTINFO) in svc_udp_get_dest_address4()
505 if (cmh->cmsg_type != IPV6_PKTINFO) in svc_udp_get_dest_address6()
602 cmh->cmsg_level, cmh->cmsg_type); in svc_udp_recvfrom()
/linux-4.1.27/include/linux/
Dsocket.h82 int cmsg_type; /* protocol-specific type */ member
/linux-4.1.27/net/rxrpc/
Dar-output.c53 cmsg->cmsg_level, cmsg->cmsg_type, len); in rxrpc_sendmsg_cmsg()
58 switch (cmsg->cmsg_type) { in rxrpc_sendmsg_cmsg()
/linux-4.1.27/net/dccp/
Dproto.c727 if (cmsg->cmsg_type <= DCCP_SCM_QPOLICY_MAX && in dccp_msghdr_parse()
728 !dccp_qpolicy_param_ok(skb->sk, cmsg->cmsg_type)) in dccp_msghdr_parse()
731 switch (cmsg->cmsg_type) { in dccp_msghdr_parse()
/linux-4.1.27/net/rds/
Dsend.c865 switch (cmsg->cmsg_type) { in rds_rm_size()
920 switch (cmsg->cmsg_type) { in rds_cmsg_send()
Drdma.c781 switch (cmsg->cmsg_type) { in rds_cmsg_atomic()
/linux-4.1.27/arch/um/os-Linux/
Dfile.c510 (cmsg->cmsg_type != SCM_RIGHTS)) { in os_rcv_fd()
/linux-4.1.27/crypto/
Daf_alg.c448 switch (cmsg->cmsg_type) { in af_alg_cmsg_send()
/linux-4.1.27/net/ipv4/
Dip_sockglue.c234 cmsg->cmsg_type == IPV6_PKTINFO) { in ip_cmsg_send()
249 switch (cmsg->cmsg_type) { in ip_cmsg_send()
/linux-4.1.27/net/iucv/
Daf_iucv.c1085 if (cmsg->cmsg_type & cmsg_done) { in iucv_sock_sendmsg()
1089 cmsg_done |= cmsg->cmsg_type; in iucv_sock_sendmsg()
1091 switch (cmsg->cmsg_type) { in iucv_sock_sendmsg()
/linux-4.1.27/fs/dlm/
Dlowcomms.c559 cmsg->cmsg_type = SCTP_SNDRCV; in sctp_send_shutdown()
1126 cmsg->cmsg_type = SCTP_SNDRCV; in sctp_init_assoc()
/linux-4.1.27/Documentation/networking/
Ddccp.txt59 cmsg->cmsg_type = DCCP_SCM_PRIORITY;
Dtimestamping.txt256 SOL_SOCKET, cmsg_type SCM_TIMESTAMPING, and payload of type
/linux-4.1.27/net/sctp/
Dsocket.c6621 switch (cmsg->cmsg_type) { in sctp_msghdr_parse()