Home
last modified time | relevance | path

Searched refs:cmsg_data (Results 1 – 12 of 12) sorted by relevance

/external/strace/
Dmsghdr.c61 print_scm_rights(struct tcb *tcp, const void *cmsg_data, in print_scm_rights() argument
64 const int *fds = cmsg_data; in print_scm_rights()
84 print_scm_creds(struct tcb *tcp, const void *cmsg_data, in print_scm_creds() argument
87 const struct ucred *uc = cmsg_data; in print_scm_creds()
96 print_scm_security(struct tcb *tcp, const void *cmsg_data, in print_scm_security() argument
99 print_quoted_string(cmsg_data, data_len, 0); in print_scm_security()
103 print_scm_timestamp(struct tcb *tcp, const void *cmsg_data, in print_scm_timestamp() argument
106 print_struct_timeval_data_size(cmsg_data, data_len); in print_scm_timestamp()
110 print_scm_timestampns(struct tcb *tcp, const void *cmsg_data, in print_scm_timestampns() argument
113 print_struct_timespec_data_size(cmsg_data, data_len); in print_scm_timestampns()
[all …]
DChangeLog27695 argument validity check, don't print ", cmsg_data=" prefix here.
27700 and its cmsg_data.
27728 msghdr.c: fix representation of struct cmsghdr.cmsg_data integer arrays.
27729 * msghdr.c (print_cmsg_ip_opts): Print struct cmsghdr.cmsg_data
27733 msghdr.c: fix representation of integer struct cmsghdr.cmsg_data values.
27735 print_cmsg_ip_checksum): Print struct cmsghdr.cmsg_data value as an
27739 msghdr.c: when printing struct struct cmsghdr.cmsg_data, also print its name
27743 print_cmsg_ip_origdstaddr): Print "cmsg_data=" before its contents.
35475 * net.c (printcmsghdr): Pass pointer to cmsg_data and length
35476 of cmsg_data to print_cmsg_type_data.
[all …]
/external/python/cpython3/Lib/multiprocessing/
Dreduction.py166 cmsg_level, cmsg_type, cmsg_data = ancdata[0]
169 if len(cmsg_data) % a.itemsize != 0:
171 a.frombytes(cmsg_data)
/external/python/cpython3/Lib/
Dsocket.py573 for cmsg_level, cmsg_type, cmsg_data in ancdata:
575 fds.frombytes(cmsg_data[:
576 len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
/external/python/cpython3/Lib/test/
Dtest_socket.py3411 for cmsg_level, cmsg_type, cmsg_data in recvmsg_result[1]:
3415 fds.frombytes(cmsg_data[:
3416 len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
3447 cmsg_level, cmsg_type, cmsg_data = item
3450 self.assertIsInstance(cmsg_data, bytes)
3451 self.assertEqual(len(cmsg_data) % SIZEOF_INT, 0)
3452 fds.frombytes(cmsg_data)
3586 for cmsg_level, cmsg_type, cmsg_data in ancdata:
3589 self.assertLess(len(cmsg_data), SIZEOF_INT)
3609 for cmsg_level, cmsg_type, cmsg_data in ancdata:
[all …]
/external/rust/crates/nix/src/sys/socket/
Dmod.rs832 fn copy_to_cmsg_data(&self, cmsg_data: *mut u8) { in copy_to_cmsg_data()
845 unsafe { ptr::write_bytes(cmsg_data, 0, self.len()) }; in copy_to_cmsg_data()
861 cmsg_data, in copy_to_cmsg_data()
866 cmsg_data.add(size), in copy_to_cmsg_data()
897 cmsg_data, in copy_to_cmsg_data()
/external/strace/tests/
Dmsg_control.c616 print_ip_opts(const void *const cmsg_data, const unsigned int data_len) in print_ip_opts() argument
618 const unsigned char *const opts = cmsg_data; in print_ip_opts()
/external/strace/tests-m32/
Dmsg_control.c616 print_ip_opts(const void *const cmsg_data, const unsigned int data_len) in print_ip_opts() argument
618 const unsigned char *const opts = cmsg_data; in print_ip_opts()
/external/strace/tests-mx32/
Dmsg_control.c616 print_ip_opts(const void *const cmsg_data, const unsigned int data_len) in print_ip_opts() argument
618 const unsigned char *const opts = cmsg_data; in print_ip_opts()
/external/python/cpython3/Doc/tools/
Dsusp-ignored.csv212 library/socket,,:len,fds.frombytes(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
/external/python/cpython3/Doc/library/
Dsocket.rst1422 or more tuples ``(cmsg_level, cmsg_type, cmsg_data)`` representing
1425 protocol-specific type respectively, and *cmsg_data* is a
1462 for cmsg_level, cmsg_type, cmsg_data in ancdata:
1465 fds.frombytes(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
1596 ``(cmsg_level, cmsg_type, cmsg_data)``, where *cmsg_level* and
1598 protocol-specific type respectively, and *cmsg_data* is a
/external/rust/crates/nix/
DCHANGELOG.md141 - Fixed unaligned casting of `cmsg_data` to `af_alg_iv` (#[1206](https://github.com/nix-rust/nix/pu…