Home
last modified time | relevance | path

Searched refs:valp (Results 1 – 3 of 3) sorted by relevance

/net/netfilter/ipvs/
Dip_vs_ctl.c1582 int *valp = table->data; in proc_do_defense_mode() local
1583 int val = *valp; in proc_do_defense_mode()
1587 if (write && (*valp != val)) { in proc_do_defense_mode()
1588 if ((*valp < 0) || (*valp > 3)) { in proc_do_defense_mode()
1590 *valp = val; in proc_do_defense_mode()
1602 int *valp = table->data; in proc_do_sync_threshold() local
1607 memcpy(val, valp, sizeof(val)); in proc_do_sync_threshold()
1610 if (write && (valp[0] < 0 || valp[1] < 0 || in proc_do_sync_threshold()
1611 (valp[0] >= valp[1] && valp[1]))) { in proc_do_sync_threshold()
1613 memcpy(valp, val, sizeof(val)); in proc_do_sync_threshold()
[all …]
/net/ipv4/
Ddevinet.c1997 int *valp = ctl->data; in devinet_sysctl_forward() local
1998 int val = *valp; in devinet_sysctl_forward()
2002 if (write && *valp != val) { in devinet_sysctl_forward()
2005 if (valp != &IPV4_DEVCONF_DFLT(net, FORWARDING)) { in devinet_sysctl_forward()
2008 *valp = val; in devinet_sysctl_forward()
2012 if (valp == &IPV4_DEVCONF_ALL(net, FORWARDING)) { in devinet_sysctl_forward()
2018 if (*valp) in devinet_sysctl_forward()
2040 int *valp = ctl->data; in ipv4_doint_and_flush() local
2041 int val = *valp; in ipv4_doint_and_flush()
2045 if (write && *valp != val) in ipv4_doint_and_flush()
/net/ipv6/
Daddrconf.c4707 int *valp = ctl->data; in addrconf_sysctl_forward() local
4708 int val = *valp; in addrconf_sysctl_forward()
4723 ret = addrconf_fixup_forwarding(ctl, valp, val); in addrconf_sysctl_forward()
4789 int *valp = ctl->data; in addrconf_sysctl_disable() local
4790 int val = *valp; in addrconf_sysctl_disable()
4805 ret = addrconf_disable_ipv6(ctl, valp, val); in addrconf_sysctl_disable()