Boot Linux faster!

Check our new training course

Boot Linux faster!

Check our new training course
and Creative Commons CC-BY-SA
lecture and lab materials

Bootlin logo

Elixir Cross Referencer

/** @file
 * @brief Packet Socket related functions
 * This is not to be included by the application.

 * Copyright (c) 2019 Intel Corporation
 * SPDX-License-Identifier: Apache-2.0


#include <zephyr/types.h>

 * @brief Called by net_core.c when a network packet is received.
 * @param pkt Network packet
 * @return NET_OK if the packet was consumed, NET_DROP if
 * the packet parsing failed and the caller should handle
 * the received packet. If corresponding IP protocol support is
 * disabled, the function will always return NET_DROP.
enum net_verdict net_packet_socket_input(struct net_pkt *pkt);
static inline enum net_verdict net_packet_socket_input(struct net_pkt *pkt)

#endif /* __PACKET_SOCKET_H */