Home
last modified time | relevance | path

Searched refs:gc_thresh3 (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/net/netfilter/
H A Dnft_nat_zones.sh36 v4gc3=$(sysctl -n net.ipv4.neigh.default.gc_thresh3 2>/dev/null)
39 v6gc3=$(sysctl -n net.ipv6.neigh.default.gc_thresh3 2>/dev/null)
47 sysctl -q net.ipv4.neigh.default.gc_thresh3="$v4gc3" 2>/dev/null
50 sysctl -q net.ipv6.neigh.default.gc_thresh3="$v6gc3" 2>/dev/null
70 sysctl -q net.ipv6.neigh.default.gc_thresh3=4096 2>/dev/null
73 sysctl -q net.ipv4.neigh.default.gc_thresh3=4096 2>/dev/null
/linux/tools/testing/selftests/net/forwarding/
H A Dcustom_multipath_hash.sh290 sysctl_set net.ipv4.neigh.default.gc_thresh3 1024
308 sysctl_restore net.ipv4.neigh.default.gc_thresh3
325 sysctl_set net.ipv6.neigh.default.gc_thresh3 1024
347 sysctl_restore net.ipv6.neigh.default.gc_thresh3
H A Dgre_custom_multipath_hash.sh383 sysctl_set net.ipv4.neigh.default.gc_thresh3 1024
401 sysctl_restore net.ipv4.neigh.default.gc_thresh3
414 sysctl_set net.ipv6.neigh.default.gc_thresh3 1024
436 sysctl_restore net.ipv6.neigh.default.gc_thresh3
H A Dip6gre_custom_multipath_hash.sh385 sysctl_set net.ipv4.neigh.default.gc_thresh3 1024
403 sysctl_restore net.ipv4.neigh.default.gc_thresh3
416 sysctl_set net.ipv6.neigh.default.gc_thresh3 1024
438 sysctl_restore net.ipv6.neigh.default.gc_thresh3
/linux/net/core/
H A Dneighbour.c454 int entries, gc_thresh3; in neigh_alloc() local
460 gc_thresh3 = READ_ONCE(tbl->gc_thresh3); in neigh_alloc()
461 if (entries >= gc_thresh3 || in neigh_alloc()
464 if (!neigh_forced_gc(tbl) && entries >= gc_thresh3) { in neigh_alloc()
2140 nla_put_u32(skb, NDTA_THRESH3, READ_ONCE(tbl->gc_thresh3))) in neightbl_fill_info()
2421 WRITE_ONCE(tbl->gc_thresh3, nla_get_u32(tb[NDTA_THRESH3])); in neightbl_set()
3759 t->neigh_vars[NEIGH_VAR_GC_THRESH3].data = &tbl->gc_thresh3; in neigh_sysctl_register()
/linux/net/ipv4/
H A Darp.c183 .gc_thresh3 = 1024,
/linux/net/ipv6/
H A Dndisc.c142 .gc_thresh3 = 1024,
/linux/Documentation/networking/
H A Dip-sysctl.rst189 neigh/default/gc_thresh3 - INTEGER