Searched refs:slen (Results 1 – 11 of 11) sorted by relevance
/net/ipv4/ |
D | fib_trie.c | 140 unsigned char slen; member 377 l->slen = fa->fa_slen; in leaf_new() 411 tn->slen = pos; in tnode_new() 450 if (n && (tn->slen < n->slen)) in put_child() 451 tn->slen = n->slen; in put_child() 720 unsigned char slen = tn->pos; in update_suffix() local 728 slen_max = min_t(unsigned char, tn->pos + tn->bits - 1, tn->slen); in update_suffix() 738 if (!n || (n->slen <= slen)) in update_suffix() 742 stride <<= (n->slen - slen); in update_suffix() 743 slen = n->slen; in update_suffix() [all …]
|
D | fib_semantics.c | 1454 u8 slen = 32 - res->prefixlen; in fib_select_default() local 1463 if (fa->fa_slen != slen) in fib_select_default()
|
/net/dns_resolver/ |
D | dns_key.c | 181 int slen, dlen, ret = 0; in dns_resolver_cmp() local 192 slen = strlen(src); in dns_resolver_cmp() 194 if (slen <= 0 || dlen <= 0) in dns_resolver_cmp() 196 if (src[slen - 1] == '.') in dns_resolver_cmp() 197 slen--; in dns_resolver_cmp() 200 if (slen != dlen || strncasecmp(src, dsp, slen) != 0) in dns_resolver_cmp()
|
/net/sunrpc/ |
D | svcauth_unix.c | 791 u32 slen, i; in svcauth_unix_accept() local 799 slen = XDR_QUADLEN(svc_getnl(argv)); /* machname length */ in svcauth_unix_accept() 800 if (slen > 64 || (len -= (slen + 3)*4) < 0) in svcauth_unix_accept() 802 argv->iov_base = (void*)((__be32*)argv->iov_base + slen); /* skip machname */ in svcauth_unix_accept() 803 argv->iov_len -= slen*4; in svcauth_unix_accept() 813 slen = svc_getnl(argv); /* gids length */ in svcauth_unix_accept() 814 if (slen > 16 || (len -= (slen + 2)*4) < 0) in svcauth_unix_accept() 816 cred->cr_group_info = groups_alloc(slen); in svcauth_unix_accept() 819 for (i = 0; i < slen; i++) { in svcauth_unix_accept()
|
D | svcsock.c | 183 int slen; in svc_send_common() local 186 slen = xdr->len; in svc_send_common() 189 if (slen == xdr->head[0].iov_len) in svc_send_common() 195 slen -= xdr->head[0].iov_len; in svc_send_common() 196 if (slen == 0) in svc_send_common() 202 if (slen == size) in svc_send_common() 209 slen -= size; in svc_send_common() 817 int err, slen; in svc_tcp_accept() local 837 err = kernel_getpeername(newsock, sin, &slen); in svc_tcp_accept() 870 svc_xprt_set_remote(&newsvsk->sk_xprt, sin, slen); in svc_tcp_accept() [all …]
|
D | svc_xprt.c | 118 int slen; in svc_print_xprts() local 121 slen = strlen(tmpstr); in svc_print_xprts() 122 if (len + slen > maxlen) in svc_print_xprts() 124 len += slen; in svc_print_xprts()
|
/net/ieee802154/ |
D | header_ops.c | 213 int dlen, slen; in ieee802154_hdr_minlen() local 216 slen = ieee802154_hdr_addr_len(hdr->fc.source_addr_mode, in ieee802154_hdr_minlen() 219 if (slen < 0 || dlen < 0) in ieee802154_hdr_minlen() 222 return 3 + dlen + slen + hdr->fc.security_enabled; in ieee802154_hdr_minlen()
|
/net/netfilter/ |
D | nf_conntrack_sip.c | 412 hdr->slen); in ct_sip_get_header() 415 dptr += hdr->slen; in ct_sip_get_header() 444 dptr = ct_sip_header_search(dptr, limit, hdr->search, hdr->slen); in ct_sip_next_header() 447 dptr += hdr->slen; in ct_sip_next_header() 759 hdr->slen); in ct_sip_get_sdp_header() 762 dptr += hdr->slen; in ct_sip_get_sdp_header()
|
/net/dccp/ |
D | proto.c | 600 int err = -ENOENT, slen = 0, total_len = sizeof(u32); in dccp_getsockopt_service() local 604 slen = sl->dccpsl_nr * sizeof(u32); in dccp_getsockopt_service() 605 total_len += slen; in dccp_getsockopt_service() 615 (sl != NULL && copy_to_user(optval + 1, sl->dccpsl_list, slen))) in dccp_getsockopt_service()
|
D | feat.c | 1019 static int dccp_feat_preflist_match(u8 *servlist, u8 slen, u8 *clilist, u8 clen) in dccp_feat_preflist_match() argument 1023 for (s = 0; s < slen; s++) in dccp_feat_preflist_match()
|
/net/sunrpc/auth_gss/ |
D | gss_krb5_mech.c | 433 int slen = strlen(sigkeyconstant) + 1; /* include null terminator */ in context_derive_keys_rc4() local 466 err = crypto_shash_digest(desc, sigkeyconstant, slen, ctx->cksum); in context_derive_keys_rc4()
|