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

int rtnl_neigh_str2state ( const char *  name  ) 

Convert a character string to a neighbour state

  • name Name of cscope
Converts the provided character string specifying a neighbour state the corresponding numeric value.

Neighbour state or a negative value if none was found.

Definition at line 756 of file neigh.c.

      return __str2type(name, neigh_states, ARRAY_SIZE(neigh_states));

Generated by  Doxygen 1.6.0   Back to index