Searched refs:cmsg_type (Results 1 - 25 of 88) sorted by relevance

1234

/external/compiler-rt/test/msan/Linux/
H A Dcmsghdr.cc60 cmsg->cmsg_type = SCM_RIGHTS;
67 __msan_poison(&cmsg->cmsg_type, sizeof(cmsg->cmsg_type));
80 cmsg->cmsg_type = SCM_CREDENTIALS;
87 __msan_poison(&cmsg->cmsg_type, sizeof(cmsg->cmsg_type));
/external/strace/tests/
H A Dmsg_control.c110 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_type))
111 cmsg->cmsg_type = SCM_RIGHTS;
131 ", cmsg_type=SCM_RIGHTS", (unsigned long) cmsg_len);
166 cmsg[0]->cmsg_type = SCM_RIGHTS;
175 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_type))
176 cmsg[1]->cmsg_type = SCM_RIGHTS;
190 ", cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS",
193 printf("}, {cmsg_len=%lu, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS",
214 cmsg->cmsg_type = SCM_RIGHTS;
226 ", cmsg_level=SOL_SOCKET, cmsg_type
536 test_ip_pktinfo(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
566 test_ip_uint(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
592 test_ip_uint8_t(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
634 test_ip_opts(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str, const unsigned int opts_len) argument
674 test_ip_recverr(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
716 test_ip_origdstaddr(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
[all...]
H A Dinet-cmsg.c163 printf("{cmsg_len=%lu, cmsg_level=SOL_IP, cmsg_type=",
165 switch (c->cmsg_type) {
187 printf("%d", c->cmsg_type);
H A Dscm_rights.c79 cmsg->cmsg_type = SCM_RIGHTS;
/external/strace/tests-m32/
H A Dmsg_control.c110 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_type))
111 cmsg->cmsg_type = SCM_RIGHTS;
131 ", cmsg_type=SCM_RIGHTS", (unsigned long) cmsg_len);
166 cmsg[0]->cmsg_type = SCM_RIGHTS;
175 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_type))
176 cmsg[1]->cmsg_type = SCM_RIGHTS;
190 ", cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS",
193 printf("}, {cmsg_len=%lu, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS",
214 cmsg->cmsg_type = SCM_RIGHTS;
226 ", cmsg_level=SOL_SOCKET, cmsg_type
536 test_ip_pktinfo(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
566 test_ip_uint(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
592 test_ip_uint8_t(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
634 test_ip_opts(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str, const unsigned int opts_len) argument
674 test_ip_recverr(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
716 test_ip_origdstaddr(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
[all...]
H A Dinet-cmsg.c163 printf("{cmsg_len=%lu, cmsg_level=SOL_IP, cmsg_type=",
165 switch (c->cmsg_type) {
187 printf("%d", c->cmsg_type);
H A Dscm_rights.c79 cmsg->cmsg_type = SCM_RIGHTS;
/external/strace/tests-mx32/
H A Dmsg_control.c110 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_type))
111 cmsg->cmsg_type = SCM_RIGHTS;
131 ", cmsg_type=SCM_RIGHTS", (unsigned long) cmsg_len);
166 cmsg[0]->cmsg_type = SCM_RIGHTS;
175 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_type))
176 cmsg[1]->cmsg_type = SCM_RIGHTS;
190 ", cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS",
193 printf("}, {cmsg_len=%lu, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS",
214 cmsg->cmsg_type = SCM_RIGHTS;
226 ", cmsg_level=SOL_SOCKET, cmsg_type
536 test_ip_pktinfo(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
566 test_ip_uint(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
592 test_ip_uint8_t(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
634 test_ip_opts(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str, const unsigned int opts_len) argument
674 test_ip_recverr(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
716 test_ip_origdstaddr(struct msghdr *const mh, void *const page, const int cmsg_type, const char *const cmsg_type_str) argument
[all...]
H A Dinet-cmsg.c163 printf("{cmsg_len=%lu, cmsg_level=SOL_IP, cmsg_type=",
165 switch (c->cmsg_type) {
187 printf("%d", c->cmsg_type);
H A Dscm_rights.c79 cmsg->cmsg_type = SCM_RIGHTS;
/external/strace/
H A Dmsghdr.c48 int cmsg_type; member in struct:cmsghdr32
236 print_cmsg_type_data(struct tcb *tcp, const int cmsg_level, const int cmsg_type, argument
239 const unsigned int utype = cmsg_type;
242 printxval(scmvals, cmsg_type, "SCM_???");
251 printxval(ip_cmsg_types, cmsg_type, "IP_???");
260 tprintf("%#x", cmsg_type);
320 const int cmsg_type = local
322 (current_wordsize < sizeof(long)) ? u.cmsg32->cmsg_type :
324 u.cmsg->cmsg_type;
330 tprints(", cmsg_type
[all...]
/external/ltp/utils/sctp/lib/
H A Dsendmsg.c55 cmsg->cmsg_type = SCTP_SNDRCV;
98 cmsg->cmsg_type = SCTP_SNDRCV;
H A Drecvmsg.c92 (SCTP_SNDRCV == cmsg->cmsg_type))
/external/google-breakpad/src/client/linux/crash_generation/
H A Dcrash_generation_client.cc70 hdr->cmsg_type = SCM_RIGHTS;
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
H A Dtxtimestamp.c190 cm->cmsg_type == SCM_TIMESTAMPING) {
193 cm->cmsg_type == IP_RECVERR) ||
195 cm->cmsg_type == IPV6_RECVERR)) {
205 cm->cmsg_type == IP_PKTINFO) {
210 cm->cmsg_type == IPV6_PKTINFO) {
216 cm->cmsg_level, cm->cmsg_type);
H A Dtimestamping.c179 switch (cmsg->cmsg_type) {
212 printf("type %d", cmsg->cmsg_type);
218 switch (cmsg->cmsg_type) {
247 printf("type %d", cmsg->cmsg_type);
254 cmsg->cmsg_type);
/external/valgrind/none/tests/
H A Dfdleak_cmsg.c69 cmsg->cmsg_type = SCM_RIGHTS;
133 cmsg->cmsg_type == SCM_RIGHTS &&
/external/iproute2/include/
H A Dbpf_scm.h58 cmsg->cmsg_type = SCM_RIGHTS;
/external/libchrome/base/posix/
H A Dunix_domain_socket_linux.cc68 cmsg->cmsg_type = SCM_RIGHTS;
140 cmsg->cmsg_type == SCM_RIGHTS) {
150 cmsg->cmsg_type == SCM_CREDENTIALS) {
/external/libmojo/mojo/edk/embedder/
H A Dplatform_channel_utils_posix.cc159 cmsg->cmsg_type = SCM_RIGHTS;
186 cmsg->cmsg_type = SCM_RIGHTS;
234 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) {
/external/python/cpython2/Modules/_multiprocessing/
H A Dmultiprocessing.c130 cmsg->cmsg_type = SCM_RIGHTS;
169 cmsg->cmsg_type = SCM_RIGHTS;
183 cmsg->cmsg_type != SCM_RIGHTS ||
/external/mdnsresponder/mDNSPosix/
H A DmDNSUNP.c588 cmptr->cmsg_type == IP_PKTINFO) {
603 cmptr->cmsg_type == IP_RECVDSTADDR) {
615 cmptr->cmsg_type == IP_RECVIF) {
635 cmptr->cmsg_type == IP_RECVTTL) {
640 cmptr->cmsg_type == IP_TTL) { // some implementations seem to send IP_TTL instead of IP_RECVTTL
648 cmptr->cmsg_type == IPV6_2292_PKTINFO) {
667 cmptr->cmsg_type == IPV6_2292_HOPLIMIT) {
/external/ltp/testcases/network/lib6/
H A Dasapi_03.c229 pcmsg->cmsg_type = cmtab[i].cm_type;
353 pcmsg->cmsg_type == psoe->so_cmtype;
360 pcmsg->cmsg_type, pcmsg->cmsg_len);
/external/iputils/
H A Dtracepath6.c175 switch(cmsg->cmsg_type) {
186 printf("cmsg6:%d\n ", cmsg->cmsg_type);
190 switch(cmsg->cmsg_type) {
198 printf("cmsg4:%d\n ", cmsg->cmsg_type);
/external/wayland/src/
H A Dwayland-os.c109 cmsg->cmsg_type != SCM_RIGHTS)

Completed in 2619 milliseconds

1234