Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Network Socket Tracing APIs . More...
Macros | |
#define | sys_port_trace_socket_init(socket, family, type, proto) |
Trace init of network sockets. | |
#define | sys_port_trace_socket_close_enter(socket) |
Trace close of network sockets. | |
#define | sys_port_trace_socket_close_exit(socket, ret) |
Trace network socket close attempt. | |
#define | sys_port_trace_socket_shutdown_enter(socket, how) |
Trace shutdown of network sockets. | |
#define | sys_port_trace_socket_shutdown_exit(socket, ret) |
Trace network socket shutdown attempt. | |
#define | sys_port_trace_socket_bind_enter(socket, addr, addrlen) |
Trace bind of network sockets. | |
#define | sys_port_trace_socket_bind_exit(socket, ret) |
Trace network socket bind attempt. | |
#define | sys_port_trace_socket_connect_enter(socket, addr, addrlen) |
Trace connect of network sockets. | |
#define | sys_port_trace_socket_connect_exit(socket, ret) |
Trace network socket connect attempt. | |
#define | sys_port_trace_socket_listen_enter(socket, backlog) |
Trace listen of network sockets. | |
#define | sys_port_trace_socket_listen_exit(socket, ret) |
Trace network socket listen attempt. | |
#define | sys_port_trace_socket_accept_enter(socket) |
Trace accept of network sockets. | |
#define | sys_port_trace_socket_accept_exit(socket, addr, addrlen, ret) |
Trace network socket accept attempt. | |
#define | sys_port_trace_socket_sendto_enter(socket, len, flags, dest_addr, addrlen) |
Trace sendto of network sockets. | |
#define | sys_port_trace_socket_sendto_exit(socket, ret) |
Trace network socket sendto attempt. | |
#define | sys_port_trace_socket_sendmsg_enter(socket, msg, flags) |
Trace sendmsg of network sockets. | |
#define | sys_port_trace_socket_sendmsg_exit(socket, ret) |
Trace network socket sendmsg attempt. | |
#define | sys_port_trace_socket_recvfrom_enter(socket, max_len, flags, addr, addrlen) |
Trace recvfrom of network sockets. | |
#define | sys_port_trace_socket_recvfrom_exit(socket, src_addr, addrlen, ret) |
Trace network socket recvfrom attempt. | |
#define | sys_port_trace_socket_recvmsg_enter(socket, msg, flags) |
Trace recvmsg of network sockets. | |
#define | sys_port_trace_socket_recvmsg_exit(socket, msg, ret) |
Trace network socket recvmsg attempt. | |
#define | sys_port_trace_socket_fcntl_enter(socket, cmd, flags) |
Trace fcntl of network sockets. | |
#define | sys_port_trace_socket_fcntl_exit(socket, ret) |
Trace network socket fcntl attempt. | |
#define | sys_port_trace_socket_ioctl_enter(socket, req) |
Trace ioctl of network sockets. | |
#define | sys_port_trace_socket_ioctl_exit(socket, ret) |
Trace network socket ioctl attempt. | |
#define | sys_port_trace_socket_poll_enter(fds, nfds, timeout) |
Trace polling of network sockets. | |
#define | sys_port_trace_socket_poll_exit(fds, nfds, ret) |
Trace network socket poll attempt. | |
#define | sys_port_trace_socket_getsockopt_enter(socket, level, optname) |
Trace getsockopt of network sockets. | |
#define | sys_port_trace_socket_getsockopt_exit(socket, level, optname, optval, optlen, ret) |
Trace network socket getsockopt attempt. | |
#define | sys_port_trace_socket_setsockopt_enter(socket, level, optname, optval, optlen) |
Trace setsockopt of network sockets. | |
#define | sys_port_trace_socket_setsockopt_exit(socket, ret) |
Trace network socket setsockopt attempt. | |
#define | sys_port_trace_socket_getpeername_enter(socket) |
Trace getpeername of network sockets. | |
#define | sys_port_trace_socket_getpeername_exit(socket, addr, addrlen, ret) |
Trace network socket getpeername attempt. | |
#define | sys_port_trace_socket_getsockname_enter(socket) |
Trace getsockname of network sockets. | |
#define | sys_port_trace_socket_getsockname_exit(socket, addr, addrlen, ret) |
Trace network socket getsockname attempt. | |
#define | sys_port_trace_socket_socketpair_enter(family, type, proto, sv) |
Trace socketpair enter call. | |
#define | sys_port_trace_socket_socketpair_exit(socket_A, socket_B, ret) |
Trace network socketpair open attempt. | |
Network Socket Tracing APIs .
#define sys_port_trace_socket_accept_enter | ( | socket | ) |
#define sys_port_trace_socket_accept_exit | ( | socket, | |
addr, | |||
addrlen, | |||
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket accept attempt.
socket | Socket object |
addr | Peer network address |
addrlen | Network address length |
ret | Return value |
#define sys_port_trace_socket_bind_enter | ( | socket, | |
addr, | |||
addrlen ) |
#include <zephyr/tracing/tracing.h>
Trace bind of network sockets.
socket | Socket object |
addr | Network address to bind |
addrlen | Address length |
#define sys_port_trace_socket_bind_exit | ( | socket, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket bind attempt.
socket | Socket object |
ret | Return value |
#define sys_port_trace_socket_close_enter | ( | socket | ) |
#define sys_port_trace_socket_close_exit | ( | socket, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket close attempt.
socket | Socket object |
ret | Return value |
#define sys_port_trace_socket_connect_enter | ( | socket, | |
addr, | |||
addrlen ) |
#include <zephyr/tracing/tracing.h>
Trace connect of network sockets.
socket | Socket object |
addr | Network address to bind |
addrlen | Address length |
#define sys_port_trace_socket_connect_exit | ( | socket, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket connect attempt.
socket | Socket object |
ret | Return value |
#include <zephyr/tracing/tracing.h>
Trace fcntl of network sockets.
socket | Socket object |
cmd | Command to set for this socket |
flags | Flags for this receive operation |
#define sys_port_trace_socket_fcntl_exit | ( | socket, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket fcntl attempt.
socket | Socket object |
ret | Return value |
#define sys_port_trace_socket_getpeername_enter | ( | socket | ) |
#include <zephyr/tracing/tracing.h>
Trace getpeername of network sockets.
socket | Socket object |
#define sys_port_trace_socket_getpeername_exit | ( | socket, | |
addr, | |||
addrlen, | |||
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket getpeername attempt.
socket | Socket object |
addr | Peer socket network address |
addrlen | Length of the network address |
ret | Return value |
#define sys_port_trace_socket_getsockname_enter | ( | socket | ) |
#include <zephyr/tracing/tracing.h>
Trace getsockname of network sockets.
socket | Socket object |
#define sys_port_trace_socket_getsockname_exit | ( | socket, | |
addr, | |||
addrlen, | |||
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket getsockname attempt.
socket | Socket object |
addr | Local socket network address |
addrlen | Length of the network address |
ret | Return value |
#define sys_port_trace_socket_getsockopt_enter | ( | socket, | |
level, | |||
optname ) |
#include <zephyr/tracing/tracing.h>
Trace getsockopt of network sockets.
socket | Socket object |
level | Option level |
optname | Option name |
#define sys_port_trace_socket_getsockopt_exit | ( | socket, | |
level, | |||
optname, | |||
optval, | |||
optlen, | |||
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket getsockopt attempt.
socket | Socket object |
level | Option level |
optname | Option name |
optval | Option value |
optlen | Option value length |
ret | Return value |
#define sys_port_trace_socket_init | ( | socket, | |
family, | |||
type, | |||
proto ) |
#include <zephyr/tracing/tracing.h>
Trace init of network sockets.
socket | Network socket is returned |
family | Socket address family |
type | Socket type |
proto | Socket protocol |
#define sys_port_trace_socket_ioctl_enter | ( | socket, | |
req ) |
#include <zephyr/tracing/tracing.h>
Trace ioctl of network sockets.
socket | Socket object |
req | Request to set for this socket |
#define sys_port_trace_socket_ioctl_exit | ( | socket, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket ioctl attempt.
socket | Socket object |
ret | Return value |
#define sys_port_trace_socket_listen_enter | ( | socket, | |
backlog ) |
#include <zephyr/tracing/tracing.h>
Trace listen of network sockets.
socket | Socket object |
backlog | Socket backlog length |
#define sys_port_trace_socket_listen_exit | ( | socket, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket listen attempt.
socket | Socket object |
ret | Return value |
#define sys_port_trace_socket_poll_enter | ( | fds, | |
nfds, | |||
timeout ) |
#include <zephyr/tracing/tracing.h>
Trace polling of network sockets.
fds | Set of socket object |
nfds | Number of socket objects in the set |
timeout | Timeout for the poll operation |
#define sys_port_trace_socket_poll_exit | ( | fds, | |
nfds, | |||
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket poll attempt.
fds | Set of socket object |
nfds | Number of socket objects in the set |
ret | Return value |
#include <zephyr/tracing/tracing.h>
Trace recvfrom of network sockets.
socket | Socket object |
max_len | Maximum length of the data we can receive |
flags | Flags for this receive operation |
addr | Remote network address |
addrlen | Network address length |
#define sys_port_trace_socket_recvfrom_exit | ( | socket, | |
src_addr, | |||
addrlen, | |||
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket recvfrom attempt.
socket | Socket object |
src_addr | Peer network address that send the data |
addrlen | Length of the network address |
ret | Return value |
#include <zephyr/tracing/tracing.h>
Trace recvmsg of network sockets.
socket | Socket object |
msg | Message buffer to receive |
flags | Flags for this receive operation |
#define sys_port_trace_socket_recvmsg_exit | ( | socket, | |
msg, | |||
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket recvmsg attempt.
socket | Socket object |
msg | Message buffer received |
ret | Return value |
#include <zephyr/tracing/tracing.h>
Trace sendmsg of network sockets.
socket | Socket object |
msg | Data to send |
flags | Flags for this send operation |
#define sys_port_trace_socket_sendmsg_exit | ( | socket, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket sendmsg attempt.
socket | Socket object |
ret | Return value |
#include <zephyr/tracing/tracing.h>
Trace sendto of network sockets.
socket | Socket object |
len | Length of the data to send |
flags | Flags for this send operation |
dest_addr | Destination network address |
addrlen | Network address length |
#define sys_port_trace_socket_sendto_exit | ( | socket, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket sendto attempt.
socket | Socket object |
ret | Return value |
#define sys_port_trace_socket_setsockopt_enter | ( | socket, | |
level, | |||
optname, | |||
optval, | |||
optlen ) |
#include <zephyr/tracing/tracing.h>
Trace setsockopt of network sockets.
socket | Socket object |
level | Option level |
optname | Option name |
optval | Option value |
optlen | Option value length |
#define sys_port_trace_socket_setsockopt_exit | ( | socket, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket setsockopt attempt.
socket | Socket object |
ret | Return value |
#define sys_port_trace_socket_shutdown_enter | ( | socket, | |
how ) |
#include <zephyr/tracing/tracing.h>
Trace shutdown of network sockets.
socket | Socket object |
how | Socket shutdown type |
#define sys_port_trace_socket_shutdown_exit | ( | socket, | |
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socket shutdown attempt.
socket | Socket object |
ret | Return value |
#define sys_port_trace_socket_socketpair_enter | ( | family, | |
type, | |||
proto, | |||
sv ) |
#include <zephyr/tracing/tracing.h>
Trace socketpair enter call.
family | Network address family |
type | Socket type |
proto | Socket protocol |
sv | Socketpair buffer |
#define sys_port_trace_socket_socketpair_exit | ( | socket_A, | |
socket_B, | |||
ret ) |
#include <zephyr/tracing/tracing.h>
Trace network socketpair open attempt.
socket_A | Socketpair first socket object |
socket_B | Socketpair second socket object |
ret | Return value |