Turnstone Operating System
Loading...
Searching...
No Matches
network_icmpv4.h File Reference

ICMPv4 header. More...

#include <types.h>
#include <network.h>
#include <network/network_protocols.h>

Classes

struct  network_icmpv4_header_t
 
struct  network_icmpv4_ping_header_t
 

Macros

#define ___NETWORK_ICMPV4_H   0
 
#define NETWORK_ICMP_ECHO_CODE   0
 
#define NETWORK_ICMP_MIN_DATA_SIZE   48
 

Typedefs

typedef enum network_icmpv4_type_t network_icmpv4_type_t
 
typedef struct network_icmpv4_header_t network_icmpv4_header_t
 
typedef struct network_icmpv4_ping_header_t network_icmpv4_ping_header_t
 

Enumerations

enum  network_icmpv4_type_t { NETWORK_ICMP_ECHO_REQUEST =8 , NETWORK_ICMP_ECHO_REPLY =0 }
 

Functions

uint8_tnetwork_icmpv4_process_packet (network_icmpv4_header_t *recv_icmpv4_packet, void *network_info, uint16_t *return_packet_len)
 

Detailed Description

ICMPv4 header.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.