Lines Matching defs:inpcb
120 void in_pcbhash_insert(struct inpcb *);
121 struct inpcb *in_pcbhash_lookup(struct inpcbtable *, uint64_t, u_int,
131 struct inpcb *in_pcblookup_lock(struct inpcbtable *, struct in_addr, u_int,
133 int in_pcbaddrisavail_lock(const struct inpcb *, struct sockaddr_in *, int,
135 int in_pcbpickport(u_int16_t *, const void *, int, const struct inpcb *,
145 pool_init(&inpcb_pool, sizeof(struct inpcb), 0,
146 IPL_SOFTNET, 0, "inpcb", NULL);
232 struct inpcb *inp;
275 in_pcbbind_locked(struct inpcb *inp, struct mbuf *nam, const void *laddr,
350 in_pcbbind(struct inpcb *inp, struct mbuf *nam, struct proc *p)
364 in_pcbaddrisavail_lock(const struct inpcb *inp, struct sockaddr_in *sin,
408 struct inpcb *t;
435 in_pcbaddrisavail(const struct inpcb *inp, struct sockaddr_in *sin,
443 const struct inpcb *inp, struct proc *p)
447 struct inpcb *t;
505 in_pcbconnect(struct inpcb *inp, struct mbuf *nam)
510 struct inpcb *t;
570 in_pcbdisconnect(struct inpcb *inp)
582 in_pcbdetach(struct inpcb *inp)
626 in_pcbsolock_ref(struct inpcb *inp)
642 in_pcbsounlock_rele(struct inpcb *inp, struct socket *so)
651 struct inpcb *
652 in_pcbref(struct inpcb *inp)
661 in_pcbunref(struct inpcb *inp)
676 struct inpcb *
677 in_pcb_iterator(struct inpcbtable *table, struct inpcb *inp,
680 struct inpcb *tmp;
685 tmp = TAILQ_NEXT((struct inpcb *)iter, inp_queue);
693 TAILQ_REMOVE(&table->inpt_queue, (struct inpcb *)iter,
699 (struct inpcb *)iter, inp_queue);
707 in_pcb_iterator_abort(struct inpcbtable *table, struct inpcb *inp,
713 TAILQ_REMOVE(&table->inpt_queue, (struct inpcb *)iter,
720 in_setsockaddr(struct inpcb *inp, struct mbuf *nam)
741 in_setpeeraddr(struct inpcb *inp, struct mbuf *nam)
764 struct inpcb *inp;
775 struct inpcb *inp;
793 u_int rtable, int errno, void (*notify)(struct inpcb *, int))
796 struct inpcb *inp = NULL;
827 in_losing(struct inpcb *inp)
863 in_rtchange(struct inpcb *inp, int errno)
875 struct inpcb *
879 struct inpcb *inp, *match = NULL;
954 in_pcbrtentry(struct inpcb *inp)
977 struct inpcb *inp)
1061 in_pcbrehash(struct inpcb *inp)
1069 in_pcbhash_insert(struct inpcb *inp)
1094 struct inpcb *
1100 struct inpcb *inp;
1135 struct inpcb *inp;
1183 struct inpcb *
1187 struct inpcb *inp;
1217 struct inpcb *
1232 struct inpcb *
1237 struct inpcb *inp;
1300 in_pcbset_rtableid(struct inpcb *inp, u_int rtableid)
1321 in_pcbset_laddr(struct inpcb *inp, const struct sockaddr *sa, u_int rtableid)
1350 in_pcbunset_faddr(struct inpcb *inp)
1367 in_pcbunset_laddr(struct inpcb *inp)