Home
last modified time | relevance | path

Searched refs:net_verdict (Results 1 – 25 of 85) sorted by relevance

1234

/Zephyr-latest/subsys/net/ip/
Dpacket_socket.c23 enum net_verdict net_packet_socket_input(struct net_pkt *pkt, uint8_t proto) in net_packet_socket_input()
26 enum net_verdict net_verdict; in net_packet_socket_input() local
42 net_verdict = net_conn_input(pkt, NULL, proto, NULL); in net_packet_socket_input()
46 if (net_verdict == NET_DROP) { in net_packet_socket_input()
49 return net_verdict; in net_packet_socket_input()
Dcanbus_socket.h28 enum net_verdict net_canbus_socket_input(struct net_pkt *pkt);
30 static inline enum net_verdict net_canbus_socket_input(struct net_pkt *pkt) in net_canbus_socket_input()
Dpacket_socket.h29 enum net_verdict net_packet_socket_input(struct net_pkt *pkt, uint8_t proto);
31 static inline enum net_verdict net_packet_socket_input(struct net_pkt *pkt, in net_packet_socket_input()
Dnet_private.h161 enum net_verdict net_ipv4_input(struct net_pkt *pkt, bool is_loopback);
162 enum net_verdict net_ipv6_input(struct net_pkt *pkt, bool is_loopback);
166 static inline enum net_verdict net_ipv4_input(struct net_pkt *pkt, in net_ipv4_input()
175 static inline enum net_verdict net_ipv6_input(struct net_pkt *pkt, in net_ipv6_input()
189 extern enum net_verdict net_promisc_mode_input(struct net_pkt *pkt);
250 enum net_verdict net_gptp_recv(struct net_if *iface, struct net_pkt *pkt);
266 extern const char *net_verdict2str(enum net_verdict verdict);
287 enum net_verdict net_context_packet_received(struct net_conn *conn,
308 enum net_verdict net_ipv4_igmp_input(struct net_pkt *pkt,
Dconnection.h41 typedef enum net_verdict (*net_conn_cb_t)(struct net_conn *conn,
189 enum net_verdict net_conn_input(struct net_pkt *pkt,
194 static inline enum net_verdict net_conn_input(struct net_pkt *pkt, in net_conn_input()
Dipv4.h369 enum net_verdict net_ipv4_prepare_for_send(struct net_pkt *pkt);
386 enum net_verdict net_ipv4_handle_fragment_hdr(struct net_pkt *pkt, struct net_ipv4_hdr *hdr);
388 static inline enum net_verdict net_ipv4_handle_fragment_hdr(struct net_pkt *pkt, in net_ipv4_handle_fragment_hdr()
399 enum net_verdict net_ipv4_prepare_for_send_fragment(struct net_pkt *pkt);
464 enum net_verdict net_ipv4_acd_input(struct net_if *iface, struct net_pkt *pkt);
Dcanbus_socket.c21 enum net_verdict net_canbus_socket_input(struct net_pkt *pkt) in net_canbus_socket_input()
Dipv6.h246 enum net_verdict net_ipv6_prepare_for_send(struct net_pkt *pkt);
248 static inline enum net_verdict net_ipv6_prepare_for_send(struct net_pkt *pkt) in net_ipv6_prepare_for_send()
491 enum net_verdict net_ipv6_handle_fragment_hdr(struct net_pkt *pkt,
496 enum net_verdict net_ipv6_handle_fragment_hdr(struct net_pkt *pkt, in net_ipv6_handle_fragment_hdr()
Dicmpv4.h52 enum net_verdict net_icmpv4_input(struct net_pkt *pkt,
Dpromiscuous.c85 enum net_verdict net_promisc_mode_input(struct net_pkt *pkt) in net_promisc_mode_input()
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_mgmt_priv.h39 enum net_verdict ieee802154_handle_beacon(struct net_if *iface,
49 enum net_verdict ieee802154_handle_mac_command(struct net_if *iface,
Dieee802154_6lo.h43 enum net_verdict ieee802154_6lo_decode_pkt(struct net_if *iface, struct net_pkt *pkt);
Dieee802154_6lo.c25 enum net_verdict ieee802154_6lo_decode_pkt(struct net_if *iface, struct net_pkt *pkt) in ieee802154_6lo_decode_pkt()
Dieee802154_6lo_fragment.h74 enum net_verdict ieee802154_6lo_reassemble(struct net_pkt *pkt);
/Zephyr-latest/subsys/net/pkt_filter/
Dbase.c101 static enum net_verdict evaluate(sys_slist_t *rule_head, struct net_pkt *pkt) in evaluate()
122 static enum net_verdict lock_evaluate(struct npf_rule_list *rules, struct net_pkt *pkt) in lock_evaluate()
125 enum net_verdict result = evaluate(&rules->rule_head, pkt); in lock_evaluate()
133 enum net_verdict result = lock_evaluate(&npf_send_rules, pkt); in net_pkt_filter_send_ok()
140 enum net_verdict result = lock_evaluate(&npf_recv_rules, pkt); in net_pkt_filter_recv_ok()
148 enum net_verdict result = lock_evaluate(&npf_local_in_recv_rules, pkt); in net_pkt_filter_local_in_recv_ok()
164 enum net_verdict result = lock_evaluate(rules, pkt); in net_pkt_filter_ip_recv_ok()
/Zephyr-latest/subsys/net/l2/ppp/
Dppp_internal.h44 enum net_verdict (*handler)(struct ppp_context *ctx,
145 enum net_verdict ppp_fsm_input(struct ppp_fsm *fsm, uint16_t proto,
147 enum net_verdict ppp_fsm_recv_protocol_rej(struct ppp_fsm *fsm,
150 enum net_verdict ppp_fsm_recv_echo_req(struct ppp_fsm *fsm,
153 enum net_verdict ppp_fsm_recv_echo_reply(struct ppp_fsm *fsm,
156 enum net_verdict ppp_fsm_recv_discard_req(struct ppp_fsm *fsm,
Dppp_l2.c60 typedef enum net_verdict (*ppp_l2_callback_t)(struct net_if *iface,
71 static enum net_verdict process_ppp_msg(struct net_if *iface, in process_ppp_msg()
75 enum net_verdict verdict = NET_DROP; in process_ppp_msg()
130 static enum net_verdict ppp_recv(struct net_if *iface, in ppp_recv()
133 enum net_verdict verdict; in ppp_recv()
Dfsm.c560 static enum net_verdict fsm_recv_configure_req(struct ppp_fsm *fsm, in fsm_recv_configure_req()
681 static enum net_verdict fsm_recv_configure_ack(struct ppp_fsm *fsm, uint8_t id, in fsm_recv_configure_ack()
748 static enum net_verdict fsm_recv_configure_nack_rej(struct ppp_fsm *fsm, in fsm_recv_configure_nack_rej()
849 static enum net_verdict fsm_recv_terminate_req(struct ppp_fsm *fsm, uint8_t id, in fsm_recv_terminate_req()
896 static enum net_verdict fsm_recv_terminate_ack(struct ppp_fsm *fsm, uint8_t id, in fsm_recv_terminate_ack()
944 static enum net_verdict fsm_recv_code_rej(struct ppp_fsm *fsm, in fsm_recv_code_rej()
1027 enum net_verdict ppp_fsm_input(struct ppp_fsm *fsm, uint16_t proto, in ppp_fsm_input()
1099 enum net_verdict verdict; in ppp_fsm_input()
1114 enum net_verdict ppp_fsm_recv_protocol_rej(struct ppp_fsm *fsm, in ppp_fsm_recv_protocol_rej()
1124 enum net_verdict ppp_fsm_recv_echo_req(struct ppp_fsm *fsm, in ppp_fsm_recv_echo_req()
[all …]
/Zephyr-latest/subsys/net/l2/dummy/any/
Dany.c41 static enum net_verdict any_recv(struct net_if *iface, struct net_pkt *pkt) in any_recv()
43 enum net_verdict verdict = NET_DROP; in any_recv()
/Zephyr-latest/include/zephyr/net/
Dlldp.h215 typedef enum net_verdict (*net_lldp_recv_cb_t)(struct net_if *iface,
236 enum net_verdict net_lldp_recv(struct net_if *iface, struct net_pkt *pkt);
Ddummy.h47 enum net_verdict (*recv)(struct net_if *iface, struct net_pkt *pkt);
Dvirtual.h115 enum net_verdict (*recv)(struct net_if *iface, struct net_pkt *pkt);
231 enum net_verdict net_virtual_input(struct net_if *input_iface,
/Zephyr-latest/subsys/net/l2/canbus/
Dcanbus_raw.c16 static inline enum net_verdict canbus_recv(struct net_if *iface, in canbus_recv()
/Zephyr-latest/subsys/net/l2/dummy/
Ddummy.c17 static inline enum net_verdict dummy_recv(struct net_if *iface, in dummy_recv()
/Zephyr-latest/subsys/net/l2/ethernet/
Darp.h49 enum net_verdict net_arp_input(struct net_pkt *pkt,

1234