FreeBSD/sys/netnatm/natm_pcb.c
/*
 * npcb_alloc: allocate a npcb [in the free state]
 */
allocate a npcb [in the free state]
allocate a npcb [ in the free state ]
struct natmpcb *
npcb_alloc(int wait)
{
	struct natmpcb *npcb;
	npcb = malloc(sizeof(*npcb), M_PCB, wait | M_ZERO);
	if (npcb != NULL)
		npcb->npcb_flags = NPCB_FREE;
	return (npcb);
}
struct natmpcb * npcb_alloc ( int wait ) { struct natmpcb * npcb ; npcb = malloc ( sizeof ( * npcb ) , M_PCB , wait | M_ZERO ) ; if ( npcb != NULL ) npcb -> npcb_flags = NPCB_FREE ; return ( npcb ) ; }
npcb_alloc: allocate a npcb [in the free state]
npcb_alloc : allocate a npcb [ in the free state ]