Home
last modified time | relevance | path

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

12

/freebsd/sys/netinet/
H A Dtcp_timer.c318 CURVNET_SET(inp->inp_socket->so_vnet); in tcp_timer_delack()
338 CURVNET_SET(inp->inp_socket->so_vnet); in tcp_timer_2msl()
356 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()
388 CURVNET_SET(inp->inp_socket->so_vnet); in tcp_timer_keep()
415 inp->inp_socket->so_options & SO_KEEPALIVE) && in tcp_timer_keep()
496 CURVNET_SET(inp->inp_socket->so_vnet); in tcp_timer_persist()
563 CURVNET_SET(inp->inp_socket->so_vnet); in tcp_timer_rexmt()
H A Din_pcb.c330 if (inp->inp_socket->so_proto->pr_listen != pr_listen_notsupp && in in_pcblbgroup_insert()
331 !SOLISTENING(inp->inp_socket)) { in in_pcblbgroup_insert()
408 INP_CHECK_SOCKAF(inp->inp_socket, AF_INET6)) { in in_pcbinslbgrouphash()
658 inp->inp_socket = so; in in_pcballoc()
958 (inp->inp_socket->so_type != SOCK_STREAM || in in_pcbbind_avail()
966 t->inp_socket->so_options) == 0) { in in_pcbbind_avail()
992 struct socket *so = inp->inp_socket; in in_pcbbind_setup_locked()
1094 MPASS(inp->inp_socket->so_options & SO_REUSEPORT_LB); in in_pcbbind()
1214 inp->inp_socket->so_proto->pr_protocol, &hash_type); in in_pcbconnect()
1284 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()
1291 pr = inp->inp_socket->so_proto->pr_protocol; in udp_send()
1430 if (inp->inp_socket->so_options & SO_DONTROUTE) in udp_send()
[all …]
H A Dip_input.c1149 if ((inp->inp_socket->so_options & SO_BINTIME) || in ip_savecontrol()
1150 CHECK_SO_CT(inp->inp_socket, SO_TS_BINTIME)) { in ip_savecontrol()
1170 if (CHECK_SO_CT(inp->inp_socket, SO_TS_REALTIME_MICRO)) { in ip_savecontrol()
1191 } else if (CHECK_SO_CT(inp->inp_socket, SO_TS_REALTIME)) { in ip_savecontrol()
1210 } else if (CHECK_SO_CT(inp->inp_socket, SO_TS_MONOTONIC)) { in ip_savecontrol()
H A Draw_ip.c169 struct socket *so = inp->inp_socket; in rip_append()
814 SOCK_LOCK(inp->inp_socket); in rip_dodisconnect()
815 inp->inp_socket->so_state &= ~SS_ISCONNECTED; in rip_dodisconnect()
816 SOCK_UNLOCK(inp->inp_socket); in rip_dodisconnect()
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_timewait.c137 soisdisconnected(inp->inp_socket); in tcp_twstart()
H A Dtcp_usrreq.c203 KASSERT(so->so_pcb == inp && inp->inp_socket == so, in tcp_usr_detach()
1161 &inp->inp_socket->so_rcv, in tcp_usr_send()
1162 &inp->inp_socket->so_snd, in tcp_usr_send()
1607 struct socket *so = inp->inp_socket; in tcp_ctloutput_set()
1775 struct socket *so = inp->inp_socket; in tcp_ctloutput_get()
1973 struct socket *so = inp->inp_socket; in tcp_default_ctloutput()
1984 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 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()
2688 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_setmoptions()
2689 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) in inp_setmoptions()
2706 if (!legal_vif_num(inp->inp_socket->so_fibnum, vifi) && in inp_setmoptions()
H A Dtoecore.c360 (void )syncache_add(inc, to, th, inp, inp->inp_socket, NULL, tod, in toe_syncache_add()
/freebsd/sys/netinet6/
H A Din6_pcb.c119 struct socket *so = inp->inp_socket; in in6_pcbsetport_locked()
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()
473 inp->inp_socket->so_proto->pr_protocol, &hash_type); in in6_pcbconnect()
544 if ((inp->inp_socket->so_proto->pr_flags & PR_CONNREQUIRED) == 0) { in in6_pcbdisconnect()
705 inp->inp_socket != NULL && in in6_pcbnotify()
711 inp->inp_socket == 0 || in in6_pcbnotify()
H A Dudp6_usrreq.c191 inp->inp_socket->so_options & SO_TIMESTAMP) in udp6_append()
207 so = inp->inp_socket; in udp6_append()
330 if ((inp->inp_socket->so_options & in udp6_multi_input()
653 if (inp->inp_socket == NULL) in udp6_getcred()
657 inp->inp_socket); in udp6_getcred()
749 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_send()
941 pr = inp->inp_socket->so_proto->pr_protocol; in udp6_send()
H A Draw_ip6.c297 inp->inp_socket->so_options & SO_TIMESTAMP) in rip6_input()
301 if (sbappendaddr(&inp->inp_socket->so_rcv, in rip6_input()
303 soroverflow(inp->inp_socket); in rip6_input()
309 sorwakeup(inp->inp_socket); in rip6_input()
H A Dip6_input.c1128 if ((inp->inp_socket->so_options & (SO_TIMESTAMP | SO_BINTIME)) != 0) { in ip6_savecontrol_v4()
1139 ts_clock = inp->inp_socket->so_ts_clock; in ip6_savecontrol_v4()
1147 if ((inp->inp_socket->so_options & SO_BINTIME) != 0 || in ip6_savecontrol_v4()
1169 if ((inp->inp_socket->so_options & SO_TIMESTAMP) == 0) in ip6_savecontrol_v4()
1540 so = inp->inp_socket; in ip6_notify_pmtu()
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()
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()
/freebsd/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 …]
/freebsd/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()
/freebsd/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()
2209 so = inp->inp_socket; in do_fw4_ack()
[all …]
/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/dev/cxgbe/cxgbei/
H A Dcxgbei.c526 so = inp->inp_socket; in do_rx_iscsi_ddp()
780 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()
/freebsd/sys/kern/
H A Duipc_ktls.c1494 struct socket *so = inp->inp_socket; in ktls_get_rx_sequence()
1800 CURVNET_SET(inp->inp_socket->so_vnet); in ktls_reset_send_tag()
2478 CURVNET_SET(inp->inp_socket->so_vnet); in ktls_drop()
3342 so = inp->inp_socket; in ktls_disable_ifnet_help()
3395 so = inp->inp_socket; in ktls_disable_ifnet()

12