Lines Matching refs:inpcb
160 static KALLOC_TYPE_DEFINE(inpcbzone, struct inpcb, NET_KT_DEFAULT);
212 static void udp_append(struct inpcb *, struct ip *, struct mbuf *, int,
215 static int udp_output(struct inpcb *, struct mbuf *, struct sockaddr *,
334 struct inpcb *inp; in udp_input()
907 udp_append(struct inpcb *last, struct ip *ip, struct mbuf *n, int off, in udp_append()
975 udp_notify(struct inpcb *inp, int errno) in udp_notify()
988 void (*notify)(struct inpcb *, int) = udp_notify; in udp_ctlinput()
990 struct inpcb *inp = NULL; in udp_ctlinput()
1085 struct inpcb *inp; in udp_ctloutput()
1246 struct inpcb *inp, **inp_list;
1292 inp_list = kalloc_type(struct inpcb *, n, Z_WAITOK);
1355 kfree_type(struct inpcb *, sz, inp_list);
1370 struct inpcb *inp, **inp_list;
1416 inp_list = kalloc_type(struct inpcb *, n, Z_WAITOK);
1478 kfree_type(struct inpcb *, sz, inp_list);
1598 udp_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr, in udp_output()
2304 struct inpcb *inp; in udp_abort()
2320 struct inpcb *inp; in udp_attach()
2336 inp = (struct inpcb *)so->so_pcb; in udp_attach()
2348 struct inpcb *inp; in udp_bind()
2386 struct inpcb *inp; in udp_connect()
2452 struct inpcb *inp = sotoinpcb(so); in udp_connectx_common()
2550 struct inpcb *inp; in udp_detach()
2578 struct inpcb *inp; in udp_disconnect()
2625 struct inpcb *inp; in udp_send()
2670 struct inpcb *inp; in udp_shutdown()
2692 LCK_MTX_ASSERT(&((struct inpcb *)so->so_pcb)->inpcb_mtx, in udp_lock()
2694 lck_mtx_lock(&((struct inpcb *)so->so_pcb)->inpcb_mtx); in udp_lock()
2729 LCK_MTX_ASSERT(&((struct inpcb *)so->so_pcb)->inpcb_mtx, in udp_unlock()
2733 lck_mtx_unlock(&((struct inpcb *)so->so_pcb)->inpcb_mtx); in udp_unlock()
2742 struct inpcb *__single inp = sotoinpcb(so); in udp_getlock()
2760 struct inpcb *inp, *inpnxt; in udp_gc()
2970 struct inpcb *inp; in udp_fill_keepalive_offload_frames()
3225 struct inpcb *__single inp; in udp_defunct()