libnl 1.1.4
Modules
Netlink Families

Modules

 FIB Lookup
 
 Generic Netlink
 
 Netfilter Netlink
 
 Routing Netlink
 

Netlink Family Name Translation

char * nl_nlfamily2str (int family, char *buf, size_t size)
 
int nl_str2nlfamily (const char *name)
 

Detailed Description

Function Documentation

◆ nl_nlfamily2str()

char * nl_nlfamily2str ( int  family,
char *  buf,
size_t  size 
)

Definition at line 49 of file family.c.

50{
51 return __type2str(family, buf, size, nlfamilies,
52 ARRAY_SIZE(nlfamilies));
53}

◆ nl_str2nlfamily()

int nl_str2nlfamily ( const char *  name)

Definition at line 55 of file family.c.

56{
57 return __str2type(name, nlfamilies, ARRAY_SIZE(nlfamilies));
58}