Lines Matching full:packet

2  * @brief Network packet capture definitions
24 * @brief Network packet capture support functions
25 * @defgroup net_capture Network packet capture
61 * @brief Setup network packet capturing support.
73 * @return 0 if ok, <0 if network packet capture setup failed
79 * @brief Cleanup network packet capturing support.
87 * @return 0 if ok, <0 if network packet capture cleanup failed
104 * @brief Enable network packet capturing support.
113 * @return 0 if ok, <0 if network packet capture enable failed
131 * @brief Is network packet capture enabled or disabled.
162 * @brief Disable network packet capturing support.
166 * @return 0 if ok, <0 if network packet capture disable failed
185 * @brief Send captured packet.
188 * @param iface Network interface the packet is being sent
189 * @param pkt The network packet that is sent
191 * @return 0 if ok, <0 if network packet capture send failed
211 * @brief Check if the network packet needs to be captured or not.
212 * This is called for every network packet being sent.
214 * @param iface Network interface the packet is being sent
215 * @param pkt The network packet that is sent
233 * @param iface Network interface the packet is being sent
234 * @param pkt The network packet that is sent
236 * @return 0 if captured packet was handled ok, <0 if the capture failed
254 NET_CAPTURE_HOST, /**< Packet was sent to us by somebody else */
255 NET_CAPTURE_BROADCAST, /**< Packet was broadcast by somebody else */
256 NET_CAPTURE_MULTICAST, /**< Packet was multicast, but not broadcast, by somebody else */
257 NET_CAPTURE_OTHERHOST, /**< Packet was sent by somebody else to somebody else */
258 NET_CAPTURE_OUTGOING, /**< Packet was sent by us */
309 * layer packets so that packet boundary is not lost.
314 * @param type The direction and type of the packet (did we sent it etc).