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

int rtnl_addr_str2flags ( const char *  name  ) 

Convert character string to address flags.

  • name Name of address flags.
Converts the provided character string specifying any number of address flags separated by commas to the corresponding numeric bitmask.

Returns:
Address flags in form of a bitmask.

Definition at line 1160 of file addr.c.

{
      return __str2flags(name, addr_flags, ARRAY_SIZE(addr_flags));
}


Generated by  Doxygen 1.6.0   Back to index