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

void rtnl_neightbl_set_gc_interval ( struct rtnl_neightbl ntbl,
uint64_t  ms 
)

Set the gc interval of a neighbour table to the specified value

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

Definition at line 632 of file neightbl.c.

References rtnl_neightbl::nt_gc_interval, and rtnl_neightbl::nt_mask.

{
      ntbl->nt_gc_interval = ms;
      ntbl->nt_mask |= NEIGHTBL_ATTR_GC_INTERVAL;
}


Generated by  Doxygen 1.6.0   Back to index