Home
last modified time | relevance | path

Searched refs:inp_socket (Results 1 – 25 of 37) sorted by relevance

12

/src/sys/netinet/
H A Din_pcb.c334 if (inp->inp_socket->so_proto->pr_listen != pr_listen_notsupp && in in_pcblbgroup_insert()
335 !SOLISTENING(inp->inp_socket)) { in in_pcblbgroup_insert()
412 INP_CHECK_SOCKAF(inp->inp_socket, AF_INET6)) { in in_pcbinslbgrouphash()
646 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 Dudp_usrreq.c293 inp->inp_socket->so_options & (SO_TIMESTAMP | SO_BINTIME)) { in udp_append()
325 so = inp->inp_socket; in udp_append()
442 if ((inp->inp_socket->so_options & in udp_multi_input()
729 inp->inp_socket->so_error = errno; in udp_notify()
730 sorwakeup(inp->inp_socket); in udp_notify()
731 sowwakeup(inp->inp_socket); in udp_notify()
751 if (inp->inp_socket != NULL) in udp_common_ctlinput()
885 if (inp->inp_socket == NULL) in udp_getcred()
1292 pr = inp->inp_socket->so_proto->pr_protocol; in udp_send()
1436 if (inp->inp_socket->so_options & SO_DONTROUTE) in udp_send()
[all …]
H A Dip_input.c1139 if ((inp->inp_socket->so_options & SO_BINTIME) || in ip_savecontrol()
1140 CHECK_SO_CT(inp->inp_socket, SO_TS_BINTIME)) { in ip_savecontrol()
1160 if (CHECK_SO_CT(inp->inp_socket, SO_TS_REALTIME_MICRO)) { in ip_savecontrol()
1181 } else if (CHECK_SO_CT(inp->inp_socket, SO_TS_REALTIME)) { in ip_savecontrol()
1200 } else if (CHECK_SO_CT(inp->inp_socket, SO_TS_MONOTONIC)) { in ip_savecontrol()
H A Dsiftr.c691 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 Dtcp_timer.c356 tcp_fast_finwait2_recycle && inp->inp_socket && in tcp_timer_2msl()
357 (inp->inp_socket->so_rcv.sb_state & SBS_CANTRCVMORE)) { in tcp_timer_2msl()
415 inp->inp_socket->so_options & SO_KEEPALIVE) && in tcp_timer_keep()
H A Dtcp_usrreq.c203 KASSERT(so->so_pcb == inp && inp->inp_socket == so, in tcp_usr_detach()
1201 &inp->inp_socket->so_rcv, in tcp_usr_send()
1202 &inp->inp_socket->so_snd, in tcp_usr_send()
1277 KASSERT(inp->inp_socket != NULL, in tcp_usr_abort()
1315 KASSERT(inp->inp_socket != NULL, in tcp_usr_close()
1668 struct socket *so = inp->inp_socket; in tcp_ctloutput_set()
1836 struct socket *so = inp->inp_socket; in tcp_ctloutput_get()
2037 struct socket *so = inp->inp_socket; in tcp_default_ctloutput()
2048 KASSERT(inp->inp_socket != NULL, ("inp_socket == NULL")); in tcp_default_ctloutput()
H A Dtcp_timewait.c136 soisdisconnected(inp->inp_socket); in tcp_twstart()
H A Dsctp_lock_bsd.h495 (sctpinp)->ip_inp.inp.inp_socket
H A Dtoecore.c361 (void )syncache_add(inc, to, th, inp, inp->inp_socket, NULL, tod, in toe_syncache_add()
H A Din_mcast.c1743 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_getmoptions()
1744 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) { in inp_getmoptions()
2687 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_setmoptions()
2688 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) in inp_setmoptions()
/src/sys/netinet6/
H A Din6_pcb.c119 struct socket *so = inp->inp_socket; in in6_pcbsetport()
244 (inp->inp_socket->so_type != SOCK_STREAM || in in6_pcbbind_avail()
259 (inp->inp_socket->so_type != SOCK_STREAM || in in6_pcbbind_avail()
270 t->inp_socket->so_options) == 0) in in6_pcbbind_avail()
281 t->inp_socket->so_options) == 0 && in in6_pcbbind_avail()
296 struct socket *so = inp->inp_socket; in in6_pcbbind()
458 inp->inp_socket->so_proto->pr_protocol, &hash_type); in in6_pcbconnect()
677 inp->inp_socket != NULL && in in6_pcbnotify()
683 inp->inp_socket == 0 || in in6_pcbnotify()
H A Dudp6_usrreq.c192 inp->inp_socket->so_options & SO_TIMESTAMP) in udp6_append()
208 so = inp->inp_socket; in udp6_append()
331 if ((inp->inp_socket->so_options & in udp6_multi_input()
654 if (inp->inp_socket == NULL) in udp6_getcred()
658 inp->inp_socket); in udp6_getcred()
750 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_send()
948 pr = inp->inp_socket->so_proto->pr_protocol; in udp6_send()
H A Draw_ip6.c298 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 Dip6_input.c1144 if ((inp->inp_socket->so_options & (SO_TIMESTAMP | SO_BINTIME)) != 0) { in ip6_savecontrol_v4()
1155 ts_clock = inp->inp_socket->so_ts_clock; in ip6_savecontrol_v4()
1163 if ((inp->inp_socket->so_options & SO_BINTIME) != 0 || in ip6_savecontrol_v4()
1185 if ((inp->inp_socket->so_options & SO_TIMESTAMP) == 0) in ip6_savecontrol_v4()
1556 so = inp->inp_socket; in ip6_notify_pmtu()
H A Din6_mcast.c1796 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_getmoptions()
1797 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) { in ip6_getmoptions()
2678 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_setmoptions()
2679 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) in ip6_setmoptions()
H A Dicmp6.c1979 SOCKBUF_LOCK(&inp->inp_socket->so_rcv); in icmp6_rip6_input()
1980 if (sbappendaddr_locked(&inp->inp_socket->so_rcv, in icmp6_rip6_input()
1982 soroverflow_locked(inp->inp_socket); in icmp6_rip6_input()
1987 sorwakeup_locked(inp->inp_socket); in icmp6_rip6_input()
/src/sys/netinet/tcp_stacks/
H A Dbbr.c824 if ((V_tcp_always_keepalive || inp->inp_socket->so_options & SO_KEEPALIVE) && in bbr_start_hpts_timer()
978 inp->inp_socket->so_options & SO_KEEPALIVE) && in bbr_timer_audit()
1886 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_bw_reduce()
1887 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_bw_reduce()
1904 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_rwnd_collapse()
1905 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_rwnd_collapse()
1930 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_just_return()
1931 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_just_return()
1948 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_enter_rec()
1949 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_enter_rec()
[all …]
H A Drack.c761 &rack->rc_inp->inp_socket->so_rcv, in rack_log_gpset()
762 &rack->rc_inp->inp_socket->so_snd, in rack_log_gpset()
1980 &rack->rc_inp->inp_socket->so_rcv, in rack_log_hybrid_bw()
1981 &rack->rc_inp->inp_socket->so_snd, in rack_log_hybrid_bw()
2065 &rack->rc_inp->inp_socket->so_rcv, in rack_log_hybrid_sends()
2066 &rack->rc_inp->inp_socket->so_snd, in rack_log_hybrid_sends()
2413 &rack->rc_inp->inp_socket->so_rcv, in rack_log_dsack_event()
2414 &rack->rc_inp->inp_socket->so_snd, in rack_log_dsack_event()
2465 &rack->rc_inp->inp_socket->so_rcv, in rack_log_hdwr_pacing()
2466 &rack->rc_inp->inp_socket->so_snd, in rack_log_hdwr_pacing()
[all …]
/src/sys/dev/mlx5/mlx5_accel/
H A Dmlx5_ipsec.c590 if (inp->inp_socket == NULL || inp->inp_socket->so_proto-> in mlx5e_xfrm_validate_policy()
593 inp->inp_socket == NULL ? -1 : in mlx5e_xfrm_validate_policy()
594 inp->inp_socket->so_proto->pr_protocol); in mlx5e_xfrm_validate_policy()
/src/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c288 struct socket *so = inp->inp_socket; in send_reset()
362 struct socket *so = inp->inp_socket; in make_established()
422 struct socket *so = inp->inp_socket; in t4_rcvd_locked()
445 struct socket *so = inp->inp_socket; in t4_rcvd()
696 struct socket *so = inp->inp_socket; in t4_push_frames()
1452 struct socket *so = inp->inp_socket; in t4_push_pdus()
1700 so = inp->inp_socket; in do_peer_close()
1791 so = inp->inp_socket; in do_close_con_rpl()
1925 struct socket *so = inp->inp_socket; in do_abort_req()
2211 so = inp->inp_socket; in do_fw4_ack()
[all …]
H A Dt4_listen.c359 lctx->vnet = inp->inp_socket->so_vnet; in alloc_lctx()
1488 so = inp->inp_socket; in do_pass_accept_req()
1698 so = inp->inp_socket; in do_pass_establish()
/src/cddl/lib/libdtrace/
H A Dtcp.d253 p->t_inpcb.inp_socket->so_options & 1;
255 p->t_inpcb.inp_socket->so_user_cookie;
/src/sys/kern/
H A Duipc_ktls.c883 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()
1513 so = inp->inp_socket; in ktls_get_rx_sequence()
3373 so = inp->inp_socket; in ktls_disable_ifnet_help()
3426 so = inp->inp_socket; in ktls_disable_ifnet()
/src/sys/dev/cxgbe/cxgbei/
H A Dcxgbei.c526 so = inp->inp_socket; in do_rx_iscsi_ddp()
781 so = inp->inp_socket; in do_rx_iscsi_cmp()
/src/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_tcp.c131 switch (INP_SOCKAF(inp->inp_socket)) { in mlx5e_accel_fs_add_inpcb()

12