Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/netfilter/
H A Dnft_nat_zones.sh34 v4gc1=$(sysctl -n net.ipv4.neigh.default.gc_thresh1 2>/dev/null)
37 v6gc1=$(sysctl -n net.ipv6.neigh.default.gc_thresh1 2>/dev/null)
45 sysctl -q net.ipv4.neigh.default.gc_thresh1="$v4gc1" 2>/dev/null
48 sysctl -q net.ipv6.neigh.default.gc_thresh1="$v6gc1" 2>/dev/null
68 sysctl -q net.ipv6.neigh.default.gc_thresh1=512 2>/dev/null
71 sysctl -q net.ipv4.neigh.default.gc_thresh1=512 2>/dev/null
/linux/tools/testing/selftests/net/forwarding/
H A Dcustom_multipath_hash.sh288 sysctl_set net.ipv4.neigh.default.gc_thresh1 1024
310 sysctl_restore net.ipv4.neigh.default.gc_thresh1
323 sysctl_set net.ipv6.neigh.default.gc_thresh1 1024
349 sysctl_restore net.ipv6.neigh.default.gc_thresh1
H A Dgre_custom_multipath_hash.sh381 sysctl_set net.ipv4.neigh.default.gc_thresh1 1024
403 sysctl_restore net.ipv4.neigh.default.gc_thresh1
412 sysctl_set net.ipv6.neigh.default.gc_thresh1 1024
438 sysctl_restore net.ipv6.neigh.default.gc_thresh1
H A Dip6gre_custom_multipath_hash.sh383 sysctl_set net.ipv4.neigh.default.gc_thresh1 1024
405 sysctl_restore net.ipv4.neigh.default.gc_thresh1
414 sysctl_set net.ipv6.neigh.default.gc_thresh1 1024
440 sysctl_restore net.ipv6.neigh.default.gc_thresh1
/linux/include/net/
H A Dneighbour.h229 int gc_thresh1; member
/linux/net/core/
H A Dneighbour.c1000 if (atomic_read(&tbl->entries) < READ_ONCE(tbl->gc_thresh1)) in neigh_periodic_work()
2265 nla_put_u32(skb, NDTA_THRESH1, READ_ONCE(tbl->gc_thresh1)) || in neightbl_fill_info()
2541 WRITE_ONCE(tbl->gc_thresh1, nla_get_u32(tb[NDTA_THRESH1])); in neightbl_set()
3880 t->neigh_vars[NEIGH_VAR_GC_THRESH1].data = &tbl->gc_thresh1; in neigh_sysctl_register()
/linux/net/ipv4/
H A Darp.c181 .gc_thresh1 = 128,
/linux/net/ipv6/
H A Dndisc.c140 .gc_thresh1 = 128,