/freebsd/sys/netinet/ |
H A D | in_pcb.c | 335 if (inp->inp_socket->so_proto->pr_listen != pr_listen_notsupp && in in_pcblbgroup_insert() 336 !SOLISTENING(inp->inp_socket)) { in in_pcblbgroup_insert() 413 INP_CHECK_SOCKAF(inp->inp_socket, AF_INET6)) { in in_pcbinslbgrouphash() 647 inp->inp_socket = so; in in_pcballoc() 736 MPASS(inp->inp_socket->so_options & SO_REUSEPORT_LB); in in_pcbbind() 980 (inp->inp_socket->so_type != SOCK_STREAM || in in_pcbbind_avail() 988 t->inp_socket->so_options) == 0) { in in_pcbbind_avail() 1014 struct socket *so = inp->inp_socket; in in_pcbbind_setup() 1176 inp->inp_socket->so_proto->pr_protocol, &hash_type); in in_pcbconnect() 1247 if ((inp->inp_socket->so_options & SO_DONTROUTE) == 0) in in_pcbladdr() [all …]
|
H A D | udp_usrreq.c | 294 inp->inp_socket->so_options & (SO_TIMESTAMP | SO_BINTIME)) { in udp_append() 326 so = inp->inp_socket; in udp_append() 443 if ((inp->inp_socket->so_options & in udp_multi_input() 730 inp->inp_socket->so_error = errno; in udp_notify() 731 sorwakeup(inp->inp_socket); in udp_notify() 732 sowwakeup(inp->inp_socket); in udp_notify() 752 if (inp->inp_socket != NULL) in udp_common_ctlinput() 880 if (inp->inp_socket == NULL) in udp_getcred() 1258 pr = inp->inp_socket->so_proto->pr_protocol; in udp_send() 1402 if (inp->inp_socket->so_options & SO_DONTROUTE) in udp_send() [all …]
|
H A D | ip_input.c | 1123 if ((inp->inp_socket->so_options & SO_BINTIME) || in ip_savecontrol() 1124 CHECK_SO_CT(inp->inp_socket, SO_TS_BINTIME)) { in ip_savecontrol() 1144 if (CHECK_SO_CT(inp->inp_socket, SO_TS_REALTIME_MICRO)) { in ip_savecontrol() 1165 } else if (CHECK_SO_CT(inp->inp_socket, SO_TS_REALTIME)) { in ip_savecontrol() 1184 } else if (CHECK_SO_CT(inp->inp_socket, SO_TS_MONOTONIC)) { in ip_savecontrol()
|
H A D | siftr.c | 691 pn->snd_buf_hiwater = inp->inp_socket->so_snd.sb_hiwat; in siftr_siftdata() 692 pn->snd_buf_cc = sbused(&inp->inp_socket->so_snd); in siftr_siftdata() 693 pn->rcv_buf_hiwater = inp->inp_socket->so_rcv.sb_hiwat; in siftr_siftdata() 694 pn->rcv_buf_cc = sbused(&inp->inp_socket->so_rcv); in siftr_siftdata()
|
H A D | tcp_timer.c | 357 tcp_fast_finwait2_recycle && inp->inp_socket && in tcp_timer_2msl() 358 (inp->inp_socket->so_rcv.sb_state & SBS_CANTRCVMORE)) { in tcp_timer_2msl() 416 inp->inp_socket->so_options & SO_KEEPALIVE) && in tcp_timer_keep()
|
H A D | tcp_usrreq.c | 202 KASSERT(so->so_pcb == inp && inp->inp_socket == so, in tcp_usr_detach() 1200 &inp->inp_socket->so_rcv, in tcp_usr_send() 1201 &inp->inp_socket->so_snd, in tcp_usr_send() 1276 KASSERT(inp->inp_socket != NULL, in tcp_usr_abort() 1314 KASSERT(inp->inp_socket != NULL, in tcp_usr_close() 1659 struct socket *so = inp->inp_socket; in tcp_ctloutput_set() 1827 struct socket *so = inp->inp_socket; in tcp_ctloutput_get() 2028 struct socket *so = inp->inp_socket; in tcp_default_ctloutput() 2039 KASSERT(inp->inp_socket != NULL, ("inp_socket == NULL")); in tcp_default_ctloutput()
|
H A D | tcp_timewait.c | 163 soisdisconnected(inp->inp_socket); in tcp_twstart()
|
H A D | sctp_lock_bsd.h | 495 (sctpinp)->ip_inp.inp.inp_socket
|
H A D | toecore.c | 362 (void )syncache_add(inc, to, th, inp, inp->inp_socket, NULL, tod, in toe_syncache_add()
|
H A D | in_mcast.c | 1745 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_getmoptions() 1746 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) { in inp_getmoptions() 2705 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_setmoptions() 2706 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) in inp_setmoptions()
|
/freebsd/sys/netinet6/ |
H A D | in6_pcb.c | 128 struct socket *so = inp->inp_socket; in in6_pcbsetport() 253 (inp->inp_socket->so_type != SOCK_STREAM || in in6_pcbbind_avail() 268 (inp->inp_socket->so_type != SOCK_STREAM || in in6_pcbbind_avail() 279 t->inp_socket->so_options) == 0) in in6_pcbbind_avail() 290 t->inp_socket->so_options) == 0 && in in6_pcbbind_avail() 305 struct socket *so = inp->inp_socket; in in6_pcbbind() 485 inp->inp_socket->so_proto->pr_protocol, &hash_type); in in6_pcbconnect() 704 inp->inp_socket != NULL && in in6_pcbnotify() 710 inp->inp_socket == 0 || in in6_pcbnotify()
|
H A D | udp6_usrreq.c | 193 inp->inp_socket->so_options & SO_TIMESTAMP) in udp6_append() 209 so = inp->inp_socket; in udp6_append() 332 if ((inp->inp_socket->so_options & in udp6_multi_input() 655 if (inp->inp_socket == NULL) in udp6_getcred() 659 inp->inp_socket); in udp6_getcred() 756 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_send() 943 pr = inp->inp_socket->so_proto->pr_protocol; in udp6_send()
|
H A D | raw_ip6.c | 298 inp->inp_socket->so_options & SO_TIMESTAMP) in rip6_input() 302 if (sbappendaddr(&inp->inp_socket->so_rcv, in rip6_input() 304 soroverflow(inp->inp_socket); in rip6_input() 310 sorwakeup(inp->inp_socket); in rip6_input()
|
H A D | ip6_input.c | 1201 if ((inp->inp_socket->so_options & (SO_TIMESTAMP | SO_BINTIME)) != 0) { in ip6_savecontrol_v4() 1212 ts_clock = inp->inp_socket->so_ts_clock; in ip6_savecontrol_v4() 1220 if ((inp->inp_socket->so_options & SO_BINTIME) != 0 || in ip6_savecontrol_v4() 1242 if ((inp->inp_socket->so_options & SO_TIMESTAMP) == 0) in ip6_savecontrol_v4() 1613 so = inp->inp_socket; in ip6_notify_pmtu()
|
H A D | in6_mcast.c | 1797 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_getmoptions() 1798 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) { in ip6_getmoptions() 2676 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_setmoptions() 2677 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) in ip6_setmoptions()
|
H A D | icmp6.c | 1980 SOCKBUF_LOCK(&inp->inp_socket->so_rcv); in icmp6_rip6_input() 1981 if (sbappendaddr_locked(&inp->inp_socket->so_rcv, in icmp6_rip6_input() 1983 soroverflow_locked(inp->inp_socket); in icmp6_rip6_input() 1988 sorwakeup_locked(inp->inp_socket); in icmp6_rip6_input()
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | bbr.c | 824 if ((V_tcp_always_keepalive || inp->inp_socket->so_options & SO_KEEPALIVE) && in bbr_start_hpts_timer() 980 inp->inp_socket->so_options & SO_KEEPALIVE) && in bbr_timer_audit() 1888 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_bw_reduce() 1889 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_bw_reduce() 1906 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_rwnd_collapse() 1907 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_rwnd_collapse() 1932 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_just_return() 1933 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_just_return() 1950 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_enter_rec() 1951 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_enter_rec() [all …]
|
H A D | rack.c | 777 &rack->rc_inp->inp_socket->so_rcv, in rack_log_gpset() 778 &rack->rc_inp->inp_socket->so_snd, in rack_log_gpset() 2106 &rack->rc_inp->inp_socket->so_rcv, in rack_log_hybrid_bw() 2107 &rack->rc_inp->inp_socket->so_snd, in rack_log_hybrid_bw() 2191 &rack->rc_inp->inp_socket->so_rcv, in rack_log_hybrid_sends() 2192 &rack->rc_inp->inp_socket->so_snd, in rack_log_hybrid_sends() 2539 &rack->rc_inp->inp_socket->so_rcv, in rack_log_dsack_event() 2540 &rack->rc_inp->inp_socket->so_snd, in rack_log_dsack_event() 2591 &rack->rc_inp->inp_socket->so_rcv, in rack_log_hdwr_pacing() 2592 &rack->rc_inp->inp_socket->so_snd, in rack_log_hdwr_pacing() [all …]
|
/freebsd/sys/dev/mlx5/mlx5_accel/ |
H A D | mlx5_ipsec.c | 586 if (inp->inp_socket == NULL || inp->inp_socket->so_proto-> in mlx5e_xfrm_validate_policy() 589 inp->inp_socket == NULL ? -1 : in mlx5e_xfrm_validate_policy() 590 inp->inp_socket->so_proto->pr_protocol); in mlx5e_xfrm_validate_policy()
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_cpl_io.c | 286 struct socket *so = inp->inp_socket; in send_reset() 360 struct socket *so = inp->inp_socket; in make_established() 420 struct socket *so = inp->inp_socket; in t4_rcvd_locked() 443 struct socket *so = inp->inp_socket; in t4_rcvd() 694 struct socket *so = inp->inp_socket; in t4_push_frames() 1216 struct socket *so = inp->inp_socket; in t4_push_pdus() 1460 so = inp->inp_socket; in do_peer_close() 1550 so = inp->inp_socket; in do_close_con_rpl() 1684 struct socket *so = inp->inp_socket; in do_abort_req() 1970 so = inp->inp_socket; in do_fw4_ack() [all …]
|
H A D | t4_listen.c | 359 lctx->vnet = inp->inp_socket->so_vnet; in alloc_lctx() 1487 so = inp->inp_socket; in do_pass_accept_req() 1695 so = inp->inp_socket; in do_pass_establish()
|
/freebsd/cddl/lib/libdtrace/ |
H A D | tcp.d | 253 p->t_inpcb.inp_socket->so_options & 1; 255 p->t_inpcb.inp_socket->so_user_cookie;
|
/freebsd/sys/kern/ |
H A D | uipc_ktls.c | 883 if (inp->inp_socket == NULL) { in ktls_try_toe() 934 if (inp->inp_socket == NULL) { in ktls_alloc_snd_tag() 1034 if (inp->inp_socket == NULL) { in ktls_alloc_rcv_tag() 1510 so = inp->inp_socket; in ktls_get_rx_sequence() 3370 so = inp->inp_socket; in ktls_disable_ifnet_help() 3423 so = inp->inp_socket; in ktls_disable_ifnet()
|
/freebsd/sys/dev/cxgbe/cxgbei/ |
H A D | cxgbei.c | 526 so = inp->inp_socket; in do_rx_iscsi_ddp() 781 so = inp->inp_socket; in do_rx_iscsi_cmp()
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fs_tcp.c | 131 switch (INP_SOCKAF(inp->inp_socket)) { in mlx5e_accel_fs_add_inpcb()
|