Searched refs:gc_thresh2 (Results 1 - 8 of 8) sorted by relevance

/linux-master/tools/testing/selftests/netfilter/
H A Dnft_nat_zones.sh41 v4gc2=$(sysctl -n net.ipv4.neigh.default.gc_thresh2 2>/dev/null)
44 v6gc2=$(sysctl -n net.ipv6.neigh.default.gc_thresh2 2>/dev/null)
56 sysctl -q net.ipv4.neigh.default.gc_thresh2=$v4gc2 2>/dev/null
59 sysctl -q net.ipv6.neigh.default.gc_thresh2=$v6gc2 2>/dev/null
107 sysctl -q net.ipv6.neigh.default.gc_thresh2=1024 2>/dev/null
110 sysctl -q net.ipv4.neigh.default.gc_thresh2=1024 2>/dev/null
/linux-master/tools/testing/selftests/net/forwarding/
H A Dcustom_multipath_hash.sh289 sysctl_set net.ipv4.neigh.default.gc_thresh2 1024
309 sysctl_restore net.ipv4.neigh.default.gc_thresh2
324 sysctl_set net.ipv6.neigh.default.gc_thresh2 1024
348 sysctl_restore net.ipv6.neigh.default.gc_thresh2
H A Dgre_custom_multipath_hash.sh382 sysctl_set net.ipv4.neigh.default.gc_thresh2 1024
402 sysctl_restore net.ipv4.neigh.default.gc_thresh2
413 sysctl_set net.ipv6.neigh.default.gc_thresh2 1024
437 sysctl_restore net.ipv6.neigh.default.gc_thresh2
H A Dip6gre_custom_multipath_hash.sh384 sysctl_set net.ipv4.neigh.default.gc_thresh2 1024
404 sysctl_restore net.ipv4.neigh.default.gc_thresh2
415 sysctl_set net.ipv6.neigh.default.gc_thresh2 1024
439 sysctl_restore net.ipv6.neigh.default.gc_thresh2
/linux-master/include/net/
H A Dneighbour.h221 int gc_thresh2; member in struct:neigh_table
/linux-master/net/core/
H A Dneighbour.c255 READ_ONCE(tbl->gc_thresh2);
483 (entries >= READ_ONCE(tbl->gc_thresh2) &&
2182 nla_put_u32(skb, NDTA_THRESH2, READ_ONCE(tbl->gc_thresh2)) ||
2461 WRITE_ONCE(tbl->gc_thresh2, nla_get_u32(tb[NDTA_THRESH2]));
3767 .procname = "gc_thresh2",
3818 t->neigh_vars[NEIGH_VAR_GC_THRESH2].data = &tbl->gc_thresh2;
/linux-master/net/ipv4/
H A Darp.c182 .gc_thresh2 = 512,
/linux-master/net/ipv6/
H A Dndisc.c141 .gc_thresh2 = 512,

Completed in 162 milliseconds