| /freebsd-9-stable/sys/netinet/ |
| D | in_pcb.h | 53 #define in6pcb inpcb /* for KAME src sync over BSD*'s */ 65 LIST_HEAD(inpcbhead, inpcb); 163 struct inpcb { struct 164 LIST_ENTRY(inpcb) inp_hash; /* (i/p) hash list */ 165 LIST_ENTRY(inpcb) inp_pcbgrouphash; /* (g/i) hash list */ 166 LIST_ENTRY(inpcb) inp_list; /* (i/p) list for all PCBs for proto */ 170 LIST_ENTRY(inpcb) inp_pcbgroup_wild; /* (g/i/p) group wildcard entry */ argument 212 LIST_ENTRY(inpcb) inp_portlist; /* (i/p) */ argument 214 #define inp_zero_size offsetof(struct inpcb, inp_gencnt) 254 struct inpcb xi_inp; [all …]
|
| D | in_pcb.c | 131 static void in_pcbremlists(struct inpcb *inp); 133 static struct inpcb *in_pcblookup_hash_locked(struct inpcbinfo *pcbinfo, 235 pcbinfo->ipi_zone = uma_zcreate(inpcbzone_name, sizeof(struct inpcb), in in_pcbinfo_init() 269 struct inpcb *inp; in in_pcballoc() 326 in_pcbbind(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred) in in_pcbbind() 354 in_pcb_lport(struct inpcb *inp, struct in_addr *laddrp, u_short *lportp, in in_pcb_lport() 358 struct inpcb *tmpinp; in in_pcb_lport() 474 inp_so_options(const struct inpcb *inp) in inp_so_options() 499 in_pcbbind_setup(struct inpcb *inp, struct sockaddr *nam, in_addr_t *laddrp, in in_pcbbind_setup() 572 struct inpcb *t; in in_pcbbind_setup() [all …]
|
| D | in_pcbgroup.c | 233 in_pcbgroup_byinpcb(struct inpcb *inp) in in_pcbgroup_byinpcb() 241 in_pcbwild_add(struct inpcb *inp) in in_pcbwild_add() 263 in_pcbwild_remove(struct inpcb *inp) in in_pcbwild_remove() 282 in_pcbwild_needed(struct inpcb *inp) in in_pcbwild_needed() 294 in_pcbwild_update_internal(struct inpcb *inp) in in_pcbwild_update_internal() 313 struct inpcbgroup *newpcbgroup, struct inpcb *inp) in in_pcbgroup_update_internal() 361 in_pcbgroup_update(struct inpcb *inp) in in_pcbgroup_update() 387 in_pcbgroup_update_mbuf(struct inpcb *inp, struct mbuf *m) in in_pcbgroup_update_mbuf() 427 in_pcbgroup_remove(struct inpcb *inp) in in_pcbgroup_remove()
|
| D | raw_ip.c | 152 rip_inshash(struct inpcb *inp) in rip_inshash() 173 rip_delhash(struct inpcb *inp) in rip_delhash() 200 struct inpcb *inp = mem; in rip_inpcb_init() 228 rip_append(struct inpcb *last, struct ip *ip, struct mbuf *n, in rip_append() 281 struct inpcb *inp, *last; in rip_input() 427 struct inpcb *inp = sotoinpcb(so); in rip_output() 544 struct inpcb *inp = sotoinpcb(so); in rip_ctloutput() 784 struct inpcb *inp; in rip_attach() 804 inp = (struct inpcb *)so->so_pcb; in rip_attach() 817 struct inpcb *inp; in rip_detach() [all …]
|
| D | udp_usrreq.c | 153 static int udp_output(struct inpcb *, struct mbuf *, struct sockaddr *, 161 static struct mbuf *udp4_espdecap(struct inpcb *, struct mbuf *, int); 177 struct inpcb *inp; in udp_inpcb_init() 213 udp_newudpcb(struct inpcb *inp) in udp_newudpcb() 250 udp_append(struct inpcb *inp, struct ip *ip, struct mbuf *n, int off, in udp_append() 340 struct inpcb *inp; in udp_input() 444 struct inpcb *last; in udp_input() 629 struct inpcb * 630 udp_notify(struct inpcb *inp, int errno) in udp_notify() 654 struct inpcb *inp; in udp_ctlinput() [all …]
|
| D | udp_var.h | 54 typedef void(*udp_tun_func_t)(struct mbuf *, int off, struct inpcb *); 147 int udp_newudpcb(struct inpcb *); 157 struct inpcb *udp_notify(struct inpcb *inp, int errno);
|
| D | tcp_var.h | 110 struct inpcb *t_inpcb; /* back pointer to internet pcb */ 347 struct inpcb *tw_inpcb; /* XXX back pointer to internet pcb */ 568 struct inpcb xt_inp; 696 struct inpcb * 697 tcp_drop_syn_sent(struct inpcb *, int); 698 struct inpcb * 699 tcp_mtudisc(struct inpcb *, int); 701 tcp_newtcpcb(struct inpcb *); 710 int tcp_twcheck(struct inpcb *, struct tcpopt *, struct tcphdr *, 721 tcpip_maketemplate(struct inpcb *); [all …]
|
| D | tcp_subr.c | 226 static struct inpcb *tcp_notify(struct inpcb *, int); 227 static struct inpcb *tcp_mtudisc_notify(struct inpcb *, int); 279 struct inpcb *inp = mem; in tcp_inpcb_init() 396 tcpip_fillheaders(struct inpcb *inp, void *ip_ptr, void *tcp_ptr) in tcpip_fillheaders() 456 tcpip_maketemplate(struct inpcb *inp) in tcpip_maketemplate() 494 struct inpcb *inp; in tcp_respond() 667 tcp_newtcpcb(struct inpcb *inp) in tcp_newtcpcb() 764 struct inpcb *inp; in tcp_ccalgounload() 842 struct inpcb *inp = tp->t_inpcb; in tcp_discardcb() 957 struct inpcb *inp = tp->t_inpcb; in tcp_close() [all …]
|
| D | ip_divert.c | 137 struct inpcb *inp = mem; in div_inpcb_init() 146 struct inpcb *inp = mem; in div_inpcb_fini() 194 struct inpcb *inp; in divert_packet() 376 struct inpcb *inp; in div_output() 522 struct inpcb *inp; in div_attach() 541 inp = (struct inpcb *)so->so_pcb; in div_attach() 553 struct inpcb *inp; in div_detach() 567 struct inpcb *inp; in div_bind() 595 struct inpcb *inp; in div_shutdown() 638 struct inpcb *inp, **inp_list; in div_pcblist()
|
| D | ip_var.h | 174 struct inpcb; 207 int inp_getmoptions(struct inpcb *, struct sockopt *); 208 int inp_setmoptions(struct inpcb *, struct sockopt *); 224 struct inpcb *); 231 void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *,
|
| D | tcp_usrreq.c | 128 struct inpcb *inp; in tcp_usr_attach() 161 tcp_detach(struct socket *so, struct inpcb *inp) in tcp_detach() 227 struct inpcb *inp; in tcp_usr_detach() 247 struct inpcb *inp; in tcp_usr_bind() 288 struct inpcb *inp; in tcp6_usr_bind() 350 struct inpcb *inp; in tcp_usr_listen() 391 struct inpcb *inp; in tcp6_usr_listen() 443 struct inpcb *inp; in tcp_usr_connect() 491 struct inpcb *inp; in tcp6_usr_connect() 585 struct inpcb *inp; in tcp_usr_disconnect() [all …]
|
| /freebsd-9-stable/sys/netinet6/ |
| D | 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 int in6_pcbladdr(struct inpcb *, struct sockaddr *, struct in6_addr *); 90 struct inpcb * 94 struct inpcb * 98 struct inpcb * [all …]
|
| D | in6_pcb.c | 112 in6_pcbbind(register struct inpcb *inp, struct sockaddr *nam, in in6_pcbbind() 189 struct inpcb *t; in in6_pcbbind() 308 in6_pcbladdr(register struct inpcb *inp, struct sockaddr *nam, in in6_pcbladdr() 379 in6_pcbconnect_mbuf(register struct inpcb *inp, struct sockaddr *nam, in in6_pcbconnect_mbuf() 426 in6_pcbconnect(struct inpcb *inp, struct sockaddr *nam, struct ucred *cred) in in6_pcbconnect() 433 in6_pcbdisconnect(struct inpcb *inp) in in6_pcbdisconnect() 484 register struct inpcb *inp; in in6_getsockaddr() 503 struct inpcb *inp; in in6_getpeeraddr() 522 struct inpcb *inp; in in6_mapped_sockaddr() 546 struct inpcb *inp; in in6_mapped_peeraddr() [all …]
|
| D | raw_ip6.c | 158 register struct inpcb *in6p; in rip6_input() 159 struct inpcb *last = 0; in rip6_input() 345 struct inpcb *(*notify)(struct inpcb *, int) = in6_rtchange; in rip6_ctlinput() 400 struct inpcb *in6p; 585 struct inpcb *inp; in rip6_ctloutput() 658 struct inpcb *inp; in rip6_attach() 681 inp = (struct inpcb *)so->so_pcb; in rip6_attach() 696 struct inpcb *inp; in rip6_detach() 716 struct inpcb *inp; in rip6_abort() 727 struct inpcb *inp; in rip6_close() [all …]
|
| D | udp6_usrreq.c | 132 udp6_append(struct inpcb *inp, struct mbuf *n, int off, in udp6_append() 180 struct inpcb *inp; in udp6_input() 253 struct inpcb *last; in udp6_input() 488 struct inpcb *(*notify)(struct inpcb *, int) = udp_notify; in udp6_ctlinput() 548 struct inpcb *inp; in udp6_getcred() 590 udp6_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr6, in udp6_output() 814 struct inpcb *inp; in udp6_abort() 843 struct inpcb *inp; in udp6_attach() 860 inp = (struct inpcb *)so->so_pcb; in udp6_attach() 889 struct inpcb *inp; in udp6_bind() [all …]
|
| D | ip6_var.h | 376 struct inpcb; 406 struct mbuf **ip6_savecontrol_v4(struct inpcb *, struct mbuf *, 408 void ip6_savecontrol(struct inpcb *, struct mbuf *, struct mbuf **); 409 void ip6_notify_pmtu(struct inpcb *, struct sockaddr_in6 *, u_int32_t); 419 struct inpcb *); 427 int ip6_optlen(struct inpcb *); 448 struct inpcb *inp, struct route_in6 *, struct ucred *cred,
|
| /freebsd-9-stable/usr.bin/systat/ |
| D | 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 …]
|
| D | extern.h | 59 struct inpcb; 70 int checkhost(struct inpcb *); 71 int checkport(struct inpcb *);
|
| /freebsd-9-stable/sys/net/ |
| D | pfil.h | 44 struct inpcb; 53 struct inpcb *); 87 int, struct inpcb *), void *, int, struct pfil_head *); 89 int, struct inpcb *), void *, int, struct pfil_head *); 91 int, struct inpcb *inp);
|
| D | pfil.c | 58 int (*)(void *, struct mbuf **, struct ifnet *, int, struct inpcb *), 70 int dir, struct inpcb *inp) in pfil_run_hooks() 166 struct inpcb *), void *arg, int flags, struct pfil_head *ph) in pfil_add_hook() argument 226 struct inpcb *), void *arg, int flags, struct pfil_head *ph) in pfil_remove_hook() argument 275 int (*func)(void *, struct mbuf **, struct ifnet *, int, struct inpcb *), in pfil_list_remove() argument
|
| /freebsd-9-stable/sys/netipsec/ |
| D | ipsec.h | 384 struct inpcb; 386 int *, struct inpcb *)); 390 struct inpcb; 397 extern int ipsec_set_policy __P((struct inpcb *inp, int optname, 399 extern int ipsec_get_policy __P((struct inpcb *inpcb, caddr_t request, 401 extern int ipsec_delete_pcbpolicy __P((struct inpcb *)); 402 extern int ipsec4_in_reject __P((struct mbuf *, struct inpcb *)); 409 extern size_t ipsec_hdrsiz __P((struct mbuf *, u_int, struct inpcb *));
|
| /freebsd-9-stable/sys/security/mac/ |
| D | mac_inet.c | 100 mac_inpcb_init(struct inpcb *inp, int flag) in mac_inpcb_init() 156 mac_inpcb_destroy(struct inpcb *inp) in mac_inpcb_destroy() 184 mac_inpcb_create(struct socket *so, struct inpcb *inp) in mac_inpcb_create() 234 mac_inpcb_create_mbuf(struct inpcb *inp, struct mbuf *m) in mac_inpcb_create_mbuf() 356 mac_inpcb_check_deliver(struct inpcb *inp, struct mbuf *m) in mac_inpcb_check_deliver() 379 mac_inpcb_check_visible(struct ucred *cred, struct inpcb *inp) in mac_inpcb_check_visible() 393 mac_inpcb_sosetlabel(struct socket *so, struct inpcb *inp) in mac_inpcb_sosetlabel() 486 mac_syncache_create(struct label *label, struct inpcb *inp) in mac_syncache_create()
|
| D | 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); 306 void mac_syncache_create(struct label *l, struct inpcb *inp);
|
| /freebsd-9-stable/sys/dev/cxgb/ulp/tom/ |
| D | cxgb_listen.c | 88 alloc_lctx(struct tom_data *td, struct inpcb *inp, int qset) in alloc_lctx() 118 struct inpcb *inp = lctx->inp; in free_lctx() 168 listen_hash_find(struct tom_data *td, struct inpcb *inp) in listen_hash_find() 187 listen_hash_del(struct tom_data *td, struct inpcb *inp) in listen_hash_del() 210 static struct inpcb * 213 struct inpcb *inp = lctx->inp; in release_lctx() 228 struct inpcb *inp = lctx->inp; in create_server() 282 struct inpcb *inp = lctx->inp; in do_close_server_rpl() 313 struct inpcb *inp; in do_pass_open_rpl() 497 struct inpcb *inp; in do_pass_accept_req() [all …]
|
| /freebsd-9-stable/sys/dev/cxgbe/tom/ |
| D | t4_listen.c | 74 static struct listen_ctx *alloc_lctx(struct adapter *, struct inpcb *, 79 static struct listen_ctx *listen_hash_find(struct adapter *, struct inpcb *); 80 static struct listen_ctx *listen_hash_del(struct adapter *, struct inpcb *); 81 static struct inpcb *release_lctx(struct adapter *, struct listen_ctx *); 190 alloc_lctx(struct adapter *sc, struct inpcb *inp, struct port_info *pi) in alloc_lctx() 232 struct inpcb *inp = lctx->inp; in free_lctx() 286 listen_hash_find(struct adapter *sc, struct inpcb *inp) in listen_hash_find() 306 listen_hash_del(struct adapter *sc, struct inpcb *inp) in listen_hash_del() 330 static struct inpcb * 333 struct inpcb *inp = lctx->inp; in release_lctx() [all …]
|