/Zephyr-latest/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 | 438 NET_ASSERT(context); in net_context_is_used() 452 NET_ASSERT(context); in net_context_is_bound_to_iface() 466 NET_ASSERT(context); in net_context_is_accepting() 480 NET_ASSERT(context); in net_context_set_accepting() 498 NET_ASSERT(context); in net_context_is_closing() 512 NET_ASSERT(context); in net_context_set_closing() 540 NET_ASSERT(context); in net_context_get_state() 558 NET_ASSERT(context); in net_context_set_state() 577 NET_ASSERT(context); in net_context_get_family() 596 NET_ASSERT(context); in net_context_set_family() [all …]
|
D | net_core.h | 69 #define NET_ASSERT(cond, ...) __ASSERT(cond, "" __VA_ARGS__) macro
|
D | net_if.h | 763 NET_ASSERT(iface); in net_if_lock() 770 NET_ASSERT(iface); in net_if_unlock() 780 NET_ASSERT(iface); in net_if_tx_lock() 791 NET_ASSERT(iface); in net_if_tx_unlock()
|
/Zephyr-latest/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-latest/subsys/net/ip/ |
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 | 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 | net_context.c | 681 NET_ASSERT(context); in net_context_put() 846 NET_ASSERT(addr); in net_context_bind() 847 NET_ASSERT(PART_OF_ARRAY(contexts, context)); in net_context_bind() 1204 NET_ASSERT(PART_OF_ARRAY(contexts, context)); in net_context_listen() 1235 NET_ASSERT((( in net_context_create_ipv4_new() 1289 NET_ASSERT((( in net_context_create_ipv6_new() 1327 NET_ASSERT(addr); in net_context_connect() 1328 NET_ASSERT(PART_OF_ARRAY(contexts, context)); in net_context_connect() 1343 NET_ASSERT(addr->sa_family == net_context_get_family(context), in net_context_connect() 1489 NET_ASSERT(laddr != NULL); in net_context_connect() [all …]
|
D | net_tc.c | 215 NET_ASSERT(tc < ARRAY_SIZE(thread_priorities)); in tx_tc2thread() 232 NET_ASSERT(tc < ARRAY_SIZE(thread_priorities)); in rx_tc2thread()
|
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 | 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() 619 NET_ASSERT(pkt && pkt->buffer); in net_ipv4_prepare_for_send_fragment()
|
D | ipv6_mld.c | 293 NET_ASSERT(ipv6); in send_mld_report()
|
D | tcp.c | 828 NET_ASSERT(ctx->tcp != NULL); in tcp_install_close_cb() 1053 NET_ASSERT(s, "Invalid TCP state: %u", state); in tcp_state_to_str() 1690 NET_ASSERT(len == 0, "Not all bytes written"); in tcp_pkt_append() 3177 NET_ASSERT((conn->send_data_total == 0) || in tcp_in() 3558 NET_ASSERT(false, "%s is unimplemented", in tcp_in() 4353 NET_ASSERT(false, "Unimplemented tp command: %s", tp->msg); in tp_input() 4542 NET_ASSERT(context); in net_tcp_set_option() 4546 NET_ASSERT(conn); in net_tcp_set_option() 4579 NET_ASSERT(context); in net_tcp_get_option() 4583 NET_ASSERT(conn); in net_tcp_get_option()
|
/Zephyr-latest/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-latest/subsys/net/l2/ethernet/gptp/ |
D | gptp_messages.c | 61 NET_ASSERT(buf); in gptp_get_hdr() 193 NET_ASSERT((port >= GPTP_PORT_START) && (port <= GPTP_PORT_END)); in gptp_prepare_sync() 195 NET_ASSERT(iface); in gptp_prepare_sync() 247 NET_ASSERT(sync); in gptp_prepare_follow_up() 248 NET_ASSERT((port >= GPTP_PORT_START) && (port <= GPTP_PORT_END)); in gptp_prepare_follow_up() 250 NET_ASSERT(iface); in gptp_prepare_follow_up() 298 NET_ASSERT((port >= GPTP_PORT_START) && (port <= GPTP_PORT_END)); in gptp_prepare_pdelay_req() 300 NET_ASSERT(iface); in gptp_prepare_pdelay_req() 481 NET_ASSERT((port >= GPTP_PORT_START) && (port <= GPTP_PORT_END)); in gptp_prepare_announce() 485 NET_ASSERT(iface); in gptp_prepare_announce() [all …]
|
/Zephyr-latest/modules/nrf_wifi/os/ |
D | shim.c | 959 NET_ASSERT(test_val == val, "%s", msg); in zep_shim_assert() 962 NET_ASSERT(test_val != val, "%s", msg); in zep_shim_assert() 965 NET_ASSERT(test_val < val, "%s", msg); in zep_shim_assert() 968 NET_ASSERT(test_val <= val, "%s", msg); in zep_shim_assert() 971 NET_ASSERT(test_val > val, "%s", msg); in zep_shim_assert() 974 NET_ASSERT(test_val >= val, "%s", msg); in zep_shim_assert()
|
/Zephyr-latest/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-latest/subsys/net/lib/shell/ |
D | sockets.c | 102 NET_ASSERT(svc->pev != NULL); in walk_socket_services()
|
/Zephyr-latest/tests/net/ipv6/src/ |
D | main.c | 706 NET_ASSERT(pkt, "Out of TX packets"); in ZTEST() 729 NET_ASSERT(pkt, "Out of TX packets"); in ZTEST() 1033 NET_ASSERT(pkt, "Out of TX packets"); in ZTEST() 1084 NET_ASSERT(pkt, "Out of TX packets"); in ZTEST() 1144 NET_ASSERT(pkt, "Out of TX packets"); in ZTEST() 1307 NET_ASSERT(pkt, "Out of TX packets"); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_can.c | 260 NET_ASSERT(len == sizeof(struct socketcan_frame)); in zcan_sendto_ctx() 338 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-latest/subsys/net/lib/capture/ |
D | cooked.c | 261 NET_ASSERT(config->link_types.count == ctx->link_type_count); in interface_get_config()
|
/Zephyr-latest/drivers/net/ |
D | ppp.c | 378 NET_ASSERT(ctx); in ppp_change_state() 384 NET_ASSERT(new_state >= STATE_HDLC_FRAME_START && in ppp_change_state()
|