Home
last modified time | relevance | path

Searched refs:NET_DROP (Results 1 – 25 of 56) sorted by relevance

123

/Zephyr-Core-3.4.0/tests/net/icmpv6/src/
Dmain.c69 ret = NET_DROP; in handle_test_msg()
124 zassert_true(ret == NET_DROP, "Callback not called properly"); in ZTEST()
142 zassert_true(!(ret == NET_DROP || handler_status != 0), in ZTEST()
161 zassert_true(!(ret == NET_DROP || handler_status != 0), in ZTEST()
/Zephyr-Core-3.4.0/subsys/net/l2/ieee802154/
Dieee802154_mgmt_priv.h56 #define ieee802154_handle_beacon(...) NET_DROP
57 #define ieee802154_handle_mac_command(...) NET_DROP
Dieee802154_6lo_fragment.c495 return NET_DROP; in fragment_add_to_cache()
515 return NET_DROP; in fragment_add_to_cache()
539 return NET_DROP; in fragment_add_to_cache()
546 return NET_DROP; in fragment_add_to_cache()
572 return NET_DROP; in ieee802154_6lo_reassemble()
587 return NET_DROP; in ieee802154_6lo_reassemble()
Dieee802154_6lo.c32 return NET_DROP; in ieee802154_6lo_decode_pkt()
Dieee802154.c229 return NET_DROP; in ieee802154_recv()
235 return NET_DROP; in ieee802154_recv()
239 return NET_DROP; in ieee802154_recv()
251 return NET_DROP; in ieee802154_recv()
267 return NET_DROP; in ieee802154_recv()
Dieee802154_mgmt.c44 return NET_DROP; in ieee802154_handle_beacon()
48 return NET_DROP; in ieee802154_handle_beacon()
274 return NET_DROP; in ieee802154_handle_mac_command()
285 return NET_DROP; in ieee802154_handle_mac_command()
304 enum net_verdict ret = NET_DROP; in ieee802154_handle_mac_command()
308 return NET_DROP; in ieee802154_handle_mac_command()
342 return NET_DROP; in ieee802154_handle_mac_command()
/Zephyr-Core-3.4.0/subsys/net/l2/ppp/
Dfsm.c601 return NET_DROP; in fsm_recv_configure_req()
610 return NET_DROP; in fsm_recv_configure_req()
674 return NET_DROP; in fsm_recv_configure_req()
685 return NET_DROP; in fsm_recv_configure_ack()
693 return NET_DROP; in fsm_recv_configure_ack()
738 return NET_DROP; in fsm_recv_configure_ack()
756 return NET_DROP; in fsm_recv_configure_nack_rej()
784 return NET_DROP; in fsm_recv_configure_nack_rej()
804 return NET_DROP; in fsm_recv_configure_nack_rej()
839 return NET_DROP; in fsm_recv_configure_nack_rej()
[all …]
/Zephyr-Core-3.4.0/subsys/net/ip/
Dnet_core.c88 return NET_DROP; in process_data()
94 if (ret == NET_DROP) { in process_data()
144 return NET_DROP; in process_data()
150 return NET_DROP; in process_data()
171 case NET_DROP: in processing_data()
346 if (net_if_send_data(net_pkt_iface(pkt), pkt) == NET_DROP) { in net_send_data()
Dipv6.c373 return NET_DROP; in ipv6_route_packet()
384 return NET_DROP; in ipv6_route_packet()
408 return NET_DROP; in ipv6_forward_mcast_packet()
440 enum net_verdict verdict = NET_DROP; in net_ipv6_input()
532 if (ipv6_forward_mcast_packet(pkt, hdr) == NET_DROP) { in net_ipv6_input()
604 return NET_DROP; in net_ipv6_input()
718 if (verdict == NET_DROP) { in net_ipv6_input()
727 if (verdict != NET_DROP) { in net_ipv6_input()
733 return NET_DROP; in net_ipv6_input()
744 return NET_DROP; in net_ipv6_input()
Dipv4.c228 enum net_verdict verdict = NET_DROP; in net_ipv4_input()
348 if (verdict == NET_DROP) { in net_ipv4_input()
355 if (verdict == NET_DROP) { in net_ipv4_input()
392 if (verdict == NET_DROP) { in net_ipv4_input()
399 if (verdict != NET_DROP) { in net_ipv4_input()
405 return NET_DROP; in net_ipv4_input()
Dipv4_autoconf.c66 if (net_if_send_data(ipv4auto->iface, pkt) == NET_DROP) { in ipv4_autoconf_send_probe()
87 if (net_if_send_data(ipv4auto->iface, pkt) == NET_DROP) { in ipv4_autoconf_send_announcement()
104 return NET_DROP; in net_ipv4_autoconf_input()
110 return NET_DROP; in net_ipv4_autoconf_input()
161 return NET_DROP; in net_ipv4_autoconf_input()
Dconnection.c557 return NET_DROP; in conn_raw_socket()
560 if (conn->cb(conn, raw_pkt, NULL, NULL, conn->user_data) == NET_DROP) { in conn_raw_socket()
585 return NET_DROP; in net_conn_input()
592 return NET_DROP; in net_conn_input()
596 return NET_DROP; in net_conn_input()
600 return NET_DROP; in net_conn_input()
604 return NET_DROP; in net_conn_input()
700 if (ret == NET_DROP) { in net_conn_input()
768 NET_DROP) { in net_conn_input()
814 == NET_DROP) { in net_conn_input()
[all …]
Dpacket_socket.c46 if (net_verdict == NET_DROP) { in net_packet_socket_input()
Dpromiscuous.c92 return NET_DROP; in net_promisc_mode_input()
Digmp.c210 return NET_DROP; in net_ipv4_igmp_input()
217 return NET_DROP; in net_ipv4_igmp_input()
242 return NET_DROP; in net_ipv4_igmp_input()
Dicmpv6.c190 return NET_DROP; in icmpv6_handle_echo_request()
436 return NET_DROP; in net_icmpv6_input()
464 return NET_DROP; in net_icmpv6_input()
Dconnection.h191 return NET_DROP; in net_conn_input()
/Zephyr-Core-3.4.0/subsys/net/l2/virtual/ipip/
Dipip.c305 return NET_DROP; in interface_input()
317 return NET_DROP; in interface_input()
325 return NET_DROP; in interface_input()
331 return NET_DROP; in interface_input()
337 return NET_DROP; in interface_input()
357 return NET_DROP; in interface_input()
364 return NET_DROP; in interface_input()
370 return NET_DROP; in interface_input()
/Zephyr-Core-3.4.0/doc/connectivity/networking/api/
Dnet_pkt_filter.rst28 Packet outcome is either ``NET_OK`` to accept the packet or ``NET_DROP`` to
39 rule list runs to the end then ``NET_DROP`` is assumed. However it is
80 static NPF_RULE(reject_big_pkts, NET_DROP, minsize_201);
81 static NPF_RULE(reject_non_ip, NET_DROP, not_ip_packet);
/Zephyr-Core-3.4.0/subsys/net/l2/ethernet/lldp/
Dlldp.c149 if (net_if_send_data(lldp->iface, pkt) == NET_DROP) { in lldp_send()
275 return NET_DROP; in net_lldp_recv()
282 return NET_DROP; in net_lldp_recv()
290 return NET_DROP; in net_lldp_recv()
/Zephyr-Core-3.4.0/subsys/net/pkt_filter/
Dbase.c75 return NET_DROP; in evaluate()
161 .result = NET_DROP,
/Zephyr-Core-3.4.0/subsys/net/l2/virtual/
Dvirtual.c327 return NET_DROP; in net_virtual_input()
340 return NET_DROP; in net_virtual_input()
364 return NET_DROP; in net_virtual_input()
/Zephyr-Core-3.4.0/include/zephyr/net/
Dnet_core.h106 NET_DROP, enumerator
/Zephyr-Core-3.4.0/subsys/net/l2/ethernet/
Dethernet.c180 return NET_DROP; in ethernet_check_ipv4_bcast_addr()
265 return NET_DROP; in ethernet_recv()
318 ethernet_check_ipv4_bcast_addr(pkt, hdr) == NET_DROP) { in ethernet_recv()
331 net_ipv4_autoconf_input(iface, pkt) == NET_DROP) { in ethernet_recv()
332 return NET_DROP; in ethernet_recv()
347 return NET_DROP; in ethernet_recv()
488 return NET_DROP; in set_vlan_tag()
500 #define set_vlan_tag(...) NET_DROP
698 if (set_vlan_tag(ctx, iface, pkt) == NET_DROP) { in ethernet_send()
/Zephyr-Core-3.4.0/tests/net/ipv6/src/
Dmain.c1300 zassert_equal(verdict, NET_DROP, in ZTEST()
1313 zassert_equal(verdict, NET_DROP, in ZTEST()
1326 zassert_equal(verdict, NET_DROP, in ZTEST()
1339 zassert_equal(verdict, NET_DROP, in ZTEST()
1352 zassert_equal(verdict, NET_DROP, in ZTEST()
1468 zassert_equal(verdict, NET_DROP, in ZTEST()
1535 zassert_equal(verdict, NET_DROP, in ZTEST()
1571 zassert_equal(verdict, NET_DROP, in ZTEST()
1621 zassert_equal(verdict, NET_DROP, in ZTEST()

123