| /NextBSD/usr.sbin/bsnmpd/modules/snmp_bridge/ |
| HD | bridge_addrs.c | 458 uint i, n_len; in bridge_addrs_begemot_index_append() local 464 n_len = strlen(b_name); in bridge_addrs_begemot_index_append() 466 oid->subs[oid->len++] = n_len; in bridge_addrs_begemot_index_append() 468 for (i = 1; i <= n_len; i++) in bridge_addrs_begemot_index_append() 485 uint i, n_len; in bridge_addrs_begemot_get() local 490 n_len = oid->subs[sub]; in bridge_addrs_begemot_get() 491 if (oid->len - sub != n_len + ETHER_ADDR_LEN + 3 || in bridge_addrs_begemot_get() 492 n_len >= IFNAMSIZ || oid->subs[sub + n_len + 1] != ETHER_ADDR_LEN) in bridge_addrs_begemot_get() 495 for (i = 0; i < n_len; i++) in bridge_addrs_begemot_get() 496 bif_name[i] = oid->subs[n_len + i + 1]; in bridge_addrs_begemot_get() [all …]
|
| /NextBSD/usr.sbin/rpc.lockd/ |
| HD | kern.c | 271 arg4.cookie.n_len = sizeof(msg->lm_msg_ident); in test_request() 275 arg4.alock.fh.n_len = msg->lm_fh_len; in test_request() 277 arg4.alock.oh.n_len = sizeof(owner); in test_request() 295 arg.cookie.n_len = sizeof(msg->lm_msg_ident); in test_request() 299 arg.alock.fh.n_len = msg->lm_fh_len; in test_request() 301 arg.alock.oh.n_len = sizeof(owner); in test_request() 340 arg4.cookie.n_len = sizeof(msg->lm_msg_ident); in lock_request() 345 arg4.alock.fh.n_len = msg->lm_fh_len; in lock_request() 347 arg4.alock.oh.n_len = sizeof(owner); in lock_request() 365 arg.cookie.n_len = sizeof(msg->lm_msg_ident); in lock_request() [all …]
|
| HD | lockd_lock.c | 305 else if (nobj->n_len == 0) { in dump_netobj() 308 dump_static_object(nobj->n_bytes, nobj->n_len, in dump_netobj() 311 nobj->n_len, hbuff, cbuff); in dump_netobj() 367 dest->oh.n_len = src->oh.n_len; 410 newfl->client.oh.n_bytes = malloc(lockowner->n_len); in allocate_file_lock() 415 newfl->client.oh.n_len = lockowner->n_len; in allocate_file_lock() 416 bcopy(lockowner->n_bytes, newfl->client.oh.n_bytes, lockowner->n_len); in allocate_file_lock() 418 newfl->client_cookie.n_bytes = malloc(matchcookie->n_len); in allocate_file_lock() 424 newfl->client_cookie.n_len = matchcookie->n_len; in allocate_file_lock() 425 bcopy(matchcookie->n_bytes, newfl->client_cookie.n_bytes, matchcookie->n_len); in allocate_file_lock() [all …]
|
| HD | test.c | 331 arg.cookie.n_len = 4; in main() 338 arg.alock.fh.n_len = 32; in main() 340 arg.alock.oh.n_len = 8; in main() 348 res_block.cookie.n_len = 5; in main()
|
| HD | lock_proc.c | 108 if (obj->n_len > MAX_NETOBJ_SZ) { in log_netobj() 111 MAX_NETOBJ_SZ, obj->n_len); in log_netobj() 114 maxlen = (obj->n_len < MAX_NETOBJ_SZ ? obj->n_len : MAX_NETOBJ_SZ); in log_netobj() 115 for (i=0, tmp1 = objvalbuffer, tmp2 = objascbuffer; i < obj->n_len; in log_netobj()
|
| /NextBSD/contrib/wpa/src/crypto/ |
| HD | crypto_internal-rsa.c | 30 crypto_public_key_import_parts(const u8 *n, size_t n_len, in crypto_public_key_import_parts() argument 34 crypto_rsa_import_public_key_parts(n, n_len, e, e_len); in crypto_public_key_import_parts()
|
| HD | crypto.h | 275 crypto_public_key_import_parts(const u8 *n, size_t n_len,
|
| /NextBSD/contrib/wpa/src/tls/ |
| HD | rsa.h | 17 crypto_rsa_import_public_key_parts(const u8 *n, size_t n_len,
|
| HD | rsa.c | 120 crypto_rsa_import_public_key_parts(const u8 *n, size_t n_len, in crypto_rsa_import_public_key_parts() argument 132 bignum_set_unsigned_bin(key->n, n, n_len) < 0 || in crypto_rsa_import_public_key_parts()
|
| /NextBSD/lib/libc/rpc/ |
| HD | auth_des.c | 141 pkey.n_len = (u_int)strlen((char *)pkey_data) + 1; in authdes_seccreate() 180 memcpy(ad->ad_pkey, pkey->n_bytes, pkey->n_len); in authdes_pk_seccreate() 446 pkey.n_len = (u_int)strlen((char *)ad->ad_pkey) + 1; in authdes_refresh()
|
| HD | auth_time.c | 207 srv->pkey.n_len = 0; in get_server()
|
| HD | svc_auth_des.c | 188 pkey.n_len = strlen(pkey_data) + 1; in _svcauth_des()
|
| /NextBSD/sys/nlm/ |
| HD | nlm_advlock.c | 758 args.cookie.n_len = sizeof(xid); in nlm_setlock() 824 cancel.cookie.n_len = sizeof(xid); in nlm_setlock() 944 args.cookie.n_len = sizeof(xid); in nlm_clearlock() 1025 args.cookie.n_len = sizeof(xid); in nlm_getlock() 1224 lock->fh.n_len = fhlen; in nlm_init_lock() 1226 lock->oh.n_len = oh_len; in nlm_init_lock()
|
| HD | nlm_prot_impl.c | 324 dst->n_len = srcsize; in nlm_make_netobj() 337 nlm_make_netobj(dst, src->n_bytes, src->n_len, type); in nlm_copy_netobj() 1332 nw->nw_lock.fh.n_len); in nlm_register_wait_lock() 2312 && argp->alock.fh.n_len == nw->nw_lock.fh.n_len in nlm_do_granted() 2314 nw->nw_lock.fh.n_len)) { in nlm_do_granted() 2337 if (argp->cookie.n_len != sizeof(struct nlm_grantcookie)) { in nlm_do_granted_res()
|
| /NextBSD/sys/rpc/ |
| HD | xdr.h | 333 u_int n_len; member
|
| /NextBSD/include/rpc/ |
| HD | xdr.h | 333 u_int n_len; member
|
| /NextBSD/usr.sbin/keyserv/ |
| HD | setkey.c | 191 memcpy(xpublic, remote_key->n_bytes, remote_key->n_len);
|
| /NextBSD/sys/xdr/ |
| HD | xdr.c | 557 return (xdr_bytes(xdrs, &np->n_bytes, &np->n_len, MAX_NETOBJ_SZ)); in xdr_netobj()
|
| /NextBSD/lib/libc/xdr/ |
| HD | xdr.c | 615 return (xdr_bytes(xdrs, &np->n_bytes, &np->n_len, MAX_NETOBJ_SZ)); in xdr_netobj()
|