netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
icmpv6.c File Reference
#include <libipset/utils.h>
#include <libipset/icmpv6.h>
Include dependency graph for icmpv6.c:

Data Structures

struct  icmpv6_names
 

Functions

const char * id_to_icmpv6 (uint8_t id)
 
const char * icmpv6_to_name (uint8_t type, uint8_t code)
 
int name_to_icmpv6 (const char *str, uint16_t *typecode)
 

Function Documentation

const char* icmpv6_to_name ( uint8_t  type,
uint8_t  code 
)

References ARRAY_SIZE, icmpv6_names::name, and NULL.

Referenced by ipset_print_icmpv6().

Here is the caller graph for this function:

const char* id_to_icmpv6 ( uint8_t  id)

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

Referenced by ipset_port_usage().

Here is the caller graph for this function:

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

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

Referenced by ipset_parse_icmpv6().

Here is the caller graph for this function: