Logo Search packages:      
Sourcecode: libnl version File versions  Download package

char* nl_af2str ( char  family,
char *  buf,
size_t  size 

Convert address family to character string.

  • family Address family.
  • buf Destination buffer.
  • size Size of destination buffer.
Converts an address family to a character string and stores it in the provided buffer.

The destination buffer or the type encoded in hexidecimal form if no match was found.

Definition at line 880 of file addr.c.

      return __type2str(family, buf, size, afs, ARRAY_SIZE(afs));

Generated by  Doxygen 1.6.0   Back to index