Home
last modified time | relevance | path

Searched refs:newlen (Results 1 – 13 of 13) sorted by relevance

/net/decnet/
Dsysctl_net_decnet.c137 void __user *newval, size_t newlen) in dn_node_address_strategy() argument
152 if (newval && newlen) { in dn_node_address_strategy()
153 if (newlen != sizeof(unsigned short)) in dn_node_address_strategy()
222 void __user *newval, size_t newlen) in dn_def_dev_strategy() argument
253 if (newval && newlen) { in dn_def_dev_strategy()
254 if (newlen > 16) in dn_def_dev_strategy()
257 if (copy_from_user(devname, newval, newlen)) in dn_def_dev_strategy()
260 devname[newlen] = 0; in dn_def_dev_strategy()
Ddn_dev.c171 void __user *newval, size_t newlen);
323 void __user *newval, size_t newlen) in dn_forwarding_sysctl() argument
335 if (newval && newlen) { in dn_forwarding_sysctl()
336 if (newlen != sizeof(int)) in dn_forwarding_sysctl()
/net/netfilter/
Dnf_conntrack_extend.c78 int i, newlen, newoff; in __nf_ct_ext_add() local
95 newlen = newoff + t->len; in __nf_ct_ext_add()
98 new = __krealloc(ct->ext, newlen, gfp); in __nf_ct_ext_add()
119 new->len = newlen; in __nf_ct_ext_add()
120 memset((void *)new + newoff, 0, newlen - newoff); in __nf_ct_ext_add()
Dxt_TCPMSS.c180 __be16 newlen; in tcpmss_tg4() local
191 newlen = htons(ntohs(iph->tot_len) + ret); in tcpmss_tg4()
192 csum_replace2(&iph->check, iph->tot_len, newlen); in tcpmss_tg4()
193 iph->tot_len = newlen; in tcpmss_tg4()
/net/ipv4/
Dsysctl_net_ipv4.c70 void __user *newval, size_t newlen) in ipv4_sysctl_local_port_range() argument
83 ret = sysctl_intvec(&tmp, oldval, oldlenp, newval, newlen); in ipv4_sysctl_local_port_range()
84 if (ret == 0 && newval && newlen) { in ipv4_sysctl_local_port_range()
115 void __user *newval, size_t newlen) in sysctl_tcp_congestion_control() argument
125 ret = sysctl_string(&tbl, oldval, oldlenp, newval, newlen); in sysctl_tcp_congestion_control()
126 if (ret == 1 && newval && newlen) in sysctl_tcp_congestion_control()
172 size_t newlen) in strategy_allowed_congestion_control() argument
182 ret = sysctl_string(&tbl, oldval, oldlenp, newval, newlen); in strategy_allowed_congestion_control()
183 if (ret == 1 && newval && newlen) in strategy_allowed_congestion_control()
Ddevinet.c1286 void __user *newval, size_t newlen) in devinet_conf_sysctl() argument
1294 if (!newval || !newlen) in devinet_conf_sysctl()
1297 if (newlen != sizeof(int)) in devinet_conf_sysctl()
1382 void __user *newval, size_t newlen) in ipv4_doint_and_flush_strategy() argument
1384 int ret = devinet_conf_sysctl(table, oldval, oldlenp, newval, newlen); in ipv4_doint_and_flush_strategy()
Daf_inet.c1340 __be16 newlen = htons(skb->len - skb_network_offset(skb)); in inet_gro_complete() local
1342 csum_replace2(&iph->check, iph->tot_len, newlen); in inet_gro_complete()
1343 iph->tot_len = newlen; in inet_gro_complete()
Droute.c3040 size_t newlen) in ipv4_sysctl_rtcache_flush_strategy() argument
3044 if (newlen != sizeof(int)) in ipv4_sysctl_rtcache_flush_strategy()
3102 size_t newlen) in ipv4_sysctl_rt_secret_interval_strategy() argument
3105 int ret = sysctl_jiffies(table, oldval, oldlenp, newval, newlen); in ipv4_sysctl_rt_secret_interval_strategy()
/net/netfilter/ipvs/
Dip_vs_proto_udp.c149 __be16 oldlen, __be16 newlen) in udp_partial_csum_update() argument
155 ip_vs_check_diff2(oldlen, newlen, in udp_partial_csum_update()
161 ip_vs_check_diff2(oldlen, newlen, in udp_partial_csum_update()
Dip_vs_proto_tcp.c142 __be16 oldlen, __be16 newlen) in tcp_partial_csum_update() argument
148 ip_vs_check_diff2(oldlen, newlen, in tcp_partial_csum_update()
154 ip_vs_check_diff2(oldlen, newlen, in tcp_partial_csum_update()
/net/sunrpc/
Dsvcsock.c1224 int newlen; in svc_create_socket() local
1250 newlen = len; in svc_create_socket()
1251 error = kernel_getsockname(sock, newsin, &newlen); in svc_create_socket()
1261 svc_xprt_set_local(&svsk->sk_xprt, newsin, newlen); in svc_create_socket()
/net/ipv6/
Dndisc.c1775 void __user *newval, size_t newlen) in ndisc_ifinfo_sysctl_strategy() argument
1787 ret = sysctl_jiffies(ctl, oldval, oldlenp, newval, newlen); in ndisc_ifinfo_sysctl_strategy()
1791 ret = sysctl_ms_jiffies(ctl, oldval, oldlenp, newval, newlen); in ndisc_ifinfo_sysctl_strategy()
1797 if (newval && newlen && ret > 0 && in ndisc_ifinfo_sysctl_strategy()
Daddrconf.c3993 void __user *newval, size_t newlen) in addrconf_sysctl_forward_strategy() argument
3999 if (!newval || !newlen) in addrconf_sysctl_forward_strategy()
4001 if (newlen != sizeof(int)) in addrconf_sysctl_forward_strategy()