| /Zephyr-4.2.1/include/zephyr/net/ |
| D | net_offload.h | 150 NET_ASSERT(iface); in net_offload_get() 151 NET_ASSERT(net_if_offload(iface)); in net_offload_get() 152 NET_ASSERT(net_if_offload(iface)->get); in net_offload_get() 175 NET_ASSERT(iface); in net_offload_bind() 176 NET_ASSERT(net_if_offload(iface)); in net_offload_bind() 177 NET_ASSERT(net_if_offload(iface)->bind); in net_offload_bind() 198 NET_ASSERT(iface); in net_offload_listen() 199 NET_ASSERT(net_if_offload(iface)); in net_offload_listen() 200 NET_ASSERT(net_if_offload(iface)->listen); in net_offload_listen() 242 NET_ASSERT(iface); in net_offload_connect() [all …]
|
| D | net_context.h | 449 NET_ASSERT(context); in net_context_is_used() 463 NET_ASSERT(context); in net_context_is_bound_to_iface() 477 NET_ASSERT(context); in net_context_is_accepting() 491 NET_ASSERT(context); in net_context_set_accepting() 509 NET_ASSERT(context); in net_context_is_closing() 523 NET_ASSERT(context); in net_context_set_closing() 551 NET_ASSERT(context); in net_context_get_state() 569 NET_ASSERT(context); in net_context_set_state() 588 NET_ASSERT(context); in net_context_get_family() 607 NET_ASSERT(context); in net_context_set_family() [all …]
|
| D | net_core.h | 75 #define NET_ASSERT(cond, ...) __ASSERT(cond, "" __VA_ARGS__) macro
|
| D | net_if.h | 775 NET_ASSERT(iface); in net_if_lock() 782 NET_ASSERT(iface); in net_if_unlock() 792 NET_ASSERT(iface); in net_if_tx_lock() 803 NET_ASSERT(iface); in net_if_tx_unlock()
|
| /Zephyr-4.2.1/subsys/net/ |
| D | hostname.c | 78 NET_ASSERT(postfix_len > 0); in net_hostname_set_postfix() 116 NET_ASSERT(postfix_len > 0); in net_hostname_set_postfix_str()
|
| /Zephyr-4.2.1/subsys/net/ip/ |
| D | nbr.c | 62 NET_ASSERT(idx < CONFIG_NET_IPV6_MAX_NEIGHBORS); in get_nbr() 144 NET_ASSERT(nbr->idx < CONFIG_NET_IPV6_MAX_NEIGHBORS); in net_nbr_unlink() 145 NET_ASSERT(net_neighbor_lladdr[nbr->idx].ref > 0); in net_nbr_unlink() 182 NET_ASSERT(idx < CONFIG_NET_IPV6_MAX_NEIGHBORS, in net_nbr_get_lladdr()
|
| D | route.c | 63 NET_ASSERT(idx < CONFIG_NET_MAX_NEXTHOPS, "idx %d >= max %d", in get_nexthop_nbr() 133 NET_ASSERT(route); in net_route_get_nbr() 241 NET_ASSERT(nbr); in nbr_nexthop_put() 255 NET_ASSERT(naddr, "Unknown nexthop address"); \ 339 NET_ASSERT(addr); in net_route_add() 340 NET_ASSERT(iface); in net_route_add() 341 NET_ASSERT(nexthop); in net_route_add() 359 NET_ASSERT(nexthop_lladdr); in net_route_add() 451 NET_ASSERT(tmp == nbr_nexthop); in net_route_add() 621 NET_ASSERT(iface); in net_route_del_by_nexthop() [all …]
|
| D | net_tc.c | 181 NET_ASSERT(tc >= 0 && tc < NET_TC_TX_COUNT); in net_tc_tx_thread_priority() 196 NET_ASSERT(tc >= 0 && tc < NET_TC_RX_COUNT); in net_tc_rx_thread_priority()
|
| D | net_mgmt.c | 403 NET_ASSERT(NET_MGMT_ON_IFACE(mgmt_event_mask)); in net_mgmt_event_wait_on_iface() 404 NET_ASSERT(iface); in net_mgmt_event_wait_on_iface()
|
| D | net_context.c | 717 NET_ASSERT(context); in net_context_put() 883 NET_ASSERT(addr); in net_context_bind() 884 NET_ASSERT(PART_OF_ARRAY(contexts, context)); in net_context_bind() 1244 NET_ASSERT(PART_OF_ARRAY(contexts, context)); in net_context_listen() 1275 NET_ASSERT((( in net_context_create_ipv4_new() 1329 NET_ASSERT((( in net_context_create_ipv6_new() 1367 NET_ASSERT(addr); in net_context_connect() 1368 NET_ASSERT(PART_OF_ARRAY(contexts, context)); in net_context_connect() 1539 NET_ASSERT(laddr != NULL); in net_context_connect() 1560 NET_ASSERT(PART_OF_ARRAY(contexts, context)); in net_context_accept() [all …]
|
| D | tp.c | 368 NET_ASSERT(ret == 0); in udp_finalize_pkt() 453 NET_ASSERT(net_pkt_get_len(pkt) <= net_if_get_mtu(pkt->iface)); in _tp_output() 459 NET_ASSERT(false); in _tp_output()
|
| D | ipv4_fragment.c | 150 NET_ASSERT(reass->pkt[0]); in reassemble_packet() 618 NET_ASSERT(pkt && pkt->buffer); in net_ipv4_prepare_for_send_fragment()
|
| D | ipv6_mld.c | 303 NET_ASSERT(ipv6); in send_mld_report()
|
| D | tcp.c | 923 NET_ASSERT(ctx->tcp != NULL); in tcp_install_close_cb() 1059 NET_ASSERT(s, "Invalid TCP state: %u", state); in tcp_state_to_str() 1759 NET_ASSERT(len == 0, "Not all bytes written"); in tcp_pkt_append() 3292 NET_ASSERT((conn->send_data_total == 0) || in tcp_in() 3622 NET_ASSERT(false, "%s is unimplemented", tcp_state_to_str(conn->state, true)); in tcp_in() 4471 NET_ASSERT(false, "Unimplemented tp command: %s", tp->msg); in tp_input() 4662 NET_ASSERT(context); in net_tcp_set_option() 4666 NET_ASSERT(conn); in net_tcp_set_option() 4699 NET_ASSERT(context); in net_tcp_get_option() 4703 NET_ASSERT(conn); in net_tcp_get_option()
|
| /Zephyr-4.2.1/subsys/net/l2/ppp/ |
| D | misc.c | 83 NET_ASSERT(ctx); in ppp_change_phase_debug() 89 NET_ASSERT(new_phase >= PPP_DEAD && in ppp_change_phase_debug() 274 NET_ASSERT(fsm); in ppp_change_state_debug() 280 NET_ASSERT(new_state >= PPP_INITIAL && in ppp_change_state_debug()
|
| D | ipv6cp.c | 40 NET_ASSERT(linkaddr->len >= 6); in ipv6cp_add_iid()
|
| /Zephyr-4.2.1/subsys/net/l2/ethernet/gptp/ |
| D | gptp_messages.c | 62 NET_ASSERT(buf); in gptp_get_hdr() 194 NET_ASSERT((port >= GPTP_PORT_START) && (port <= GPTP_PORT_END)); in gptp_prepare_sync() 196 NET_ASSERT(iface); in gptp_prepare_sync() 248 NET_ASSERT(sync); in gptp_prepare_follow_up() 249 NET_ASSERT((port >= GPTP_PORT_START) && (port <= GPTP_PORT_END)); in gptp_prepare_follow_up() 251 NET_ASSERT(iface); in gptp_prepare_follow_up() 299 NET_ASSERT((port >= GPTP_PORT_START) && (port <= GPTP_PORT_END)); in gptp_prepare_pdelay_req() 301 NET_ASSERT(iface); in gptp_prepare_pdelay_req() 482 NET_ASSERT((port >= GPTP_PORT_START) && (port <= GPTP_PORT_END)); in gptp_prepare_announce() 486 NET_ASSERT(iface); in gptp_prepare_announce() [all …]
|
| /Zephyr-4.2.1/modules/nrf_wifi/os/ |
| D | shim.c | 1177 NET_ASSERT(test_val == val, "%s", msg); in zep_shim_assert() 1180 NET_ASSERT(test_val != val, "%s", msg); in zep_shim_assert() 1183 NET_ASSERT(test_val < val, "%s", msg); in zep_shim_assert() 1186 NET_ASSERT(test_val <= val, "%s", msg); in zep_shim_assert() 1189 NET_ASSERT(test_val > val, "%s", msg); in zep_shim_assert() 1192 NET_ASSERT(test_val >= val, "%s", msg); in zep_shim_assert()
|
| /Zephyr-4.2.1/subsys/net/lib/http/ |
| D | http_hpack.c | 166 NET_ASSERT(n < 8); in hpack_integer_decode() 213 NET_ASSERT(type == HPACK_HEADER_NAME || type == HPACK_HEADER_VALUE); in hpack_huffman_decode() 242 NET_ASSERT(type == HPACK_HEADER_NAME || type == HPACK_HEADER_VALUE); in hpack_string_decode()
|
| /Zephyr-4.2.1/subsys/net/lib/shell/ |
| D | sockets.c | 102 NET_ASSERT(svc->pev != NULL); in walk_socket_services()
|
| /Zephyr-4.2.1/tests/net/ipv6/src/ |
| D | main.c | 710 NET_ASSERT(pkt, "Out of TX packets"); in ZTEST() 733 NET_ASSERT(pkt, "Out of TX packets"); in ZTEST() 1125 NET_ASSERT(pkt, "Out of TX packets"); in ZTEST() 1176 NET_ASSERT(pkt, "Out of TX packets"); in ZTEST() 1236 NET_ASSERT(pkt, "Out of TX packets"); in ZTEST() 1399 NET_ASSERT(pkt, "Out of TX packets"); in ZTEST()
|
| /Zephyr-4.2.1/subsys/net/lib/sockets/ |
| D | sockets_can.c | 259 NET_ASSERT(len == sizeof(struct socketcan_frame)); in zcan_sendto_ctx() 337 NET_ASSERT(recv_len == sizeof(struct socketcan_frame)); in zcan_recvfrom_ctx()
|
| D | socket_dispatcher.c | 100 NET_ASSERT(sock_family->is_supported); in sock_dispatch_find()
|
| /Zephyr-4.2.1/subsys/net/lib/capture/ |
| D | cooked.c | 261 NET_ASSERT(config->link_types.count == ctx->link_type_count); in interface_get_config()
|
| /Zephyr-4.2.1/drivers/net/ |
| D | ppp.c | 377 NET_ASSERT(ctx); in ppp_change_state() 383 NET_ASSERT(new_state >= STATE_HDLC_FRAME_START && in ppp_change_state()
|