Logo Search packages:      
Sourcecode: libnl2 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 722 of file neightbl.c.

References rtnl_neightbl::nt_parms.

{
      ntbl->nt_parms.ntp_gc_stale_time = ms;
      ntbl->nt_parms.ntp_mask |= NEIGHTBLPARM_ATTR_GC_STALETIME;
      ntbl->ce_mask |= NEIGHTBL_ATTR_PARMS;
}


Generated by  Doxygen 1.6.0   Back to index