Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 25 of 90) sorted by relevance

1234

/net/rose/
Drose_subr.c498 *p++ = strlen(callsign) + 10; in rose_create_facilities()
499 *p++ = (strlen(callsign) + 9) * 2; /* ??? */ in rose_create_facilities()
506 memcpy(p, callsign, strlen(callsign)); in rose_create_facilities()
507 p += strlen(callsign); in rose_create_facilities()
513 *p++ = strlen(callsign) + 10; in rose_create_facilities()
514 *p++ = (strlen(callsign) + 9) * 2; /* ??? */ in rose_create_facilities()
521 memcpy(p, callsign, strlen(callsign)); in rose_create_facilities()
522 p += strlen(callsign); in rose_create_facilities()
/net/netfilter/
Dnf_conntrack_sip.c247 for (; dptr < limit - strlen("sip:"); dptr++) { in ct_sip_parse_request()
250 if (strncasecmp(dptr, "sip:", strlen("sip:")) == 0) { in ct_sip_parse_request()
251 dptr += strlen("sip:"); in ct_sip_parse_request()
438 dptr = ct_sip_header_search(dptr, limit, ",", strlen(",")); in ct_sip_next_header()
539 limit = ct_sip_header_search(dptr + dataoff, limit, ",", strlen(",")); in ct_sip_parse_param()
543 start = ct_sip_header_search(dptr + dataoff, limit, name, strlen(name)); in ct_sip_parse_param()
546 start += strlen(name); in ct_sip_parse_param()
548 end = ct_sip_header_search(start, limit, ";", strlen(";")); in ct_sip_parse_param()
567 limit = ct_sip_header_search(dptr + dataoff, limit, ",", strlen(",")); in ct_sip_parse_address_param()
571 start = ct_sip_header_search(dptr + dataoff, limit, name, strlen(name)); in ct_sip_parse_address_param()
[all …]
Dnf_conntrack_irc.c167 if (memcmp(data, dccprotos[i], strlen(dccprotos[i]))) { in help()
171 data += strlen(dccprotos[i]); in help()
Dnf_nat_amanda.c68 buffer, strlen(buffer)); in help()
Dxt_helper.c53 strlen(helper->name)); in helper_mt()
Dnf_nat_irc.c87 matchlen, buffer, strlen(buffer)); in help()
Dxt_SECMARK.c59 err = security_secctx_to_secid(info->secctx, strlen(info->secctx), in checkentry_lsm()
/net/batman-adv/
Dgateway_common.c44 if (strlen(buff) > 4) { in batadv_parse_gw_bandwidth()
45 tmp_ptr = buff + strlen(buff) - 4; in batadv_parse_gw_bandwidth()
77 if (strlen(slash_ptr + 1) > 4) { in batadv_parse_gw_bandwidth()
78 tmp_ptr = slash_ptr + 1 - 4 + strlen(slash_ptr + 1); in batadv_parse_gw_bandwidth()
Dsysfs.c383 strlen(BATADV_GW_MODE_OFF_NAME)) == 0) in batadv_store_gw_mode()
387 strlen(BATADV_GW_MODE_CLIENT_NAME)) == 0) in batadv_store_gw_mode()
391 strlen(BATADV_GW_MODE_SERVER_NAME)) == 0) in batadv_store_gw_mode()
768 if (strlen(buff) >= IFNAMSIZ) { in batadv_store_mesh_iface()
/net/dns_resolver/
Ddns_key.c193 slen = strlen(src); in dns_resolver_cmp()
194 dlen = strlen(dsp); in dns_resolver_cmp()
Ddns_query.c89 typelen = strlen(type); in dns_query()
/net/wireless/
Dscan.c1394 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1400 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1406 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1411 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1416 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1421 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1426 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1474 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1481 iwe.u.data.length = strlen(buf); in ieee80211_bss()
/net/decnet/
Dsysctl_net_decnet.c172 len = strlen(addr); in dn_node_address_handler()
235 len = strlen(devname); in dn_def_dev_handler()
/net/tipc/
Dbearer.c122 strlen(media_info_array[i]->name) + 1); in tipc_media_get_names()
157 if_len = strlen(if_name) + 1; in bearer_name_validate()
209 strlen(b->name) + 1); in tipc_bearer_get_names()
/net/core/
Dutils.c135 srclen = strlen(src); in in4_pton()
206 srclen = strlen(src); in in6_pton()
/net/rxrpc/
Dar-key.c1066 cnlen = strlen(key->description + 4); in rxrpc_read()
1091 toksize += RND(strlen(princ->name_parts[loop])); in rxrpc_read()
1092 toksize += 4 + RND(strlen(princ->realm)); in rxrpc_read()
1097 toksize += RND(strlen(princ->name_parts[loop])); in rxrpc_read()
1098 toksize += 4 + RND(strlen(princ->realm)); in rxrpc_read()
1162 ENCODE_DATA(strlen(_s), _s); \ in rxrpc_read()
/net/rds/
Dstats.c88 BUG_ON(strlen(names[i]) >= sizeof(ctr.name)); in rds_stats_info_copy()
Dtransport.c45 BUG_ON(strlen(trans->t_name) + 1 > TRANSNAMSIZ); in rds_trans_register()
/net/sunrpc/auth_gss/
Dgss_mech_switch.c75 new = kmalloc(strlen(name) + strlen(prefix) + 1, GFP_KERNEL); in make_auth_domain_name()
/net/9p/
Dclient.c524 err = p9_errstr2errno(ename, strlen(ename)); in p9_check_errors()
616 err = p9_errstr2errno(ename, strlen(ename)); in p9_check_zc_errors()
1011 memcpy(clnt->name, client_id, strlen(client_id) + 1); in p9_client_create()
1806 ret += strlen(wst->name); in p9_client_statsize()
1808 ret += strlen(wst->uid); in p9_client_statsize()
1810 ret += strlen(wst->gid); in p9_client_statsize()
1812 ret += strlen(wst->muid); in p9_client_statsize()
1818 ret += strlen(wst->extension); in p9_client_statsize()
Derror.c204 c->namelen = strlen(c->name); in p9_error_init()
/net/sunrpc/
Drpc_pipe.c650 struct qstr q = QSTR_INIT(name, strlen(name)); in __rpc_lookup_create_exclusive()
677 name.len = strlen(files[i].name); in __rpc_depopulate()
1209 struct qstr dir = QSTR_INIT(dir_name, strlen(dir_name)); in rpc_d_lookup_sb()
1333 strlen(files[RPCAUTH_gssd].name)); in rpc_gssd_dummy_populate()
1347 q.len = strlen(gssd_dummy_clnt_dir[0].name); in rpc_gssd_dummy_populate()
/net/irda/irnet/
Dirnet_ppp.c91 length = strlen(start); in irnet_ctrl_write()
294 count = min(strlen(event), count); in irnet_ctrl_read()
405 count = min(strlen(event), count); in irnet_ctrl_read()
/net/irda/
Dparameters.c391 n += strlen(arg.c) + 1; in irda_param_pack()
435 n += strlen(arg.c) + 1; in irda_param_unpack()
/net/ipv4/
Dipconfig.c717 len = strlen(utsname()->nodename); in ic_dhcp_init_options()
726 len = strlen(vendor_class_identifier); in ic_dhcp_init_options()
1362 memmove(name, cp, strlen(cp) + 1); in root_nfs_parse_addr()
1615 if (strlen(ip) > 0) { in ip_auto_config_setup()

1234