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

void rtnl_neightbl_set_gc_tresh1 ( struct rtnl_neightbl ntbl,
int  thresh 

Set the gc threshold 1 of a neighbour table to the specified value

  • ntbl neighbour table to change
  • thresh new gc threshold

Definition at line 643 of file neightbl.c.

References rtnl_neightbl::nt_gc_thresh1, and rtnl_neightbl::nt_mask.

      ntbl->nt_gc_thresh1 = thresh;
      ntbl->nt_mask |= NEIGHTBL_ATTR_THRESH1;

Generated by  Doxygen 1.6.0   Back to index