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

void rtnl_neightbl_set_name ( struct rtnl_neightbl ntbl,
const char *  name 

Set the table name of a neighbour table to the specified value

  • ntbl neighbour table to change
  • name new table name

Definition at line 676 of file neightbl.c.

References rtnl_neightbl::nt_mask, and rtnl_neightbl::nt_name.

      strncpy(ntbl->nt_name, name, sizeof(ntbl->nt_name) - 1);
      ntbl->nt_mask |= NEIGHTBL_ATTR_NAME;

Generated by  Doxygen 1.6.0   Back to index