Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/netfilter/
H A Dnft_nat_zones.sh35 v4gc2=$(sysctl -n net.ipv4.neigh.default.gc_thresh2 2>/dev/null)
38 v6gc2=$(sysctl -n net.ipv6.neigh.default.gc_thresh2 2>/dev/null)
46 sysctl -q net.ipv4.neigh.default.gc_thresh2="$v4gc2" 2>/dev/null
49 sysctl -q net.ipv6.neigh.default.gc_thresh2="$v6gc2" 2>/dev/null
69 sysctl -q net.ipv6.neigh.default.gc_thresh2=1024 2>/dev/null
72 sysctl -q net.ipv4.neigh.default.gc_thresh2=1024 2>/dev/null
/linux/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/include/net/
H A Dneighbour.h230 int gc_thresh2; member
/linux/net/core/
H A Dneighbour.c256 READ_ONCE(tbl->gc_thresh2); in neigh_forced_gc()
510 (entries >= READ_ONCE(tbl->gc_thresh2) && in neigh_alloc()
2266 nla_put_u32(skb, NDTA_THRESH2, READ_ONCE(tbl->gc_thresh2)) || in neightbl_fill_info()
2544 WRITE_ONCE(tbl->gc_thresh2, nla_get_u32(tb[NDTA_THRESH2])); in neightbl_set()
3881 t->neigh_vars[NEIGH_VAR_GC_THRESH2].data = &tbl->gc_thresh2; in neigh_sysctl_register()
/linux/net/ipv4/
H A Darp.c182 .gc_thresh2 = 512,
/linux/net/ipv6/
H A Dndisc.c141 .gc_thresh2 = 512,