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

/freebsd-11-stable/sys/net/
H A Dnetisr.h206 void netisr_clearqdrops(const struct netisr_handler *nhp);
207 void netisr_getqdrops(const struct netisr_handler *nhp,
209 void netisr_getqlimit(const struct netisr_handler *nhp, u_int *qlimitp);
210 void netisr_register(const struct netisr_handler *nhp);
211 int netisr_setqlimit(const struct netisr_handler *nhp, u_int qlimit);
212 void netisr_unregister(const struct netisr_handler *nhp);
214 void netisr_register_vnet(const struct netisr_handler *nhp);
215 void netisr_unregister_vnet(const struct netisr_handler *nhp);
H A Dnetisr.c367 netisr_register(const struct netisr_handler *nhp) argument
374 proto = nhp->nh_proto;
375 name = nhp->nh_name;
380 KASSERT(nhp->nh_name != NULL,
382 KASSERT(nhp->nh_handler != NULL,
384 KASSERT(nhp->nh_policy == NETISR_POLICY_SOURCE ||
385 nhp->nh_policy == NETISR_POLICY_FLOW ||
386 nhp->nh_policy == NETISR_POLICY_CPU,
388 nhp->nh_policy, name));
389 KASSERT(nhp
461 netisr_clearqdrops(const struct netisr_handler *nhp) argument
492 netisr_getqdrops(const struct netisr_handler *nhp, u_int64_t *qdropp) argument
525 netisr_getqlimit(const struct netisr_handler *nhp, u_int *qlimitp) argument
554 netisr_setqlimit(const struct netisr_handler *nhp, u_int qlimit) argument
616 netisr_unregister(const struct netisr_handler *nhp) argument
663 netisr_register_vnet(const struct netisr_handler *nhp) argument
731 netisr_unregister_vnet(const struct netisr_handler *nhp) argument
[all...]
/freebsd-11-stable/lib/libc/net/
H A Dname6.c403 struct hostent *nhp; local
438 if ((nhp = (struct hostent *)malloc(size)) == NULL) {
442 cp = (char *)&nhp[1];
444 nhp->h_name = cp;
448 nhp->h_name = NULL;
449 nhp->h_aliases = (char **)((char *)nhp + al_off);
453 nhp->h_aliases[i++] = cp;
459 nhp->h_aliases[nalias] = NULL;
460 cp = (char *)&nhp
[all...]
/freebsd-11-stable/usr.sbin/rpc.lockd/
H A Dlockd_lock.c2031 struct host *ihp, *nhp; local
2054 nhp = malloc(sizeof(*nhp) - sizeof(nhp->name) + n + 1);
2055 if (nhp == NULL) {
2061 memcpy(nhp->name, hostname, n);
2062 nhp->name[n] = 0;
2063 nhp->refcnt = 1;
2070 smon.mon_id.mon_name = nhp->name;
2094 LIST_INSERT_HEAD(&hostlst_head, nhp, hostls
[all...]
/freebsd-11-stable/contrib/sendmail/src/
H A Denvelope.c686 register HDR **nhp; local
743 nhp = &e->e_header;
746 *nhp = (HDR *) sm_rpool_malloc_x(rpool, sizeof(*bh));
747 memmove((char *) *nhp, (char *) bh, sizeof(*bh));
749 nhp = &(*nhp)->h_link;
/freebsd-11-stable/crypto/openssh/
H A Dumac.c887 UINT64 *nhp = (UINT64 *)nh_res; local
889 t = ip_aux(0,ahc->ip_keys, nhp[0]);
892 t = ip_aux(0,ahc->ip_keys+4, nhp[1]);
896 t = ip_aux(0,ahc->ip_keys+8, nhp[2]);
900 t = ip_aux(0,ahc->ip_keys+12, nhp[3]);
/freebsd-11-stable/sys/pc98/include/
H A Dbus.h261 #define bus_space_subregion(t, h, o, s, nhp) \
262 i386_memio_subregion((t), (h), (o), (s), (nhp))

Completed in 180 milliseconds