Searched refs:npcb (Results 1 - 4 of 4) sorted by relevance

/freebsd-10-stable/sys/netnatm/
H A Dnatm_pcb.c62 * npcb_alloc: allocate a npcb [in the free state]
68 struct natmpcb *npcb; local
70 npcb = malloc(sizeof(*npcb), M_PCB, wait | M_ZERO);
71 if (npcb != NULL)
72 npcb->npcb_flags = NPCB_FREE;
73 return (npcb);
78 * npcb_free: free a npcb
81 npcb_free(struct natmpcb *npcb, int op) argument
86 if ((npcb
105 npcb_add(struct natmpcb *npcb, struct ifnet *ifp, u_int16_t vci, u_int8_t vpi) argument
[all...]
H A Dnatm.c122 struct natmpcb *npcb; local
125 npcb = (struct natmpcb *)so->so_pcb;
126 KASSERT(npcb == NULL, ("natm_usr_attach: so_pcb != NULL"));
138 so->so_pcb = npcb = npcb_alloc(M_WAITOK);
139 npcb->npcb_socket = so;
146 struct natmpcb *npcb; local
148 npcb = (struct natmpcb *)so->so_pcb;
149 KASSERT(npcb != NULL, ("natm_usr_detach: npcb == NULL"));
152 npcb_free(npcb, NPCB_DESTRO
160 struct natmpcb *npcb; local
234 struct natmpcb *npcb; local
276 struct natmpcb *npcb; local
313 struct natmpcb *npcb; local
337 struct natmpcb *npcb; local
415 struct natmpcb *npcb; local
[all...]
/freebsd-10-stable/sys/netinet/
H A Dif_atm.c102 struct natmpcb *npcb = NULL; local
226 npcb = npcb_add(NULL, rt->rt_ifp, op.param.vci, op.param.vpi);
227 if (npcb == NULL)
229 npcb->npcb_flags |= NPCB_IP;
230 npcb->ipaddr.s_addr = sin->sin_addr.s_addr;
231 /* XXX: move npcb to llinfo when ATM ARP is ready */
233 rt->rt_llinfo = (caddr_t) npcb;
258 if (npcb) {
259 npcb_free(npcb, NPCB_DESTROY);
/freebsd-10-stable/sys/net/
H A Dif_atmsubr.c271 struct natmpcb *npcb; local
279 npcb = rxhand;
280 npcb->npcb_inq++; /* count # in queue */

Completed in 61 milliseconds