Lines Matching defs:inpcb
89 struct inpcb {
90 LIST_ENTRY(inpcb) inp_hash;
91 LIST_ENTRY(inpcb) inp_lhash;
92 TAILQ_ENTRY(inpcb) inp_queue;
118 struct inpcb in4p_pcb;
125 #define in4p_faddr(inpcb) (((struct in4pcb *)(inpcb))->in4p_ip.ip_dst)
126 #define in4p_laddr(inpcb) (((struct in4pcb *)(inpcb))->in4p_ip.ip_src)
127 #define const_in4p_faddr(inpcb) (((const struct in4pcb *)(inpcb))->in4p_ip.ip_dst)
128 #define const_in4p_laddr(inpcb) (((const struct in4pcb *)(inpcb))->in4p_ip.ip_src)
129 #define in4p_ip(inpcb) (((struct in4pcb *)(inpcb))->in4p_ip)
130 #define in4p_errormtu(inpcb) (((struct in4pcb *)(inpcb))->in4p_errormtu)
131 #define in4p_ip_minttl(inpcb) (((struct in4pcb *)(inpcb))->in4p_ip_minttl)
132 #define in4p_prefsrcip(inpcb) (((struct in4pcb *)(inpcb))->in4p_prefsrcip)
135 struct inpcb in6p_pcb;
144 #define in6p_faddr(inpcb) (((struct in6pcb *)(inpcb))->in6p_ip6.ip6_dst)
145 #define in6p_laddr(inpcb) (((struct in6pcb *)(inpcb))->in6p_ip6.ip6_src)
146 #define const_in6p_faddr(inpcb) (((const struct in6pcb *)(inpcb))->in6p_ip6.ip6_dst)
147 #define const_in6p_laddr(inpcb) (((const struct in6pcb *)(inpcb))->in6p_ip6.ip6_src)
148 #define in6p_ip6(inpcb) (((struct in6pcb *)(inpcb))->in6p_ip6)
149 #define in6p_flowinfo(inpcb) (((struct in6pcb *)(inpcb))->in6p_ip6.ip6_flow)
150 #define const_in6p_flowinfo(inpcb) (((const struct in6pcb *)(inpcb))->in6p_ip6.ip6_flow)
151 #define in6p_hops6(inpcb) (((struct in6pcb *)(inpcb))->in6p_hops)
152 #define in6p_cksum(inpcb) (((struct in6pcb *)(inpcb))->in6p_cksum)
153 #define in6p_icmp6filt(inpcb) (((struct in6pcb *)(inpcb))->in6p_icmp6filt)
154 #define in6p_outputopts(inpcb) (((struct in6pcb *)(inpcb))->in6p_outputopts)
155 #define in6p_moptions(inpcb) (((struct in6pcb *)(inpcb))->in6p_moptions)
157 LIST_HEAD(inpcbhead, inpcb);
216 #define sotoinpcb(so) ((struct inpcb *)(so)->so_pcb)
222 TAILQ_HEAD(inpcbqueue, inpcb);
253 void inpcb_losing(struct inpcb *);
255 int inpcb_bindableaddr(const struct inpcb *, struct sockaddr_in *,
262 struct inpcb *
265 struct inpcb *
268 struct inpcb *
273 struct in_addr, u_int, int, void (*)(struct inpcb *, int));
275 void (*)(struct inpcb *, int));
279 void inpcb_set_state(struct inpcb *, int);
280 void inpcb_rtchange(struct inpcb *, int);
281 void inpcb_fetch_peeraddr(struct inpcb *, struct sockaddr_in *);
282 void inpcb_fetch_sockaddr(struct inpcb *, struct sockaddr_in *);
284 inpcb_rtentry(struct inpcb *);
285 void inpcb_rtentry_unref(struct rtentry *, struct inpcb *);
290 void in6pcb_destroy(struct inpcb *);
291 void in6pcb_disconnect(struct inpcb *);
292 struct inpcb *in6pcb_lookup_local(struct inpcbtable *, struct in6_addr *,
296 void (*)(struct inpcb *, int));
299 void in6pcb_set_state(struct inpcb *, int);
300 void in6pcb_rtchange(struct inpcb *, int);
301 void in6pcb_fetch_peeraddr(struct inpcb *, struct sockaddr_in6 *);
302 void in6pcb_fetch_sockaddr(struct inpcb *, struct sockaddr_in6 *);
305 int in6pcb_selecthlim(struct inpcb *, struct ifnet *);
306 int in6pcb_selecthlim_rt(struct inpcb *);
307 int in6pcb_set_port(struct sockaddr_in6 *, struct inpcb *, struct lwp *);
310 in6pcb_rtentry(struct inpcb *);
312 in6pcb_rtentry_unref(struct rtentry *, struct inpcb *);
313 extern struct inpcb *in6pcb_lookup(struct inpcbtable *,
316 extern struct inpcb *in6pcb_lookup_bound(struct inpcbtable *,
320 inpcb_register_overudp_cb(struct inpcb *inp, pcb_overudp_cb_t cb, void *arg)