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

char* rtnl_neigh_state2str ( int  state,
char *  buf,
size_t  len 
)

Convert neighbour states to a character string (Reentrant).

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

Returns:
The destination buffer

Definition at line 741 of file neigh.c.

{
      return __flags2str(state, buf, len, neigh_states,
          ARRAY_SIZE(neigh_states));
}


Generated by  Doxygen 1.6.0   Back to index