/src/sys/netcan/ |
can_pcb.c | 87 struct canpcb *canp; local in function:can_pcballoc 98 canp = pool_get(&canpcb_pool, PR_NOWAIT); 100 if (canp == NULL) { 104 memset(canp, 0, sizeof(*canp)); 105 canp->canp_table = table; 106 canp->canp_socket = so; 107 canp->canp_filters = can_init_filter; 108 canp->canp_nfilters = 1; 109 mutex_init(&canp->canp_mtx, MUTEX_DEFAULT, IPL_NET) 123 struct canpcb *canp = v; local in function:can_pcbbind 177 struct canpcb *canp = v; local in function:can_pcbdisconnect 189 struct canpcb *canp = v; local in function:can_pcbdetach [all...] |
can_pcb.c | 87 struct canpcb *canp; local in function:can_pcballoc 98 canp = pool_get(&canpcb_pool, PR_NOWAIT); 100 if (canp == NULL) { 104 memset(canp, 0, sizeof(*canp)); 105 canp->canp_table = table; 106 canp->canp_socket = so; 107 canp->canp_filters = can_init_filter; 108 canp->canp_nfilters = 1; 109 mutex_init(&canp->canp_mtx, MUTEX_DEFAULT, IPL_NET) 123 struct canpcb *canp = v; local in function:can_pcbbind 177 struct canpcb *canp = v; local in function:can_pcbdisconnect 189 struct canpcb *canp = v; local in function:can_pcbdetach [all...] |
can.c | 234 can_output(struct mbuf *m, struct canpcb *canp) 240 if (canp == NULL) { 244 ifp = canp->canp_ifp; 258 mutex_enter(&canp->canp_mtx); 259 canp_ref(canp); 260 mutex_exit(&canp->canp_mtx); 261 *(struct canpcb **)(sotag + 1) = canp; 316 struct canpcb *canp; local in function:canintr 345 TAILQ_FOREACH(canp, &cbtable.canpt_queue, canp_queue) { 348 mutex_enter(&canp->canp_mtx) 461 struct canpcb *canp; local in function:can_detach 481 struct canpcb *canp = sotocanpcb(so); local in function:can_bind 501 struct canpcb *canp = sotocanpcb(so); local in function:can_connect 525 struct canpcb *canp = sotocanpcb(so); local in function:can_disconnect 612 struct canpcb *canp = sotocanpcb(so); local in function:can_send 934 struct canpcb *canp; local in function:can_ctloutput [all...] |
can.c | 234 can_output(struct mbuf *m, struct canpcb *canp) 240 if (canp == NULL) { 244 ifp = canp->canp_ifp; 258 mutex_enter(&canp->canp_mtx); 259 canp_ref(canp); 260 mutex_exit(&canp->canp_mtx); 261 *(struct canpcb **)(sotag + 1) = canp; 316 struct canpcb *canp; local in function:canintr 345 TAILQ_FOREACH(canp, &cbtable.canpt_queue, canp_queue) { 348 mutex_enter(&canp->canp_mtx) 461 struct canpcb *canp; local in function:can_detach 481 struct canpcb *canp = sotocanpcb(so); local in function:can_bind 501 struct canpcb *canp = sotocanpcb(so); local in function:can_connect 525 struct canpcb *canp = sotocanpcb(so); local in function:can_disconnect 612 struct canpcb *canp = sotocanpcb(so); local in function:can_send 934 struct canpcb *canp; local in function:can_ctloutput [all...] |