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

void rtnl_neightbl_set_locktime ( struct rtnl_neightbl ntbl,
uint64_t  ms 

Set the locktime of a neighbour table to the specified value

  • ntbl neighbour table to change
  • ms new locktime in milliseconds

Definition at line 781 of file neightbl.c.

References rtnl_neightbl::nt_parms.

      ntbl->nt_parms.ntp_locktime = ms;
      ntbl->nt_parms.ntp_mask |= NEIGHTBLPARM_ATTR_LOCKTIME;
      ntbl->ce_mask |= NEIGHTBL_ATTR_PARMS;

Generated by  Doxygen 1.6.0   Back to index