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

int rtnl_neigh_str2flag ( const char *  name  ) 

Convert a character string to a neighbour flag

  • name name of the flag
Converts the provided character string specifying a neighbour flag the corresponding numeric value.

Neighbour flag or a negative value if none was found.

Definition at line 799 of file neigh.c.

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

Generated by  Doxygen 1.6.0   Back to index