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

void rtnl_neightbl_set_gc_stale_time ( struct rtnl_neightbl ntbl,
uint64_t  ms 

Set the gc stale time of a neighbour table to the specified value

  • ntbl neighbour table to change
  • ms new gc stale time in milliseconds

Definition at line 784 of file neightbl.c.

References rtnl_neightbl::nt_mask, and rtnl_neightbl::nt_parms.

      ntbl->nt_parms.ntp_gc_stale_time = ms;
      ntbl->nt_parms.ntp_mask |= NEIGHTBLPARM_ATTR_GC_STALETIME;
      ntbl->nt_mask |= NEIGHTBL_ATTR_PARMS;

Generated by  Doxygen 1.6.0   Back to index