/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 | 286 inp->inp_socket->so_options & (SO_TIMESTAMP | SO_BINTIME)) { in udp_append() 318 so = inp->inp_socket; in udp_append() 435 if ((inp->inp_socket->so_options & in udp_multi_input() 712 inp->inp_socket->so_error = errno; in udp_notify() 713 sorwakeup(inp->inp_socket); in udp_notify() 714 sowwakeup(inp->inp_socket); in udp_notify() 734 if (inp->inp_socket != NULL) in udp_common_ctlinput() 862 if (inp->inp_socket == NULL) in udp_getcred() 1240 pr = inp->inp_socket->so_proto->pr_protocol; in udp_send() 1384 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_timewait.c | 123 soisdisconnected(inp->inp_socket); in tcp_twstart()
|
H A D | tcp_usrreq.c | 205 KASSERT(so->so_pcb == inp && inp->inp_socket == so, in tcp_usr_detach() 1203 &inp->inp_socket->so_rcv, in tcp_usr_send() 1204 &inp->inp_socket->so_snd, in tcp_usr_send() 1279 KASSERT(inp->inp_socket != NULL, in tcp_usr_abort() 1317 KASSERT(inp->inp_socket != NULL, in tcp_usr_close() 1655 struct socket *so = inp->inp_socket; in tcp_ctloutput_set() 1823 struct socket *so = inp->inp_socket; in tcp_ctloutput_get() 2024 struct socket *so = inp->inp_socket; in tcp_default_ctloutput() 2035 KASSERT(inp->inp_socket != NULL, ("inp_socket == NULL")); in tcp_default_ctloutput()
|
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() 254 (inp->inp_socket->so_type != SOCK_STREAM || in in6_pcbbind_avail() 269 (inp->inp_socket->so_type != SOCK_STREAM || in in6_pcbbind_avail() 280 t->inp_socket->so_options) == 0) in in6_pcbbind_avail() 291 t->inp_socket->so_options) == 0 && in in6_pcbbind_avail() 306 struct socket *so = inp->inp_socket; in in6_pcbbind() 486 inp->inp_socket->so_proto->pr_protocol, &hash_type); in in6_pcbconnect() 705 inp->inp_socket != NULL && in in6_pcbnotify() 711 inp->inp_socket == 0 || in in6_pcbnotify()
|
H A D | udp6_usrreq.c | 188 inp->inp_socket->so_options & SO_TIMESTAMP) in udp6_append() 204 so = inp->inp_socket; in udp6_append() 327 if ((inp->inp_socket->so_options & in udp6_multi_input() 644 if (inp->inp_socket == NULL) in udp6_getcred() 648 inp->inp_socket); in udp6_getcred() 745 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_send() 928 pr = inp->inp_socket->so_proto->pr_protocol; in udp6_send()
|
H A D | raw_ip6.c | 299 inp->inp_socket->so_options & SO_TIMESTAMP) in rip6_input() 303 if (sbappendaddr(&inp->inp_socket->so_rcv, in rip6_input() 305 soroverflow(inp->inp_socket); in rip6_input() 311 sorwakeup(inp->inp_socket); in rip6_input()
|
H A D | ip6_input.c | 1193 if ((inp->inp_socket->so_options & SO_TIMESTAMP) != 0) { in ip6_savecontrol_v4() 1204 switch (inp->inp_socket->so_ts_clock) { in ip6_savecontrol_v4() 1586 so = inp->inp_socket;
|
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 | 2008 SOCKBUF_LOCK(&inp->inp_socket->so_rcv); in icmp6_rip6_input() 2009 if (sbappendaddr_locked(&inp->inp_socket->so_rcv, in icmp6_rip6_input() 2011 soroverflow_locked(inp->inp_socket); in icmp6_rip6_input() 2016 sorwakeup_locked(inp->inp_socket); in icmp6_rip6_input()
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | bbr.c | 826 if ((V_tcp_always_keepalive || inp->inp_socket->so_options & SO_KEEPALIVE) && in bbr_start_hpts_timer() 982 inp->inp_socket->so_options & SO_KEEPALIVE) && in bbr_timer_audit() 1890 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_bw_reduce() 1891 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_bw_reduce() 1908 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_rwnd_collapse() 1909 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_rwnd_collapse() 1934 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_just_return() 1935 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_just_return() 1952 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_enter_rec() 1953 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_enter_rec() [all …]
|
H A D | rack.c | 779 &rack->rc_inp->inp_socket->so_rcv, in rack_log_gpset() 780 &rack->rc_inp->inp_socket->so_snd, in rack_log_gpset() 2108 &rack->rc_inp->inp_socket->so_rcv, in rack_log_hybrid_bw() 2109 &rack->rc_inp->inp_socket->so_snd, in rack_log_hybrid_bw() 2193 &rack->rc_inp->inp_socket->so_rcv, in rack_log_hybrid_sends() 2194 &rack->rc_inp->inp_socket->so_snd, in rack_log_hybrid_sends() 2541 &rack->rc_inp->inp_socket->so_rcv, in rack_log_dsack_event() 2542 &rack->rc_inp->inp_socket->so_snd, in rack_log_dsack_event() 2593 &rack->rc_inp->inp_socket->so_rcv, in rack_log_hdwr_pacing() 2594 &rack->rc_inp->inp_socket->so_snd, in rack_log_hdwr_pacing() [all …]
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_cpl_io.c | 282 struct socket *so = inp->inp_socket; in send_reset() 356 struct socket *so = inp->inp_socket; in make_established() 416 struct socket *so = inp->inp_socket; in t4_rcvd_locked() 439 struct socket *so = inp->inp_socket; in t4_rcvd() 645 struct socket *so = inp->inp_socket; in t4_push_frames() 1149 struct socket *so = inp->inp_socket; in t4_push_pdus() 1362 so = inp->inp_socket; in do_peer_close() 1452 so = inp->inp_socket; in do_close_con_rpl() 1586 struct socket *so = inp->inp_socket; in do_abort_req() 1872 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/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/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 | 881 if (inp->inp_socket == NULL) { in ktls_try_toe() 932 if (inp->inp_socket == NULL) { in ktls_alloc_snd_tag() 1032 if (inp->inp_socket == NULL) { in ktls_alloc_rcv_tag() 1500 so = inp->inp_socket; in ktls_get_rx_sequence() 3360 so = inp->inp_socket; in ktls_disable_ifnet_help() 3413 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()
|