| /freebsd-14.2/sys/netinet/ |
| H A D | in_pcb.h | 68 CK_LIST_HEAD(inpcbhead, inpcb); 169 struct inpcb { struct 408 struct inpcb *inp = mem; \ 469 void inp_wlock(struct inpcb *); 471 void inp_rlock(struct inpcb *); 682 struct inpcb * 685 struct inpcb * 689 int, struct inpcb *(*)(struct inpcb *, int)); 690 void in_pcbref(struct inpcb *); 700 struct inpcb *inp; [all …]
|
| H A D | in_pcb_var.h | 49 void inp_lock(struct inpcb *inp, const inp_lookup_t lock); 50 void inp_unlock(struct inpcb *inp, const inp_lookup_t lock); 51 int inp_trylock(struct inpcb *inp, const inp_lookup_t lock); 52 bool inp_smr_lock(struct inpcb *, const inp_lookup_t); 53 int in_pcb_lport(struct inpcb *, struct in_addr *, u_short *, 55 int in_pcb_lport_dest(struct inpcb *inp, struct sockaddr *lsa, 58 struct inpcb * in_pcblookup_local(struct inpcbinfo *, struct in_addr, u_short,
|
| H A D | in_pcb.c | 597 struct inpcb *inp; in in_pcballoc() 953 struct inpcb *t; in in_pcbbind_setup() 1543 struct inpcb * 1551 struct inpcb *inp; in inp_next() 1852 struct inpcb *inp; in in_getsockaddr() 1871 struct inpcb *inp; in in_getpeeraddr() 1889 struct inpcb *(*notify)(struct inpcb *, int)) in in_pcbnotifyall() argument 1971 struct inpcb * 2469 struct inpcb * 2478 struct inpcb * [all …]
|
| H A D | raw_ip.c | 305 struct inpcb *inp; in rip_input() 411 struct inpcb *inp; in rip_send() 815 struct inpcb *inp; in rip_attach() 845 struct inpcb *inp; in rip_detach() 889 struct inpcb *inp; in rip_abort() 900 struct inpcb *inp; in rip_close() 911 struct inpcb *inp; in rip_disconnect() 927 struct inpcb *inp; in rip_bind() 963 struct inpcb *inp; in rip_connect() 989 struct inpcb *inp; in rip_shutdown() [all …]
|
| H A D | udp_var.h | 100 typedef bool udp_tun_func_t(struct mbuf *, int, struct inpcb *, 112 struct inpcb u_inpcb; 172 struct inpcb *udp_notify(struct inpcb *inp, int errno);
|
| H A D | ip_var.h | 180 struct inpcb; 211 int inp_getmoptions(struct inpcb *, struct sockopt *); 212 int inp_setmoptions(struct inpcb *, struct sockopt *); 223 struct inpcb *); 226 void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *,
|
| H A D | in_systm.h | 59 struct inpcb; 62 int cr_canseeinpcb(struct ucred *cred, struct inpcb *inp);
|
| H A D | udp_usrreq.c | 362 struct inpcb *inp; in udp_multi_input() 452 struct inpcb *inp; in udp_input() 684 struct inpcb * 707 struct inpcb *inp; in udp_common_ctlinput() 758 struct inpcb *inp; in udp_pcblist() 827 struct inpcb *inp; in udp_getcred() 866 struct inpcb *inp; in udp_ctloutput() 1050 struct inpcb *inp; in udp_send() 1471 struct inpcb *inp; in udp_abort() 1492 struct inpcb *inp; in udp_attach() [all …]
|
| H A D | tcp_timer.c | 231 inp_to_cpuid(struct inpcb *inp) in inp_to_cpuid() 315 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_delack() 335 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_2msl() 385 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_keep() 492 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_persist() 556 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_rexmt() 864 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_enter() 900 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_activate() 956 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_stop()
|
| H A D | toecore.c | 213 toe_listen_start(struct inpcb *inp, void *arg) in toe_listen_start() 241 struct inpcb *inp = tptoinpcb(tp); in toe_listen_start_event() 255 struct inpcb *inp = tptoinpcb(tp); in toe_listen_stop_event() 357 struct inpcb *inp, void *tod, void *todctx, uint8_t iptos) in toe_syncache_add() 387 struct inpcb *inp; in toe_4tuple_check() 512 toe_connect_failed(struct toedev *tod, struct inpcb *inp, int err) in toe_connect_failed()
|
| /freebsd-14.2/sys/netinet6/ |
| H A D | in6_pcb.h | 74 void in6_losing(struct inpcb *); 78 void in6_pcbdisconnect(struct inpcb *); 79 struct inpcb * 83 struct inpcb * 88 struct inpcb * 92 struct inpcb * 98 struct inpcb *(*)(struct inpcb *, int)); 99 struct inpcb * 100 in6_rtchange(struct inpcb *, int); 109 int in6_selecthlim(struct inpcb *, struct ifnet *); [all …]
|
| H A D | in6_pcb.c | 250 struct inpcb *t; in in6_pcbbind() 557 struct inpcb *inp; in in6_getsockaddr() 576 struct inpcb *inp; in in6_getpeeraddr() 597 struct inpcb *inp; in in6_mapped_sockaddr() 621 struct inpcb *inp; in in6_mapped_peeraddr() 660 struct inpcb *(*notify)(struct inpcb *, int)) in in6_pcbnotify() argument 723 struct inpcb * 881 struct inpcb * 1127 struct inpcb * 1248 struct inpcb * [all …]
|
| H A D | raw_ip6.c | 189 struct inpcb *inp; in rip6_input() 344 struct inpcb *inp; in rip6_send() 647 struct inpcb *inp; in rip6_attach() 670 inp = (struct inpcb *)so->so_pcb; in rip6_attach() 682 struct inpcb *inp; in rip6_detach() 699 struct inpcb *inp __diagused; in rip6_abort() 710 struct inpcb *inp __diagused; in rip6_close() 721 struct inpcb *inp; in rip6_disconnect() 737 struct inpcb *inp; in rip6_bind() 781 struct inpcb *inp; in rip6_connect() [all …]
|
| H A D | ip6_var.h | 342 struct inpcb; 361 struct mbuf **ip6_savecontrol_v4(struct inpcb *, struct mbuf *, 363 void ip6_savecontrol(struct inpcb *, struct mbuf *, struct mbuf **); 364 void ip6_notify_pmtu(struct inpcb *, struct sockaddr_in6 *, u_int32_t); 374 struct inpcb *); 382 int ip6_optlen(struct inpcb *); 403 struct inpcb *, struct ucred *, int, struct in6_addr *, int *);
|
| H A D | udp6_usrreq.c | 244 struct inpcb *inp; in udp6_multi_input() 346 struct inpcb *inp; in udp6_input() 546 struct inpcb *inp; in udp6_common_ctlinput() 606 struct inpcb *inp; in udp6_getcred() 655 struct inpcb *inp; in udp6_send() 958 struct inpcb *inp; in udp6_abort() 987 struct inpcb *inp; in udp6_attach() 1022 struct inpcb *inp; in udp6_bind() 1073 struct inpcb *inp; in udp6_close() 1101 struct inpcb *inp; in udp6_connect() [all …]
|
| /freebsd-14.2/sys/netipsec/ |
| H A D | ipsec_support.h | 33 struct inpcb; 47 size_t ipsec_hdrsiz_inpcb(struct inpcb *); 48 int ipsec_init_pcbpolicy(struct inpcb *); 49 int ipsec_delete_pcbpolicy(struct inpcb *); 50 int ipsec_copy_pcbpolicy(struct inpcb *, struct inpcb *); 59 int ipsec4_output(struct mbuf *, struct inpcb *); 69 int ipsec6_output(struct mbuf *, struct inpcb *); 78 int (*output)(struct mbuf *, struct inpcb *); 80 size_t (*hdrsize)(struct inpcb *); 186 struct inpcb *); [all …]
|
| H A D | ipsec6.h | 62 struct inpcb; 64 struct inpcb *, int *, int); 70 int ipsec6_process_packet(struct mbuf *, struct secpolicy *, struct inpcb *); 73 int ip6_ipsec_pcbctl(struct inpcb *, struct sockopt *);
|
| H A D | ipsec_pcb.c | 56 ipsec_setsockaddrs_inpcb(struct inpcb *inp, union sockaddr_union *src, in ipsec_setsockaddrs_inpcb() 127 ipsec_setspidx_inpcb(struct inpcb *inp, struct secpolicyindex *spidx, in ipsec_setspidx_inpcb() 152 ipsec_init_pcbpolicy(struct inpcb *inp) in ipsec_init_pcbpolicy() 167 ipsec_delete_pcbpolicy(struct inpcb *inp) in ipsec_delete_pcbpolicy() 227 ipsec_copy_pcbpolicy(struct inpcb *old, struct inpcb *new) in ipsec_copy_pcbpolicy() 270 ipsec_set_pcbpolicy(struct inpcb *inp, struct ucred *cred, in ipsec_set_pcbpolicy() 358 ipsec_get_pcbpolicy(struct inpcb *inp, void *request, size_t *len) in ipsec_get_pcbpolicy() 416 ipsec_control_pcbpolicy(struct inpcb *inp, struct sockopt *sopt) in ipsec_control_pcbpolicy() 459 ipsec4_pcbctl(struct inpcb *inp, struct sockopt *sopt) in ipsec4_pcbctl() 473 ipsec6_pcbctl(struct inpcb *inp, struct sockopt *sopt) in ipsec6_pcbctl()
|
| H A D | subr_ipsec.c | 298 pcbctl, METHOD_DECL(struct tcpmd5_support * const sc, struct inpcb *inp, in IPSEC_KMOD_METHOD() 339 udp_pcbctl, METHOD_DECL(struct ipsec_support * const sc, struct inpcb *inp, 359 struct inpcb *inp), METHOD_ARGS(m, inp) in IPSEC_KMOD_METHOD() 374 struct inpcb *inp), METHOD_ARGS(m, inp) in IPSEC_KMOD_METHOD() 378 pcbctl, METHOD_DECL(struct ipsec_support * const sc, struct inpcb *inp, in IPSEC_KMOD_METHOD() 383 hdrsize, METHOD_DECL(struct ipsec_support * const sc, struct inpcb *inp), in IPSEC_KMOD_METHOD()
|
| H A D | ipsec.h | 309 struct inpcb; 320 struct secpolicy *ipsec4_checkpolicy(const struct mbuf *, struct inpcb *, 334 void ipsec_setspidx_inpcb(struct inpcb *, struct secpolicyindex *, u_int); 340 int ipsec4_process_packet(struct mbuf *, struct secpolicy *, struct inpcb *);
|
| /freebsd-14.2/usr.bin/systat/ |
| H A D | netstat.c | 174 struct inpcb *next; in fetchnetstat_kvm() 177 struct inpcb inpcb; in fetchnetstat_kvm() local 202 KREAD(next, &inpcb, sizeof (inpcb)); in fetchnetstat_kvm() 203 next = &inpcb; in fetchnetstat_kvm() 205 if (inpcb.inp_vflag & INP_IPV4) { in fetchnetstat_kvm() 206 if (inpcb.inp_laddr.s_addr == INADDR_ANY) in fetchnetstat_kvm() 210 else if (inpcb.inp_vflag & INP_IPV6) { in fetchnetstat_kvm() 211 if (memcmp(&inpcb.in6p_laddr, in fetchnetstat_kvm() 217 if (nhosts && !checkhost(&inpcb.inp_inc)) in fetchnetstat_kvm() 219 if (nports && !checkport(&inpcb.inp_inc)) in fetchnetstat_kvm() [all …]
|
| /freebsd-14.2/sys/net/ |
| H A D | pfil.h | 92 struct inpcb; 102 void *, struct inpcb *); 178 struct inpcb *inp); 180 struct inpcb *inp); 182 struct inpcb *);
|
| /freebsd-14.2/sys/security/mac/ |
| H A D | mac_inet.c | 97 mac_inpcb_init(struct inpcb *inp, int flag) in mac_inpcb_init() 164 mac_inpcb_destroy(struct inpcb *inp) in mac_inpcb_destroy() 192 mac_inpcb_create(struct socket *so, struct inpcb *inp) in mac_inpcb_create() 242 mac_inpcb_create_mbuf(struct inpcb *inp, struct mbuf *m) in mac_inpcb_create_mbuf() 366 mac_inpcb_check_deliver(struct inpcb *inp, struct mbuf *m) in mac_inpcb_check_deliver() 389 mac_inpcb_check_visible(struct ucred *cred, struct inpcb *inp) in mac_inpcb_check_visible() 403 mac_inpcb_sosetlabel(struct socket *so, struct inpcb *inp) in mac_inpcb_sosetlabel() 497 mac_syncache_create(struct label *label, struct inpcb *inp) in mac_syncache_create()
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_core/ |
| H A D | fs_tcp.h | 29 struct inpcb; 37 struct inpcb *, uint32_t tirn, uint32_t flow_tag, uint16_t vlan_id);
|
| /freebsd-14.2/sys/dev/cxgbe/tom/ |
| H A D | t4_listen.c | 339 struct inpcb *inp = lctx->inp; in free_lctx() 434 static struct inpcb * 437 struct inpcb *inp = lctx->inp; in release_lctx() 537 struct inpcb *inp = lctx->inp; in create_server() 565 struct inpcb *inp = lctx->inp; in create_server6() 773 static inline struct inpcb * 776 struct inpcb *inp; in release_synqe() 855 struct inpcb *inp = lctx->inp; in do_pass_open_rpl() 931 struct inpcb *inp = lctx->inp; in do_close_server_rpl() 962 struct inpcb *inp = lctx->inp; in done_with_synqe() [all …]
|