Home
last modified time | relevance | path

Searched refs:nhp (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/net/
H A Dnetisr.c392 proto = nhp->nh_proto; in netisr_register()
393 name = nhp->nh_name; in netisr_register()
411 KASSERT(nhp->nh_policy == NETISR_POLICY_CPU || nhp->nh_m2cpuid == NULL, in netisr_register()
414 KASSERT(nhp->nh_policy != NETISR_POLICY_CPU || nhp->nh_m2cpuid != NULL, in netisr_register()
489 name = nhp->nh_name; in netisr_clearqdrops()
522 name = nhp->nh_name; in netisr_getqdrops()
553 name = nhp->nh_name; in netisr_getqlimit()
585 name = nhp->nh_name; in netisr_setqlimit()
645 name = nhp->nh_name; in netisr_unregister()
693 nhp->nh_name)); in netisr_register_vnet()
[all …]
H A Dnetisr.h204 void netisr_clearqdrops(const struct netisr_handler *nhp);
205 void netisr_getqdrops(const struct netisr_handler *nhp,
207 void netisr_getqlimit(const struct netisr_handler *nhp, u_int *qlimitp);
208 void netisr_register(const struct netisr_handler *nhp);
209 int netisr_setqlimit(const struct netisr_handler *nhp, u_int qlimit);
210 void netisr_unregister(const struct netisr_handler *nhp);
212 void netisr_register_vnet(const struct netisr_handler *nhp);
213 void netisr_unregister_vnet(const struct netisr_handler *nhp);
/freebsd/contrib/libucl/src/
H A Ducl_internal.h476 ucl_hash_t *nhp; in ucl_hash_insert_object() local
479 nhp = ucl_hash_create (ignore_case); in ucl_hash_insert_object()
480 if (nhp == NULL) { in ucl_hash_insert_object()
484 nhp = hashlin; in ucl_hash_insert_object()
486 if (!ucl_hash_insert (nhp, obj, obj->key, obj->keylen)) { in ucl_hash_insert_object()
487 if (nhp != hashlin) { in ucl_hash_insert_object()
488 ucl_hash_destroy(nhp, NULL); in ucl_hash_insert_object()
493 return nhp; in ucl_hash_insert_object()
/freebsd/lib/libc/net/
H A Dname6.c402 struct hostent *nhp; in _hpcopy() local
441 cp = (char *)&nhp[1]; in _hpcopy()
443 nhp->h_name = cp; in _hpcopy()
447 nhp->h_name = NULL; in _hpcopy()
448 nhp->h_aliases = (char **)((char *)nhp + al_off); in _hpcopy()
452 nhp->h_aliases[i++] = cp; in _hpcopy()
458 nhp->h_aliases[nalias] = NULL; in _hpcopy()
461 nhp->h_length = hp->h_length; in _hpcopy()
462 nhp->h_addr_list = (char **)cp; in _hpcopy()
466 nhp->h_addr_list[i++] = cp; in _hpcopy()
[all …]
/freebsd/usr.sbin/rpc.lockd/
H A Dlockd_lock.c2007 struct host *ihp, *nhp; in monitor_lock_host() local
2030 nhp = malloc(sizeof(*nhp) - sizeof(nhp->name) + n + 1); in monitor_lock_host()
2031 if (nhp == NULL) { in monitor_lock_host()
2037 memcpy(nhp->name, hostname, n); in monitor_lock_host()
2038 nhp->name[n] = 0; in monitor_lock_host()
2039 nhp->refcnt = 1; in monitor_lock_host()
2046 smon.mon_id.mon_name = nhp->name; in monitor_lock_host()
2070 LIST_INSERT_HEAD(&hostlst_head, nhp, hostlst); in monitor_lock_host()
2072 free(nhp); in monitor_lock_host()
/freebsd/contrib/sendmail/src/
H A Denvelope.c674 register HDR **nhp; local
728 nhp = &e->e_header;
731 *nhp = (HDR *) sm_rpool_malloc_x(rpool, sizeof(*bh));
732 memmove((char *) *nhp, (char *) bh, sizeof(*bh));
734 nhp = &(*nhp)->h_link;
/freebsd/crypto/openssh/
H A Dumac.c892 UINT64 *nhp = (UINT64 *)nh_res; in ip_short() local
894 t = ip_aux(0,ahc->ip_keys, nhp[0]); in ip_short()
897 t = ip_aux(0,ahc->ip_keys+4, nhp[1]); in ip_short()
901 t = ip_aux(0,ahc->ip_keys+8, nhp[2]); in ip_short()
905 t = ip_aux(0,ahc->ip_keys+12, nhp[3]); in ip_short()