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 *,
303 struct inpcb *inp; in udp_input()
870 udp_append(struct inpcb *last, struct ip *ip, struct mbuf *n, int off, in udp_append()
938 udp_notify(struct inpcb *inp, int errno) in udp_notify()
951 void (*notify)(struct inpcb *, int) = udp_notify; in udp_ctlinput()
953 struct inpcb *inp = NULL; in udp_ctlinput()
1048 struct inpcb *inp; in udp_ctloutput()
1209 struct inpcb *inp, **inp_list;
1255 inp_list = kalloc_type(struct inpcb *, n, Z_WAITOK);
1318 kfree_type(struct inpcb *, sz, inp_list);
1333 struct inpcb *inp, **inp_list;
1379 inp_list = kalloc_type(struct inpcb *, n, Z_WAITOK);
1441 kfree_type(struct inpcb *, sz, inp_list);
1561 udp_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr, in udp_output()
2267 struct inpcb *inp; in udp_abort()
2283 struct inpcb *inp; in udp_attach()
2299 inp = (struct inpcb *)so->so_pcb; in udp_attach()
2311 struct inpcb *inp; in udp_bind()
2349 struct inpcb *inp; in udp_connect()
2415 struct inpcb *inp = sotoinpcb(so); in udp_connectx_common()
2513 struct inpcb *inp; in udp_detach()
2541 struct inpcb *inp; in udp_disconnect()
2588 struct inpcb *inp; in udp_send()
2633 struct inpcb *inp; in udp_shutdown()
2655 LCK_MTX_ASSERT(&((struct inpcb *)so->so_pcb)->inpcb_mtx, in udp_lock()
2657 lck_mtx_lock(&((struct inpcb *)so->so_pcb)->inpcb_mtx); in udp_lock()
2692 LCK_MTX_ASSERT(&((struct inpcb *)so->so_pcb)->inpcb_mtx, in udp_unlock()
2696 lck_mtx_unlock(&((struct inpcb *)so->so_pcb)->inpcb_mtx); in udp_unlock()
2705 struct inpcb *__single inp = sotoinpcb(so); in udp_getlock()
2723 struct inpcb *inp, *inpnxt; in udp_gc()
2933 struct inpcb *inp; in udp_fill_keepalive_offload_frames()
3188 struct inpcb *__single inp; in udp_defunct()