cmsg_len 660 arch/um/os-Linux/file.c cmsg->cmsg_len = CMSG_LEN(fds_size); cmsg_len 452 crypto/af_alg.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(*con->iv))) cmsg_len 455 crypto/af_alg.c if (cmsg->cmsg_len < CMSG_LEN(con->iv->ivlen + cmsg_len 461 crypto/af_alg.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(u32))) cmsg_len 467 crypto/af_alg.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(u32))) cmsg_len 82 include/linux/socket.h __kernel_size_t cmsg_len; /* data byte count, including hdr */ cmsg_len 105 include/linux/socket.h #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ cmsg_len 106 include/linux/socket.h (cmsg)->cmsg_len <= (unsigned long) \ cmsg_len 132 include/linux/socket.h __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len)); cmsg_len 28 include/net/compat.h compat_size_t cmsg_len; cmsg_len 111 net/compat.c struct compat_cmsghdr __user *cmsg, int cmsg_len) cmsg_len 113 net/compat.c char __user *ptr = (char __user *)cmsg + CMSG_COMPAT_ALIGN(cmsg_len); cmsg_len 140 net/compat.c if (get_user(ucmlen, &ucmsg->cmsg_len)) cmsg_len 169 net/compat.c if (__get_user(ucmlen, &ucmsg->cmsg_len)) cmsg_len 176 net/compat.c kcmsg->cmsg_len = tmp; cmsg_len 252 net/compat.c cmhdr.cmsg_len = cmlen; cmsg_len 303 net/compat.c err = put_user(cmlen, &cm->cmsg_len); cmsg_len 72 net/core/scm.c num = (cmsg->cmsg_len - sizeof(struct cmsghdr))/sizeof(int); cmsg_len 167 net/core/scm.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(struct ucred))) cmsg_len 234 net/core/scm.c cmhdr.cmsg_len = cmlen; cmsg_len 335 net/core/scm.c err = put_user(cmlen, &cm->cmsg_len); cmsg_len 2277 net/core/sock.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(u32))) cmsg_len 2282 net/core/sock.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(u32))) cmsg_len 2295 net/core/sock.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(u64))) cmsg_len 741 net/dccp/proto.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(__u32))) cmsg_len 258 net/ipv4/ip_sockglue.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(*src_info))) cmsg_len 280 net/ipv4/ip_sockglue.c err = cmsg->cmsg_len - sizeof(struct cmsghdr); cmsg_len 291 net/ipv4/ip_sockglue.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(struct in_pktinfo))) cmsg_len 300 net/ipv4/ip_sockglue.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(int))) cmsg_len 308 net/ipv4/ip_sockglue.c if (cmsg->cmsg_len == CMSG_LEN(sizeof(int))) cmsg_len 310 net/ipv4/ip_sockglue.c else if (cmsg->cmsg_len == CMSG_LEN(sizeof(u8))) cmsg_len 932 net/ipv4/udp.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(__u16))) cmsg_len 774 net/ipv6/datagram.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct in6_pktinfo))) { cmsg_len 827 net/ipv6/datagram.c if (cmsg->cmsg_len < CMSG_LEN(4)) { cmsg_len 843 net/ipv6/datagram.c if (opt->hopopt || cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { cmsg_len 850 net/ipv6/datagram.c if (cmsg->cmsg_len < CMSG_LEN(len)) { cmsg_len 863 net/ipv6/datagram.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { cmsg_len 870 net/ipv6/datagram.c if (cmsg->cmsg_len < CMSG_LEN(len)) { cmsg_len 888 net/ipv6/datagram.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_opt_hdr))) { cmsg_len 895 net/ipv6/datagram.c if (cmsg->cmsg_len < CMSG_LEN(len)) { cmsg_len 914 net/ipv6/datagram.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct ipv6_rt_hdr))) { cmsg_len 938 net/ipv6/datagram.c if (cmsg->cmsg_len < CMSG_LEN(len)) { cmsg_len 965 net/ipv6/datagram.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(int))) { cmsg_len 983 net/ipv6/datagram.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(int))) cmsg_len 1001 net/ipv6/datagram.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(int))) cmsg_len 1123 net/iucv/af_iucv.c if (cmsg->cmsg_len != CMSG_LEN(TRGCLS_SIZE)) { cmsg_len 585 net/rds/rdma.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct rds_rdma_args)) cmsg_len 738 net/rds/rdma.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(rds_rdma_cookie_t)) || cmsg_len 775 net/rds/rdma.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct rds_get_mr_args)) || cmsg_len 793 net/rds/rdma.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct rds_atomic_args)) cmsg_len 976 net/rds/send.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(*cookie)) || cmsg_len 1091 net/rds/send.c if (cmsg->cmsg_len < cmsg_len 502 net/rxrpc/sendmsg.c len = cmsg->cmsg_len - sizeof(struct cmsghdr); cmsg_len 1718 net/sctp/socket.c dlen = cmsg->cmsg_len - sizeof(struct cmsghdr); cmsg_len 8673 net/sctp/socket.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(struct sctp_initmsg))) cmsg_len 8691 net/sctp/socket.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(struct sctp_sndrcvinfo))) cmsg_len 8715 net/sctp/socket.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(struct sctp_sndinfo))) cmsg_len 8736 net/sctp/socket.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(struct sctp_prinfo))) cmsg_len 8756 net/sctp/socket.c if (cmsg->cmsg_len != CMSG_LEN(sizeof(struct sctp_authinfo))) cmsg_len 159 net/sunrpc/svcsock.c cmh->cmsg_len = CMSG_LEN(sizeof(*pki)); cmsg_len 171 net/sunrpc/svcsock.c cmh->cmsg_len = CMSG_LEN(sizeof(*pki)); cmsg_len 178 net/tls/tls_main.c if (cmsg->cmsg_len < CMSG_LEN(sizeof(*record_type))) cmsg_len 49 samples/seccomp/user-trap.c cmsg->cmsg_len = CMSG_LEN(sizeof(int)); cmsg_len 51 samples/seccomp/user-trap.c msg.msg_controllen = cmsg->cmsg_len; cmsg_len 147 tools/testing/selftests/android/ion/ipcsocket.c cmsg->cmsg_len = CMSG_LEN(len); cmsg_len 200 tools/testing/selftests/android/ion/ipcsocket.c cmsg->cmsg_len = CMSG_LEN(len); cmsg_len 1219 tools/testing/selftests/bpf/test_sock_addr.c cmsg->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); cmsg_len 1228 tools/testing/selftests/bpf/test_sock_addr.c cmsg->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); cmsg_len 55 tools/testing/selftests/net/ipv6_flowlabel.c cm->cmsg_len = CMSG_LEN(sizeof(flowlabel)); cmsg_len 178 tools/testing/selftests/net/msg_zerocopy.c cm->cmsg_len = CMSG_LEN(sizeof(cookie)); cmsg_len 662 tools/testing/selftests/net/nettest.c cm->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); cmsg_len 666 tools/testing/selftests/net/nettest.c m.msg_controllen = cm->cmsg_len; cmsg_len 673 tools/testing/selftests/net/nettest.c cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); cmsg_len 678 tools/testing/selftests/net/nettest.c m.msg_controllen = cm->cmsg_len; cmsg_len 88 tools/testing/selftests/net/so_txtime.c cm->cmsg_len = CMSG_LEN(sizeof(tdeliver)); cmsg_len 1044 tools/testing/selftests/net/tls.c int cmsg_len = sizeof(char); cmsg_len 1063 tools/testing/selftests/net/tls.c cmsg->cmsg_len = CMSG_LEN(cmsg_len); cmsg_len 1065 tools/testing/selftests/net/tls.c msg.msg_controllen = cmsg->cmsg_len; cmsg_len 475 tools/testing/selftests/net/udpgso.c cm->cmsg_len = CMSG_LEN(sizeof(uint16_t)); cmsg_len 304 tools/testing/selftests/net/udpgso_bench_tx.c cm->cmsg_len = CMSG_LEN(sizeof(cfg_tx_ts)); cmsg_len 368 tools/testing/selftests/net/udpgso_bench_tx.c cm->cmsg_len = CMSG_LEN(sizeof(cfg_gso_size)); cmsg_len 156 tools/testing/selftests/networking/timestamping/timestamping.c printf(" cmsg len %zu: ", cmsg->cmsg_len); cmsg_len 221 tools/testing/selftests/networking/timestamping/txtimestamp.c cm && cm->cmsg_len; cmsg_len 518 tools/testing/selftests/networking/timestamping/txtimestamp.c cmsg->cmsg_len = CMSG_LEN(sizeof(uint32_t));