netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
icmp.h File Reference
#include <stdint.h>
Include dependency graph for icmp.h:
This graph shows which files directly or indirectly include this file:

Functions

const char * id_to_icmp (uint8_t id)
 
const char * icmp_to_name (uint8_t type, uint8_t code)
 
int name_to_icmp (const char *str, uint16_t *typecode)
 

Function Documentation

const char* icmp_to_name ( uint8_t  type,
uint8_t  code 
)

References ARRAY_SIZE, icmp_names::name, and NULL.

Referenced by ipset_print_icmp().

Here is the caller graph for this function:

const char* id_to_icmp ( uint8_t  id)

References ARRAY_SIZE, id, icmp_names::name, and NULL.

Referenced by ipset_port_usage().

Here is the caller graph for this function:

int name_to_icmp ( const char *  str,
uint16_t *  typecode 
)

References ARRAY_SIZE, icmp_names::code, name, STRNCASEQ, and icmp_names::type.

Referenced by ipset_parse_icmp().

Here is the caller graph for this function: