| /NextBSD/sys/netinet/ |
| HD | in_pcb.h | 53 #define in6pcb inpcb /* for KAME src sync over BSD*'s */ 65 LIST_HEAD(inpcbhead, inpcb); 184 struct inpcb { struct 185 LIST_ENTRY(inpcb) inp_hash; /* (h/i) hash list */ 186 LIST_ENTRY(inpcb) inp_pcbgrouphash; /* (g/i) hash list */ 187 LIST_ENTRY(inpcb) inp_list; /* (p/l) list for all PCBs for proto */ 193 LIST_ENTRY(inpcb) inp_pcbgroup_wild; /* (g/i/h) group wildcard entry */ argument 239 LIST_ENTRY(inpcb) inp_portlist; /* (i/h) */ argument 241 #define inp_zero_size offsetof(struct inpcb, inp_gencnt) 283 struct inpcb xi_inp; [all …]
|
| HD | in_pcb.c | 147 static void in_pcbremlists(struct inpcb *inp); 149 static struct inpcb *in_pcblookup_hash_locked(struct inpcbinfo *pcbinfo, 252 pcbinfo->ipi_zone = uma_zcreate(inpcbzone_name, sizeof(struct inpcb), in in_pcbinfo_init() 289 struct inpcb *inp; in in_pcballoc() 355 in_pcbbind(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred) in in_pcbbind() 385 in_pcb_lport(struct inpcb *inp, struct in_addr *laddrp, u_short *lportp, in in_pcb_lport() 389 struct inpcb *tmpinp; in in_pcb_lport() 506 inp_so_options(const struct inpcb *inp) in inp_so_options() 529 in_rt_valid(struct inpcb *inp) in in_rt_valid() 562 in_pcbrtalloc(struct inpcb *inp) in in_pcbrtalloc() [all …]
|
| HD | in_pcbgroup.c | 303 in_pcbgroup_byinpcb(struct inpcb *inp) in in_pcbgroup_byinpcb() 323 in_pcbwild_add(struct inpcb *inp) in in_pcbwild_add() 345 in_pcbwild_remove(struct inpcb *inp) in in_pcbwild_remove() 364 in_pcbwild_needed(struct inpcb *inp) in in_pcbwild_needed() 385 in_pcbwild_update_internal(struct inpcb *inp) in in_pcbwild_update_internal() 404 struct inpcbgroup *newpcbgroup, struct inpcb *inp) in in_pcbgroup_update_internal() 467 in_pcbgroup_update(struct inpcb *inp) in in_pcbgroup_update() 493 in_pcbgroup_update_mbuf(struct inpcb *inp, struct mbuf *m) in in_pcbgroup_update_mbuf() 533 in_pcbgroup_remove(struct inpcb *inp) in in_pcbgroup_remove()
|
| HD | raw_ip.c | 153 rip_inshash(struct inpcb *inp) in rip_inshash() 174 rip_delhash(struct inpcb *inp) in rip_delhash() 201 struct inpcb *inp = mem; in rip_inpcb_init() 229 rip_append(struct inpcb *last, struct ip *ip, struct mbuf *n, in rip_append() 282 struct inpcb *inp, *last; in rip_input() 431 struct inpcb *inp = sotoinpcb(so); in rip_output() 560 struct inpcb *inp = sotoinpcb(so); in rip_ctloutput() 797 struct inpcb *inp; in rip_attach() 817 inp = (struct inpcb *)so->so_pcb; in rip_attach() 830 struct inpcb *inp; in rip_detach() [all …]
|
| HD | udp_var.h | 55 struct inpcb; 58 typedef void(*udp_tun_func_t)(struct mbuf *, int off, struct inpcb *, 164 int udp_newudpcb(struct inpcb *); 178 struct inpcb *udp_notify(struct inpcb *inp, int errno);
|
| HD | udp_usrreq.c | 166 static int udp_output(struct inpcb *, struct mbuf *, struct sockaddr *, 174 static struct mbuf *udp4_espdecap(struct inpcb *, struct mbuf *, int); 190 struct inpcb *inp; in udp_inpcb_init() 200 struct inpcb *inp; in udplite_inpcb_init() 253 udp_newudpcb(struct inpcb *inp) in udp_newudpcb() 306 udp_append(struct inpcb *inp, struct ip *ip, struct mbuf *n, int off, in udp_append() 396 struct inpcb *inp; in udp_input() 525 struct inpcb *last; in udp_input() 732 struct inpcb * 733 udp_notify(struct inpcb *inp, int errno) in udp_notify() [all …]
|
| HD | tcp_var.h | 104 struct inpcb; 116 struct inpcb *inp, struct tcpcb *tp); 150 struct inpcb *t_inpcb; /* back pointer to internet pcb */ 418 struct inpcb *tw_inpcb; /* XXX back pointer to internet pcb */ 649 struct inpcb xt_inp; 773 int tcp_default_ctloutput(struct socket *so, struct sockopt *sopt, struct inpcb *inp, struct tcpcb … 782 struct inpcb * 783 tcp_drop_syn_sent(struct inpcb *, int); 785 tcp_newtcpcb(struct inpcb *); 795 int tcp_twcheck(struct inpcb *, struct tcpopt *, struct tcphdr *, [all …]
|
| HD | ip_var.h | 173 struct inpcb; 203 int inp_getmoptions(struct inpcb *, struct sockopt *); 204 int inp_setmoptions(struct inpcb *, struct sockopt *); 220 struct inpcb *); 225 void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *,
|
| HD | ip_divert.c | 137 struct inpcb *inp = mem; in div_inpcb_init() 146 struct inpcb *inp = mem; in div_inpcb_fini() 196 struct inpcb *inp; in divert_packet() 374 struct inpcb *inp; in div_output() 514 struct inpcb *inp; in div_attach() 533 inp = (struct inpcb *)so->so_pcb; in div_attach() 545 struct inpcb *inp; in div_detach() 559 struct inpcb *inp; in div_bind() 587 struct inpcb *inp; in div_shutdown() 630 struct inpcb *inp, **inp_list; in div_pcblist()
|
| HD | tcp_usrreq.c | 137 struct inpcb *inp; in tcp_usr_attach() 171 tcp_detach(struct socket *so, struct inpcb *inp) in tcp_detach() 252 struct inpcb *inp; in tcp_usr_detach() 277 struct inpcb *inp; in tcp_usr_bind() 319 struct inpcb *inp; in tcp6_usr_bind() 382 struct inpcb *inp; in tcp_usr_listen() 428 struct inpcb *inp; in tcp6_usr_listen() 485 struct inpcb *inp; in tcp_usr_connect() 537 struct inpcb *inp; in tcp6_usr_connect() 636 struct inpcb *inp; in tcp_usr_disconnect() [all …]
|
| HD | tcp_subr.c | 239 static struct inpcb *tcp_notify(struct inpcb *, int); 240 static struct inpcb *tcp_mtudisc_notify(struct inpcb *, int); 241 static void tcp_mtudisc(struct inpcb *, int); 469 struct inpcb *inp = mem; in tcp_inpcb_init() 760 tcpip_fillheaders(struct inpcb *inp, void *ip_ptr, void *tcp_ptr) in tcpip_fillheaders() 820 tcpip_maketemplate(struct inpcb *inp) in tcpip_maketemplate() 858 struct inpcb *inp; in tcp_respond() 1036 tcp_newtcpcb(struct inpcb *inp) in tcp_newtcpcb() 1157 struct inpcb *inp; in tcp_ccalgounload() 1235 struct inpcb *inp = tp->t_inpcb; in tcp_discardcb() [all …]
|
| HD | toecore.c | 186 toe_listen_start(struct inpcb *inp, void *arg) in toe_listen_start() 214 struct inpcb *inp = tp->t_inpcb; in toe_listen_start_event() 228 struct inpcb *inp = tp->t_inpcb; in toe_listen_stop_event() 327 struct inpcb *inp, void *tod, void *todctx) in toe_syncache_add() 357 struct inpcb *inp; in toe_4tuple_check() 476 toe_connect_failed(struct toedev *tod, struct inpcb *inp, int err) in toe_connect_failed()
|
| /NextBSD/sys/netinet6/ |
| HD | in6_pcb.h | 75 in6_pcbgroup_byinpcb(struct inpcb *); 83 void in6_losing(struct inpcb *); 84 int in6_pcbbind(struct inpcb *, struct sockaddr *, struct ucred *); 85 int in6_pcbconnect(struct inpcb *, struct sockaddr *, struct ucred *); 86 int in6_pcbconnect_mbuf(struct inpcb *, struct sockaddr *, 88 void in6_pcbdisconnect(struct inpcb *); 89 struct inpcb * 93 struct inpcb * 97 struct inpcb * 103 struct inpcb *(*)(struct inpcb *, int)); [all …]
|
| HD | in6_pcb.c | 111 static struct inpcb *in6_pcblookup_hash_locked(struct inpcbinfo *, 115 in6_pcbbind(register struct inpcb *inp, struct sockaddr *nam, in in6_pcbbind() 192 struct inpcb *t; in in6_pcbbind() 326 in6_pcbladdr(register struct inpcb *inp, struct sockaddr *nam, in in6_pcbladdr() 391 in6_pcbconnect_mbuf(register struct inpcb *inp, struct sockaddr *nam, in in6_pcbconnect_mbuf() 438 in6_pcbconnect(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred) in in6_pcbconnect() 445 in6_pcbdisconnect(struct inpcb *inp) in in6_pcbdisconnect() 496 register struct inpcb *inp; in in6_getsockaddr() 515 struct inpcb *inp; in in6_getpeeraddr() 534 struct inpcb *inp; in in6_mapped_sockaddr() [all …]
|
| HD | raw_ip6.c | 165 register struct inpcb *in6p; in rip6_input() 166 struct inpcb *last = 0; in rip6_input() 344 struct inpcb *(*notify)(struct inpcb *, int) = in6_rtchange; in rip6_ctlinput() 392 struct inpcb *in6p; in rip6_output() 565 struct inpcb *inp; in rip6_ctloutput() 638 struct inpcb *inp; in rip6_attach() 661 inp = (struct inpcb *)so->so_pcb; in rip6_attach() 676 struct inpcb *inp; in rip6_detach() 696 struct inpcb *inp; in rip6_abort() 707 struct inpcb *inp; in rip6_close() [all …]
|
| HD | ip6_var.h | 351 struct inpcb; 377 struct mbuf **ip6_savecontrol_v4(struct inpcb *, struct mbuf *, 379 void ip6_savecontrol(struct inpcb *, struct mbuf *, struct mbuf **); 380 void ip6_notify_pmtu(struct inpcb *, struct sockaddr_in6 *, u_int32_t); 390 struct inpcb *); 398 int ip6_optlen(struct inpcb *); 422 struct inpcb *, struct ucred *, int, struct in6_addr *, int *);
|
| HD | udp6_usrreq.c | 140 udp6_append(struct inpcb *inp, struct mbuf *n, int off, in udp6_append() 201 struct inpcb *inp; in udp6_input() 287 struct inpcb *last; in udp6_input() 509 struct inpcb *(*notify)(struct inpcb *, int) = udp_notify; in udp6_common_ctlinput() 583 struct inpcb *inp; in udp6_getcred() 625 udp6_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr6, in udp6_output() 902 struct inpcb *inp; in udp6_abort() 937 struct inpcb *inp; in udp6_attach() 956 inp = (struct inpcb *)so->so_pcb; in udp6_attach() 985 struct inpcb *inp; in udp6_bind() [all …]
|
| /NextBSD/usr.bin/systat/ |
| HD | netstat.c | 79 static struct netinfo *enter(struct inpcb *, int, const char *); 80 static void enter_kvm(struct inpcb *, struct socket *, int, const char *); 81 static void enter_sysctl(struct inpcb *, struct xsocket *, int, const char *); 172 struct inpcb *next; in fetchnetstat_kvm() 175 struct inpcb inpcb; in fetchnetstat_kvm() local 200 KREAD(next, &inpcb, sizeof (inpcb)); in fetchnetstat_kvm() 201 next = &inpcb; in fetchnetstat_kvm() 203 if (inpcb.inp_vflag & INP_IPV4) { in fetchnetstat_kvm() 204 if (inet_lnaof(inpcb.inp_laddr) == INADDR_ANY) in fetchnetstat_kvm() 208 else if (inpcb.inp_vflag & INP_IPV6) { in fetchnetstat_kvm() [all …]
|
| HD | extern.h | 59 struct inpcb; 70 int checkhost(struct inpcb *); 71 int checkport(struct inpcb *);
|
| /NextBSD/sys/netipsec/ |
| HD | ipsec.h | 313 struct inpcb; 315 int *, struct inpcb *); 318 struct inpcb; 323 extern int ipsec_set_policy(struct inpcb *inp, int optname, 325 extern int ipsec_get_policy(struct inpcb *inpcb, caddr_t request, 327 extern int ipsec_delete_pcbpolicy(struct inpcb *); 328 extern int ipsec4_in_reject(struct mbuf *, struct inpcb *); 335 extern size_t ipsec_hdrsiz(struct mbuf *, u_int, struct inpcb *);
|
| /NextBSD/sys/security/mac/ |
| HD | mac_inet.c | 99 mac_inpcb_init(struct inpcb *inp, int flag) in mac_inpcb_init() 155 mac_inpcb_destroy(struct inpcb *inp) in mac_inpcb_destroy() 183 mac_inpcb_create(struct socket *so, struct inpcb *inp) in mac_inpcb_create() 233 mac_inpcb_create_mbuf(struct inpcb *inp, struct mbuf *m) in mac_inpcb_create_mbuf() 355 mac_inpcb_check_deliver(struct inpcb *inp, struct mbuf *m) in mac_inpcb_check_deliver() 378 mac_inpcb_check_visible(struct ucred *cred, struct inpcb *inp) in mac_inpcb_check_visible() 392 mac_inpcb_sosetlabel(struct socket *so, struct inpcb *inp) in mac_inpcb_sosetlabel() 485 mac_syncache_create(struct label *label, struct inpcb *inp) in mac_syncache_create()
|
| HD | mac_framework.h | 65 struct inpcb; 156 int mac_inpcb_check_deliver(struct inpcb *inp, struct mbuf *m); 157 int mac_inpcb_check_visible(struct ucred *cred, struct inpcb *inp); 158 void mac_inpcb_create(struct socket *so, struct inpcb *inp); 159 void mac_inpcb_create_mbuf(struct inpcb *inp, struct mbuf *m); 160 void mac_inpcb_destroy(struct inpcb *); 161 int mac_inpcb_init(struct inpcb *, int); 162 void mac_inpcb_sosetlabel(struct socket *so, struct inpcb *inp); 308 void mac_syncache_create(struct label *l, struct inpcb *inp);
|
| /NextBSD/sys/dev/cxgb/ulp/tom/ |
| HD | cxgb_listen.c | 90 alloc_lctx(struct tom_data *td, struct inpcb *inp, int qset) in alloc_lctx() 120 struct inpcb *inp = lctx->inp; in free_lctx() 170 listen_hash_find(struct tom_data *td, struct inpcb *inp) in listen_hash_find() 189 listen_hash_del(struct tom_data *td, struct inpcb *inp) in listen_hash_del() 212 static struct inpcb * 215 struct inpcb *inp = lctx->inp; in release_lctx() 230 struct inpcb *inp = lctx->inp; in create_server() 284 struct inpcb *inp = lctx->inp; in do_close_server_rpl() 315 struct inpcb *inp; in do_pass_open_rpl() 486 struct inpcb *inp; in do_pass_accept_req() [all …]
|
| /NextBSD/sys/dev/cxgbe/tom/ |
| HD | t4_listen.c | 76 static struct listen_ctx *alloc_lctx(struct adapter *, struct inpcb *, 81 static struct listen_ctx *listen_hash_find(struct adapter *, struct inpcb *); 82 static struct listen_ctx *listen_hash_del(struct adapter *, struct inpcb *); 83 static struct inpcb *release_lctx(struct adapter *, struct listen_ctx *); 192 alloc_lctx(struct adapter *sc, struct inpcb *inp, struct vi_info *vi) in alloc_lctx() 234 struct inpcb *inp = lctx->inp; in free_lctx() 288 listen_hash_find(struct adapter *sc, struct inpcb *inp) in listen_hash_find() 308 listen_hash_del(struct adapter *sc, struct inpcb *inp) in listen_hash_del() 332 static struct inpcb * 335 struct inpcb *inp = lctx->inp; in release_lctx() [all …]
|
| /NextBSD/sys/net/ |
| HD | pfil.h | 44 struct inpcb; 47 struct inpcb *); 105 int, struct inpcb *inp);
|