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

char* rtnl_neigh_flags2str ( int  flags,
char *  buf,
size_t  len 
)

Convert neighbour flags to a character string (Reentrant).

  • flags neighbour flags
  • buf destination buffer
  • len buffer length
Converts neighbour flags to a character string separated by commands and stores it in the specified destination buffer.

Returns:
The destination buffer or a empty string if no flags are set.

Definition at line 784 of file neigh.c.

{
      return __flags2str(flags, buf, len, neigh_flags,
          ARRAY_SIZE(neigh_flags));
}


Generated by  Doxygen 1.6.0   Back to index