Home
last modified time | relevance | path

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

12

/freebsd-14-stable/sys/netinet/
HDin_pcb.c367 INP_CHECK_SOCKAF(inp->inp_socket, AF_INET6)) { in in_pcbinslbgrouphash()
615 inp->inp_socket = so; in in_pcballoc()
947 (inp->inp_socket->so_type != SOCK_STREAM || in in_pcbbind_avail()
955 t->inp_socket->so_options) == 0) { in in_pcbbind_avail()
981 struct socket *so = inp->inp_socket; in in_pcbbind_setup()
1136 if ((inp->inp_socket->so_options & SO_DONTROUTE) == 0) in in_pcbladdr()
1153 inp->inp_socket->so_fibnum)); in in_pcbladdr()
1156 inp->inp_socket->so_fibnum)); in in_pcbladdr()
1258 inp->inp_socket->so_fibnum)); in in_pcbladdr()
1261 inp->inp_socket->so_fibnum)); in in_pcbladdr()
[all …]
HDudp_usrreq.c288 inp->inp_socket->so_options & (SO_TIMESTAMP | SO_BINTIME)) { in udp_append()
320 so = inp->inp_socket; in udp_append()
437 if ((inp->inp_socket->so_options & in udp_multi_input()
714 inp->inp_socket->so_error = errno; in udp_notify()
715 sorwakeup(inp->inp_socket); in udp_notify()
716 sowwakeup(inp->inp_socket); in udp_notify()
736 if (inp->inp_socket != NULL) in udp_common_ctlinput()
864 if (inp->inp_socket == NULL) in udp_getcred()
1217 pr = inp->inp_socket->so_proto->pr_protocol; in udp_send()
1390 if (inp->inp_socket->so_options & SO_DONTROUTE) in udp_send()
[all …]
HDip_input.c1119 if ((inp->inp_socket->so_options & SO_BINTIME) || in ip_savecontrol()
1120 CHECK_SO_CT(inp->inp_socket, SO_TS_BINTIME)) { in ip_savecontrol()
1140 if (CHECK_SO_CT(inp->inp_socket, SO_TS_REALTIME_MICRO)) { in ip_savecontrol()
1161 } else if (CHECK_SO_CT(inp->inp_socket, SO_TS_REALTIME)) { in ip_savecontrol()
1180 } else if (CHECK_SO_CT(inp->inp_socket, SO_TS_MONOTONIC)) { in ip_savecontrol()
HDsiftr.c665 pn->snd_buf_hiwater = inp->inp_socket->so_snd.sb_hiwat; in siftr_siftdata()
666 pn->snd_buf_cc = sbused(&inp->inp_socket->so_snd); in siftr_siftdata()
667 pn->rcv_buf_hiwater = inp->inp_socket->so_rcv.sb_hiwat; in siftr_siftdata()
668 pn->rcv_buf_cc = sbused(&inp->inp_socket->so_rcv); in siftr_siftdata()
HDtcp_timer.c359 tcp_fast_finwait2_recycle && inp->inp_socket && in tcp_timer_2msl()
360 (inp->inp_socket->so_rcv.sb_state & SBS_CANTRCVMORE)) { in tcp_timer_2msl()
418 inp->inp_socket->so_options & SO_KEEPALIVE) && in tcp_timer_keep()
HDtcp_timewait.c124 soisdisconnected(inp->inp_socket); in tcp_twstart()
HDtcp_usrreq.c207 KASSERT(so->so_pcb == inp && inp->inp_socket == so, in tcp_usr_detach()
1186 &inp->inp_socket->so_rcv, in tcp_usr_send()
1187 &inp->inp_socket->so_snd, in tcp_usr_send()
1262 KASSERT(inp->inp_socket != NULL, in tcp_usr_abort()
1300 KASSERT(inp->inp_socket != NULL, in tcp_usr_close()
1637 struct socket *so = inp->inp_socket; in tcp_ctloutput_set()
1805 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()
HDsctp_lock_bsd.h495 (sctpinp)->ip_inp.inp.inp_socket
HDtoecore.c362 (void )syncache_add(inc, to, th, inp, inp->inp_socket, NULL, tod, in toe_syncache_add()
HDin_mcast.c1746 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_getmoptions()
1747 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) { in inp_getmoptions()
2706 if (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_setmoptions()
2707 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM) in inp_setmoptions()
HDin_pcb.h183 struct socket *inp_socket; /* (i) back pointer to socket */ member
/freebsd-14-stable/sys/netinet6/
HDin6_pcb.c130 struct socket *so = inp->inp_socket; in in6_pcbsetport()
256 (inp->inp_socket->so_type != SOCK_STREAM || in in6_pcbbind_avail()
271 (inp->inp_socket->so_type != SOCK_STREAM || in in6_pcbbind_avail()
282 t->inp_socket->so_options) == 0) in in6_pcbbind_avail()
293 t->inp_socket->so_options) == 0 && in in6_pcbbind_avail()
308 struct socket *so = inp->inp_socket; in in6_pcbbind()
488 inp->inp_socket->so_proto->pr_protocol, &hash_type); in in6_pcbconnect()
735 inp->inp_socket != NULL && in in6_pcbnotify()
741 inp->inp_socket == 0 || in in6_pcbnotify()
HDudp6_usrreq.c180 inp->inp_socket->so_options & SO_TIMESTAMP) in udp6_append()
196 so = inp->inp_socket; in udp6_append()
319 if ((inp->inp_socket->so_options & in udp6_multi_input()
636 if (inp->inp_socket == NULL) in udp6_getcred()
640 inp->inp_socket); in udp6_getcred()
737 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_send()
920 pr = inp->inp_socket->so_proto->pr_protocol; in udp6_send()
HDraw_ip6.c301 inp->inp_socket->so_options & SO_TIMESTAMP) in rip6_input()
305 if (sbappendaddr(&inp->inp_socket->so_rcv, in rip6_input()
307 soroverflow(inp->inp_socket); in rip6_input()
313 sorwakeup(inp->inp_socket); in rip6_input()
HDip6_input.c1197 if ((inp->inp_socket->so_options & SO_TIMESTAMP) != 0) { in ip6_savecontrol_v4()
1208 switch (inp->inp_socket->so_ts_clock) { in ip6_savecontrol_v4()
1590 so = inp->inp_socket; in ip6_notify_pmtu()
HDin6_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()
HDicmp6.c2010 SOCKBUF_LOCK(&inp->inp_socket->so_rcv); in icmp6_rip6_input()
2011 if (sbappendaddr_locked(&inp->inp_socket->so_rcv, in icmp6_rip6_input()
2013 soroverflow_locked(inp->inp_socket); in icmp6_rip6_input()
2018 sorwakeup_locked(inp->inp_socket); in icmp6_rip6_input()
/freebsd-14-stable/sys/netinet/tcp_stacks/
HDbbr.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 …]
HDrack.c754 &rack->rc_inp->inp_socket->so_rcv, in rack_log_gpset()
755 &rack->rc_inp->inp_socket->so_snd, in rack_log_gpset()
2099 &rack->rc_inp->inp_socket->so_rcv, in rack_log_hybrid_bw()
2100 &rack->rc_inp->inp_socket->so_snd, in rack_log_hybrid_bw()
2154 &rack->rc_inp->inp_socket->so_rcv, in rack_log_hybrid_sends()
2155 &rack->rc_inp->inp_socket->so_snd, in rack_log_hybrid_sends()
2493 &rack->rc_inp->inp_socket->so_rcv, in rack_log_dsack_event()
2494 &rack->rc_inp->inp_socket->so_snd, in rack_log_dsack_event()
2541 &rack->rc_inp->inp_socket->so_rcv, in rack_log_hdwr_pacing()
2542 &rack->rc_inp->inp_socket->so_snd, in rack_log_hdwr_pacing()
[all …]
/freebsd-14-stable/sys/dev/cxgbe/tom/
HDt4_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 …]
HDt4_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()
HDt4_tls.c495 struct socket *so = inp->inp_socket; in t4_push_ktls()
1263 so = inp->inp_socket; in do_tls_tcb_rpl()
/freebsd-14-stable/sys/kern/
HDuipc_ktls.c804 if (inp->inp_socket == NULL) { in ktls_try_toe()
855 if (inp->inp_socket == NULL) { in ktls_alloc_snd_tag()
955 if (inp->inp_socket == NULL) { in ktls_alloc_rcv_tag()
1431 so = inp->inp_socket; in ktls_get_rx_sequence()
3288 so = inp->inp_socket; in ktls_disable_ifnet_help()
3341 so = inp->inp_socket; in ktls_disable_ifnet()
/freebsd-14-stable/sys/dev/cxgbe/cxgbei/
HDcxgbei.c526 so = inp->inp_socket; in do_rx_iscsi_ddp()
781 so = inp->inp_socket; in do_rx_iscsi_cmp()
/freebsd-14-stable/sys/dev/mlx5/mlx5_core/
HDmlx5_fs_tcp.c132 switch (INP_SOCKAF(inp->inp_socket)) { in mlx5e_accel_fs_add_inpcb()

12