Home
last modified time | relevance | path

Searched refs:NET_OK (Results 1 – 25 of 60) sorted by relevance

123

/Zephyr-latest/tests/net/npf/src/
Dmain.c119 static NPF_RULE(accept_iface_a, NET_OK, match_iface_a);
120 static NPF_RULE(accept_all_but_iface_b, NET_OK, unmatch_iface_b);
179 static NPF_RULE(small_ip_pkt, NET_OK, ip_packet, maxsize_200);
259 static NPF_RULE(accept_matched_src_addr, NET_OK, matched_src_addr);
260 static NPF_RULE(accept_unmatched_src_addr, NET_OK, unmatched_src_addr);
261 static NPF_RULE(accept_matched_dst_addr, NET_OK, matched_dst_addr);
262 static NPF_RULE(accept_unmatched_dst_addr, NET_OK, unmatched_dst_addr);
311 static NPF_RULE(accept_matched_src_addr_mask, NET_OK, matched_src_addr_mask);
365 static NPF_RULE(ipv4_allowlist, NET_OK, allowlist_ipv4_src_addr);
366 static NPF_RULE(ipv4_blocklist, NET_OK, blocklist_ipv4_src_addr);
[all …]
/Zephyr-latest/subsys/net/pkt_filter/
Dbase.c109 return NET_OK; in evaluate()
135 return result == NET_OK; in net_pkt_filter_send_ok()
142 return result == NET_OK; in net_pkt_filter_recv_ok()
150 return result == NET_OK; in net_pkt_filter_local_in_recv_ok()
166 return result == NET_OK; in net_pkt_filter_ip_recv_ok()
226 .result = NET_OK,
/Zephyr-latest/subsys/net/l2/ppp/
Dfsm.c580 return NET_OK; in fsm_recv_configure_req()
584 return NET_OK; in fsm_recv_configure_req()
673 return NET_OK; in fsm_recv_configure_req()
745 return NET_OK; in fsm_recv_configure_ack()
846 return NET_OK; in fsm_recv_configure_nack_rej()
893 return NET_OK; in fsm_recv_terminate_req()
931 return NET_OK; in fsm_recv_terminate_ack()
941 return NET_OK; in fsm_recv_terminate_ack()
970 return NET_OK; in fsm_recv_code_rej()
1134 return NET_OK; in ppp_fsm_recv_echo_req()
[all …]
Dppp_l2.c153 case NET_OK: in ppp_recv()
/Zephyr-latest/subsys/net/ip/
Dpromiscuous.c97 return NET_OK; in net_promisc_mode_input()
Dipv6.c376 return NET_OK; in ipv6_route_packet()
389 return NET_OK; in ipv6_route_packet()
604 if (ipv6_route_packet(pkt, hdr) == NET_OK) { in net_ipv6_input()
605 return NET_OK; in net_ipv6_input()
769 verdict = NET_OK; in net_ipv6_input()
777 verdict = NET_OK; in net_ipv6_input()
Dipv4.c402 verdict = NET_OK; in net_ipv4_input()
408 verdict = NET_OK; in net_ipv4_input()
479 return NET_OK; in net_ipv4_prepare_for_send()
Dtcp.c1319 ret = NET_OK; in tcp_data_get()
2852 verdict = NET_OK; in tcp_in()
2941 verdict = NET_OK; in tcp_in()
3031 if (verdict == NET_OK) { in tcp_in()
3039 verdict = NET_OK; in tcp_in()
3058 if (verdict == NET_OK) { in tcp_in()
3065 verdict = NET_OK; in tcp_in()
3099 if (verdict == NET_OK) { in tcp_in()
3104 verdict = NET_OK; in tcp_in()
3248 verdict = NET_OK; in tcp_in()
[all …]
Dconnection.c634 return NET_OK; in conn_raw_socket()
789 } else if (ret == NET_OK) { in net_conn_input()
902 return NET_OK; in net_conn_input()
912 return NET_OK; in net_conn_input()
926 return NET_OK; in net_conn_input()
Dipv4_fragment.c412 return NET_OK; in net_ipv4_handle_fragment_hdr()
417 return NET_OK; in net_ipv4_handle_fragment_hdr()
678 return NET_OK; in net_ipv4_prepare_for_send_fragment()
Dipv6_fragment.c575 return NET_OK; in net_ipv6_handle_fragment_hdr()
580 return NET_OK; in net_ipv6_handle_fragment_hdr()
Dipv6.h250 return NET_OK; in net_ipv6_prepare_for_send()
Dicmpv6.c374 return NET_OK; in net_icmpv6_input()
Dnet_core.c172 case NET_OK: in processing_data()
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_pkt_filter.rst28 Packet outcome is either ``NET_OK`` to accept the packet or ``NET_DROP`` to
38 If a filter rule list is empty then ``NET_OK`` is assumed. If a non-empty
62 static NPF_RULE(small_ip_pkt, NET_OK, ip_packet, maxsize_200);
/Zephyr-latest/subsys/net/l2/ethernet/
Darp.h84 #define net_arp_input(...) NET_OK
/Zephyr-latest/include/zephyr/net/
Dnet_core.h104 NET_OK, enumerator
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154.c130 return NET_OK; in ieee802154_handle_ack()
146 return NET_OK; in ieee802154_handle_ack()
391 return NET_OK; in ieee802154_recv()
430 return NET_OK; in ieee802154_recv()
/Zephyr-latest/tests/net/dhcpv6/src/
Dmain.c724 zassert_equal(result, NET_OK, "Message should've been processed"); in ZTEST()
834 zassert_equal(result, NET_OK, "Message should've been processed"); in ZTEST()
893 zassert_equal(result, NET_OK, "Message should've been processed"); in test_solicit_expect_request_send_reply()
938 zassert_equal(result, NET_OK, "Message should've been processed"); in test_solicit_expect_solicit_send_advertise()
995 zassert_equal(result, NET_OK, "Message should've been processed"); in expect_request_send_reply()
1015 zassert_equal(result, NET_OK, "Message should've been processed"); in expect_solicit_send_advertise()
1060 zassert_equal(result, NET_OK, "Message should've been processed"); in test_confirm_expect_confirm_send_reply()
1129 zassert_equal(result, NET_OK, "Message should've been processed"); in test_rebind_expect_rebind_send_reply()
1203 zassert_equal(result, NET_OK, "Message should've been processed"); in test_renew_expect_renew_send_reply()
/Zephyr-latest/tests/net/ieee802154/custom_l2/src/
Dmain.c28 return NET_OK; in custom_l2_recv()
/Zephyr-latest/tests/net/ipv6/src/
Dmain.c794 zassert_equal(verdict, NET_OK, "Packet was dropped (%d)", verdict); in ZTEST()
808 zassert_equal(verdict, NET_OK, "Packet was dropped (%d)", verdict); in ZTEST()
1828 zassert_equal(verdict, NET_OK, in ZTEST()
1957 zassert_equal(verdict, NET_OK, in ZTEST()
2028 zassert_equal(verdict, NET_OK, in verify_iface_mcast_send_on_iface_event()
2043 zassert_equal(verdict, NET_OK, in verify_iface_mcast_send_on_iface_event()
2085 zassert_equal(verdict, NET_OK, in verify_iface_mcast_recv_on_iface_event()
2102 zassert_equal(verdict, NET_OK, in verify_iface_mcast_recv_on_iface_event()
/Zephyr-latest/tests/net/arp/src/
Dmain.c539 case NET_OK: in ZTEST()
582 case NET_OK: in ZTEST()
/Zephyr-latest/tests/net/ipv6_fragment/src/
Dmain.c1549 return NET_OK; in udp_data_received()
2287 return NET_OK; in handle_ipv6_echo_reply()
2347 zassert_true(ret == NET_OK, "IPv6 frag1 reassembly failed"); in ZTEST()
2387 zassert_true(ret == NET_OK, "IPv6 frag2 reassembly failed"); in ZTEST()
/Zephyr-latest/drivers/ieee802154/
Dieee802154_uart_pipe.c150 if (ieee802154_handle_ack(upipe->iface, pkt) == NET_OK) { in upipe_rx()
/Zephyr-latest/subsys/net/lib/capture/
Dcooked.c181 return NET_OK; in interface_recv()

123