Home
last modified time | relevance | path

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

12

/f-stack/freebsd/netinet/
H A Dtcp_timer.c357 tp->t_inpcb && tp->t_inpcb->inp_socket && in tcp_timer_2msl()
358 (tp->t_inpcb->inp_socket->so_rcv.sb_state & SBS_CANTRCVMORE)) { in tcp_timer_2msl()
387 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_2msl()
457 inp->inp_socket->so_options & SO_KEEPALIVE) && in tcp_timer_keep()
490 if (inp->inp_socket->so_options & SO_DEBUG) in tcp_timer_keep()
509 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_keep()
600 if (tp != NULL && tp->t_inpcb->inp_socket->so_options & SO_DEBUG) in tcp_timer_persist()
882 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_rexmt()
1064 ((tp->t_inpcb->inp_socket == NULL) || in tcp_timers_unsuspend()
1065 (tp->t_inpcb->inp_socket->so_rcv.sb_state & SBS_CANTRCVMORE))) { in tcp_timers_unsuspend()
H A Din_pcb.c362 if (inp->inp_socket != NULL && jailed(inp->inp_socket->so_cred)) in in_pcbinslbgrouphash()
595 inp->inp_socket = so; in in_pcballoc()
1191 inp->inp_socket->so_fibnum)); in in_pcbladdr()
1194 inp->inp_socket->so_fibnum)); in in_pcbladdr()
1296 inp->inp_socket->so_fibnum)); in in_pcbladdr()
1568 inp->inp_socket->so_pcb = NULL; in in_pcbdetach()
1569 inp->inp_socket = NULL; in in_pcbdetach()
1948 inp->inp_socket == NULL) { in in_pcbnotifyall()
3003 return (inp->inp_socket); in inp_inpcbtosocket()
3068 if (inp->inp_socket) in in_pcbtoxinpcb()
[all …]
H A Dudp_usrreq.c348 inp->inp_socket->so_options & (SO_TIMESTAMP | SO_BINTIME)) { in udp_append()
379 so = inp->inp_socket; in udp_append()
627 if ((last->inp_socket->so_options & in udp_input()
772 inp->inp_socket->so_error = errno; in udp_notify()
773 sorwakeup(inp->inp_socket); in udp_notify()
774 sowwakeup(inp->inp_socket); in udp_notify()
814 if (inp->inp_socket != NULL) { in udp_common_ctlinput()
949 if (inp->inp_socket == NULL) in udp_getcred()
1277 pr = inp->inp_socket->so_proto->pr_protocol; in udp_output()
1440 if (inp->inp_socket->so_options & SO_DONTROUTE) in udp_output()
[all …]
H A Dtcp_subr.c722 so = tp->t_inpcb->inp_socket; in tcp_default_fb_init()
1918 struct socket *so = inp->inp_socket; in tcp_discardcb()
2126 so = inp->inp_socket; in tcp_close()
2367 if (inp->inp_socket == NULL) in tcp_getcred()
2435 if (inp->inp_socket == NULL) in tcp6_getcred()
2509 !(inp->inp_socket == NULL)) { in tcp_ctlinput()
2655 !(inp->inp_socket == NULL)) { in tcp6_ctlinput()
2917 so = inp->inp_socket; in tcp_mtudisc()
3269 inp->inp_socket == NULL) { in sysctl_switch_tls()
3275 so = inp->inp_socket; in sysctl_switch_tls()
[all …]
H A Dip_input.c1142 if ((inp->inp_socket->so_options & SO_BINTIME) || in ip_savecontrol()
1143 CHECK_SO_CT(inp->inp_socket, SO_TS_BINTIME)) { in ip_savecontrol()
1163 if (CHECK_SO_CT(inp->inp_socket, SO_TS_REALTIME_MICRO)) { in ip_savecontrol()
1184 } else if (CHECK_SO_CT(inp->inp_socket, SO_TS_REALTIME)) { in ip_savecontrol()
1203 } else if (CHECK_SO_CT(inp->inp_socket, SO_TS_MONOTONIC)) { in ip_savecontrol()
H A Dtcp_reass.c235 &tp->t_inpcb->inp_socket->so_rcv, in tcp_log_reassm()
236 &tp->t_inpcb->inp_socket->so_snd, in tcp_log_reassm()
535 struct socket *so = tp->t_inpcb->inp_socket; in tcp_reass()
587 sb = &tp->t_inpcb->inp_socket->so_rcv; in tcp_reass()
H A Dtcp_usrreq.c230 KASSERT(so->so_pcb == inp && inp->inp_socket == so, in tcp_usr_detach()
1327 &inp->inp_socket->so_rcv, in tcp_usr_send()
1328 &inp->inp_socket->so_snd, in tcp_usr_send()
1395 KASSERT(inp->inp_socket != NULL, in tcp_usr_abort()
1438 KASSERT(inp->inp_socket != NULL, in tcp_usr_close()
1593 struct socket *so = inp->inp_socket; in tcp_connect()
1735 soisconnecting(inp->inp_socket); in tcp6_connect()
2655 struct socket *so = inp->inp_socket; in tcp_disconnect()
2730 soisdisconnected(tp->t_inpcb->inp_socket); in tcp_usrclosed()
H A Dsiftr.c795 pn->snd_buf_hiwater = inp->inp_socket->so_snd.sb_hiwat; in siftr_siftdata()
796 pn->snd_buf_cc = sbused(&inp->inp_socket->so_snd); in siftr_siftdata()
797 pn->rcv_buf_hiwater = inp->inp_socket->so_rcv.sb_hiwat; in siftr_siftdata()
798 pn->rcv_buf_cc = sbused(&inp->inp_socket->so_rcv); in siftr_siftdata()
H A Dtcp_ratelimit.c1225 if (tp->t_inpcb->inp_socket->so_snd.sb_flags & SB_TLS_IFNET) { in tcp_set_pacing_rate()
1226 tls = tp->t_inpcb->inp_socket->so_snd.sb_tls_info; in tcp_set_pacing_rate()
1284 if (tp->t_inpcb->inp_socket->so_snd.sb_flags & SB_TLS_IFNET) { in tcp_chg_pacing_rate()
1285 tls = tp->t_inpcb->inp_socket->so_snd.sb_tls_info; in tcp_chg_pacing_rate()
H A Dtcp_timewait.c297 so = inp->inp_socket; in tcp_twstart()
513 so = inp->inp_socket; in tcp_twclose()
H A Dsctp_lock_bsd.h498 (sctpinp)->ip_inp.inp.inp_socket
H A Dtcp_hpts.c341 &tp->t_inpcb->inp_socket->so_rcv, in tcp_hpts_log()
342 &tp->t_inpcb->inp_socket->so_snd, in tcp_hpts_log()
1333 dropped = (*tp->t_fb->tfb_do_queued_segments)(inp->inp_socket, tp, 0); in tcp_input_data()
1610 error = (*tp->t_fb->tfb_do_queued_segments)(inp->inp_socket, tp, 0); in tcp_hptsi()
H A Din_mcast.c1798 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || in inp_getmoptions()
1799 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_getmoptions()
1800 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) { in inp_getmoptions()
2765 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || in inp_setmoptions()
2766 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_setmoptions()
2767 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) in inp_setmoptions()
H A Dtoecore.c351 struct socket *lso = inp->inp_socket; in toe_syncache_add()
H A Dtcp_input.c937 ((inp->inp_socket == NULL) || in tcp_input()
938 (inp->inp_socket->so_options & SO_ACCEPTCONN) == 0)) { in tcp_input()
1024 so = inp->inp_socket; in tcp_input()
3333 if (tp == NULL || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_do_segment()
3830 so = inp->inp_socket; in tcp_mss()
H A Dip_divert.c283 sa = inp->inp_socket; in divert_packet()
/f-stack/freebsd/netinet6/
H A Dudp6_usrreq.c181 inp->inp_socket->so_options & SO_TIMESTAMP) in udp6_append()
196 so = inp->inp_socket; in udp6_append()
427 if ((last->inp_socket->so_options & in udp6_input()
679 if (inp->inp_socket == NULL) in udp6_getcred()
683 inp->inp_socket); in udp6_getcred()
768 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_output()
959 pr = inp->inp_socket->so_proto->pr_protocol; in udp6_output()
1015 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_abort()
1147 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_close()
1298 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_disconnect()
H A Draw_ip6.c210 last->inp_socket->so_options & SO_TIMESTAMP) in rip6_input()
214 if (sbappendaddr(&last->inp_socket->so_rcv, in rip6_input()
222 sorwakeup(last->inp_socket); in rip6_input()
322 last->inp_socket->so_options & SO_TIMESTAMP) in rip6_input()
326 if (sbappendaddr(&last->inp_socket->so_rcv, in rip6_input()
333 sorwakeup(last->inp_socket); in rip6_input()
H A Dicmp6.c1971 SOCKBUF_LOCK(&last->inp_socket->so_rcv); in icmp6_rip6_input()
1973 &last->inp_socket->so_rcv, in icmp6_rip6_input()
1982 &last->inp_socket->so_rcv); in icmp6_rip6_input()
1984 sorwakeup_locked(last->inp_socket); in icmp6_rip6_input()
2016 SOCKBUF_LOCK(&last->inp_socket->so_rcv); in icmp6_rip6_input()
2017 if (sbappendaddr_locked(&last->inp_socket->so_rcv, in icmp6_rip6_input()
2022 SOCKBUF_UNLOCK(&last->inp_socket->so_rcv); in icmp6_rip6_input()
2024 sorwakeup_locked(last->inp_socket); in icmp6_rip6_input()
H A Din6_pcb.c121 struct socket *so = inp->inp_socket; in in6_pcbbind()
433 inp->inp_socket->so_proto->pr_protocol, &hash_type); in in6_pcbconnect_mbuf()
709 inp->inp_socket != NULL && in in6_pcbnotify()
715 inp->inp_socket == 0 || in in6_pcbnotify()
H A Din6_mcast.c1758 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || in ip6_getmoptions()
1759 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_getmoptions()
1760 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) { in ip6_getmoptions()
2629 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || in ip6_setmoptions()
2630 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_setmoptions()
2631 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) in ip6_setmoptions()
H A Dip6_input.c1183 if ((inp->inp_socket->so_options & SO_TIMESTAMP) != 0) { in ip6_savecontrol_v4()
1194 switch (inp->inp_socket->so_ts_clock) { in ip6_savecontrol_v4()
1577 so = inp->inp_socket; in ip6_notify_pmtu()
/f-stack/freebsd/netinet/tcp_stacks/
H A Dbbr.c1910 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_bw_reduce()
1911 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_bw_reduce()
1928 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_rwnd_collapse()
1929 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_rwnd_collapse()
1954 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_just_return()
1955 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_just_return()
1972 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_enter_rec()
1973 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_enter_rec()
2006 if (bbr->rc_inp->inp_socket) { in bbr_log_flowend()
4592 so = tp->t_inpcb->inp_socket; in bbr_timeout_tlp()
[all …]
H A Drack.c1667 &rack->rc_inp->inp_socket->so_rcv, in rack_log_retran_reason()
1668 &rack->rc_inp->inp_socket->so_snd, in rack_log_retran_reason()
1699 &rack->rc_inp->inp_socket->so_rcv, in rack_log_to_start()
1700 &rack->rc_inp->inp_socket->so_snd, in rack_log_to_start()
1730 &rack->rc_inp->inp_socket->so_rcv, in rack_log_to_event()
1731 &rack->rc_inp->inp_socket->so_snd, in rack_log_to_event()
1796 &rack->rc_inp->inp_socket->so_rcv, in rack_log_rtt_upd()
1934 &tp->t_inpcb->inp_socket->so_rcv, in rack_log_type_hrdwtso()
1935 &tp->t_inpcb->inp_socket->so_snd, in rack_log_type_hrdwtso()
5184 so = tp->t_inpcb->inp_socket; in rack_timeout_tlp()
[all …]
H A Drack_bbr_common.c888 &tp->t_inpcb->inp_socket->so_rcv, in ctf_log_sack_filter()
889 &tp->t_inpcb->inp_socket->so_snd, in ctf_log_sack_filter()

12