Home
last modified time | relevance | path

Searched defs:max_len (Results 1 – 25 of 47) sorted by relevance

12

/Zephyr-latest/tests/net/lib/coap_client/src/
Dmain.c121 static ssize_t z_impl_zsock_recvfrom_custom_fake(int sock, void *buf, size_t max_len, int flags, in z_impl_zsock_recvfrom_custom_fake()
269 static ssize_t z_impl_zsock_recvfrom_custom_fake_response(int sock, void *buf, size_t max_len, in z_impl_zsock_recvfrom_custom_fake_response()
291 static ssize_t z_impl_zsock_recvfrom_custom_fake_empty_ack(int sock, void *buf, size_t max_len, in z_impl_zsock_recvfrom_custom_fake_empty_ack()
312 static ssize_t z_impl_zsock_recvfrom_custom_fake_rst(int sock, void *buf, size_t max_len, int flags, in z_impl_zsock_recvfrom_custom_fake_rst()
331 static ssize_t z_impl_zsock_recvfrom_custom_fake_only_ack(int sock, void *buf, size_t max_len, in z_impl_zsock_recvfrom_custom_fake_only_ack()
343 static ssize_t z_impl_zsock_recvfrom_custom_fake_unmatching(int sock, void *buf, size_t max_len, in z_impl_zsock_recvfrom_custom_fake_unmatching()
364 static ssize_t z_impl_zsock_recvfrom_custom_fake_echo(int sock, void *buf, size_t max_len, in z_impl_zsock_recvfrom_custom_fake_echo()
391 static ssize_t z_impl_zsock_recvfrom_custom_fake_echo_next_req(int sock, void *buf, size_t max_len, in z_impl_zsock_recvfrom_custom_fake_echo_next_req()
419 size_t max_len, int flags, in z_impl_zsock_recvfrom_custom_fake_duplicate_response()
442 static ssize_t z_impl_zsock_recvfrom_custom_fake_observe(int sock, void *buf, size_t max_len, in z_impl_zsock_recvfrom_custom_fake_observe()
/Zephyr-latest/tests/subsys/shell/shell_history/src/
Dshell_history_test.c172 int max_len = get_max_buffer_len(); in ZTEST() local
233 int max_len = get_max_buffer_len(); in ZTEST() local
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt_client/src/
Dos_mgmt_client.c122 int os_mgmt_client_echo(struct os_mgmt_client *client, const char *echo_string, size_t max_len) in os_mgmt_client_echo()
/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp_phy.c108 int osdp_phy_packet_init(struct osdp_pd *pd, uint8_t *buf, int max_len) in osdp_phy_packet_init()
159 int len, int max_len) in osdp_phy_packet_finalize()
Dosdp_pd.c573 static int pd_build_reply(struct osdp_pd *pd, uint8_t *buf, int max_len) in pd_build_reply()
Dosdp_cp.c126 static int cp_build_command(struct osdp_pd *pd, uint8_t *buf, int max_len) in cp_build_command()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_inet.c1053 size_t max_len, in zsock_recv_dgram()
1242 static size_t zsock_recv_stream_immediate(struct net_context *ctx, uint8_t **buf, size_t *max_len, in zsock_recv_stream_immediate()
1323 uint8_t *buf, size_t max_len, in zsock_recv_stream_timed()
1413 void *buf, size_t max_len, int flags) in zsock_recv_stream()
1455 ssize_t zsock_recvfrom_ctx(struct net_context *ctx, void *buf, size_t max_len, in zsock_recvfrom_ctx()
1482 size_t i, max_len = 0; in zsock_recvmsg_ctx() local
2977 static ssize_t sock_recvfrom_vmeth(void *obj, void *buf, size_t max_len, in sock_recvfrom_vmeth()
Dsockets_net_mgmt.c142 size_t max_len, int flags, in znet_mgmt_recvfrom()
352 size_t max_len, int flags, in net_mgmt_sock_recvfrom()
Dsockets_packet.c297 ssize_t zpacket_recvfrom_ctx(struct net_context *ctx, void *buf, size_t max_len, in zpacket_recvfrom_ctx()
445 static ssize_t packet_sock_recvfrom_vmeth(void *obj, void *buf, size_t max_len, in packet_sock_recvfrom_vmeth()
Dsockets_can.c276 size_t max_len, int flags, in zcan_recvfrom_ctx()
506 static ssize_t can_sock_recvfrom_vmeth(void *obj, void *buf, size_t max_len, in can_sock_recvfrom_vmeth()
Dsockets.c477 ssize_t z_impl_zsock_recvfrom(int sock, void *buf, size_t max_len, int flags, in z_impl_zsock_recvfrom()
496 ssize_t z_vrfy_zsock_recvfrom(int sock, void *buf, size_t max_len, int flags, in z_vrfy_zsock_recvfrom()
Dsockets_tls.c2570 size_t max_len, int flags) in recv_tls()
2671 size_t max_len, int flags, in recvfrom_dtls_common()
2778 size_t max_len, int flags, in recvfrom_dtls_client()
2844 size_t max_len, int flags, in recvfrom_dtls_server()
2945 ssize_t ztls_recvfrom_ctx(struct tls_context *ctx, void *buf, size_t max_len, in ztls_recvfrom_ctx()
3819 static ssize_t tls_sock_recvfrom_vmeth(void *obj, void *buf, size_t max_len, in tls_sock_recvfrom_vmeth()
Dsocket_dispatcher.c289 size_t max_len, int flags, in sock_dispatch_recvfrom_vmeth()
Dsocketpair.c1120 static ssize_t spair_recvfrom(void *obj, void *buf, size_t max_len, in spair_recvfrom()
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_engine/src/
Dstubs.c110 ssize_t z_impl_zsock_recvfrom(int sock, void *buf, size_t max_len, int flags, in z_impl_zsock_recvfrom()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap.c169 int coap_packet_init(struct coap_packet *cpkt, uint8_t *data, uint16_t max_len, in coap_packet_init()
220 uint8_t *data, uint16_t max_len, uint8_t code) in coap_ack_init()
236 uint8_t *data, uint16_t max_len) in coap_rst_init()
457 uint16_t max_len, uint8_t *value) in read_u8()
470 uint16_t max_len, uint16_t *value) in read_be16()
484 uint16_t max_len, uint16_t len, uint8_t *value) in read()
497 static int decode_delta(uint8_t *data, uint16_t offset, uint16_t *pos, uint16_t max_len, in decode_delta()
534 uint16_t max_len, uint16_t *opt_delta, uint16_t *opt_len, in parse_option()
Dcoap_client.c51 static int receive(int sock, void *buf, size_t max_len, int flags, in receive()
/Zephyr-latest/tests/net/socket/reuseaddr_reuseport/src/
Dmain.c218 static void test_recvfrom_success(int sock, void *buf, size_t max_len, int flags, in test_recvfrom_success()
227 static void test_recvfrom_fail(int sock, void *buf, size_t max_len, int flags, in test_recvfrom_fail()
238 static void test_recv_success(int sock, void *buf, size_t max_len, int flags) in test_recv_success()
246 static void test_recv_fail(int sock, void *buf, size_t max_len, int flags) in test_recv_fail()
/Zephyr-latest/drivers/ethernet/
Deth_ivshmem_queue.c252 static uint32_t tx_buffer_advance(uint32_t max_len, uint32_t *position, uint32_t *len) in tx_buffer_advance()
/Zephyr-latest/lib/posix/options/
Dnet.c342 ssize_t recv(int sock, void *buf, size_t max_len, int flags) in recv()
347 ssize_t recvfrom(int sock, void *buf, size_t max_len, int flags, struct sockaddr *src_addr, in recvfrom()
/Zephyr-latest/samples/net/sockets/websocket_client/src/
Dmain.c143 static size_t how_much_to_send(size_t max_len) in how_much_to_send()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio.c410 void radio_pkt_configure(uint8_t bits_len, uint8_t max_len, uint8_t flags) in radio_pkt_configure()
2080 uint8_t max_len = (NRF_RADIO->PCNF1 & RADIO_PCNF1_MAXLEN_Msk) >> in radio_ccm_ext_rx_pkt_set() local
2160 uint8_t max_len = (NRF_RADIO->PCNF1 & RADIO_PCNF1_MAXLEN_Msk) >> in radio_ccm_ext_tx_pkt_set() local
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_socket_offload.c320 static ssize_t eswifi_socket_recv(void *obj, void *buf, size_t max_len, in eswifi_socket_recv()
/Zephyr-latest/subsys/tracing/ctf/
Dctf_top.c478 void sys_trace_socket_recvfrom_enter(int sock, int max_len, int flags, in sys_trace_socket_recvfrom_enter()
506 uint32_t max_len = 0; in sys_trace_socket_recvmsg_enter() local
/Zephyr-latest/modules/hostap/src/
Dsupp_api.c2949 static void dpp_ssid_bin2str(char *dst, uint8_t *src, int max_len)
2970 static int dpp_params_to_cmd(struct wifi_dpp_params *params, char *cmd, size_t max_len)

12