Home
last modified time | relevance | path

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

12

/freebsd/sys/netinet/
H A Din_pcb.c335 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 Dudp_usrreq.c286 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 Dip_input.c1123 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 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.c357 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 Dtcp_timewait.c123 soisdisconnected(inp->inp_socket); in tcp_twstart()
H A Dtcp_usrreq.c205 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 Dsctp_lock_bsd.h495 (sctpinp)->ip_inp.inp.inp_socket
H A Dtoecore.c362 (void )syncache_add(inc, to, th, inp, inp->inp_socket, NULL, tod, in toe_syncache_add()
H A Din_mcast.c1745 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 Din6_pcb.c128 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 Dudp6_usrreq.c188 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 Draw_ip6.c299 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 Dip6_input.c1193 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 Din6_mcast.c1797 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 Dicmp6.c2008 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 Dbbr.c826 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 Drack.c779 &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 Dt4_cpl_io.c282 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 Dt4_listen.c359 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 Dmlx5_ipsec.c586 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 Dtcp.d253 p->t_inpcb.inp_socket->so_options & 1;
255 p->t_inpcb.inp_socket->so_user_cookie;
/freebsd/sys/kern/
H A Duipc_ktls.c881 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 Dcxgbei.c526 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 Dmlx5_fs_tcp.c131 switch (INP_SOCKAF(inp->inp_socket)) { in mlx5e_accel_fs_add_inpcb()

12