Home
last modified time | relevance | path

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

12

/freebsd-13.1/sys/netinet6/
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()
217 soroverflow(last->inp_socket); in rip6_input()
223 sorwakeup(last->inp_socket); in rip6_input()
323 last->inp_socket->so_options & SO_TIMESTAMP) in rip6_input()
327 if (sbappendaddr(&last->inp_socket->so_rcv, in rip6_input()
329 soroverflow(last->inp_socket); in rip6_input()
335 sorwakeup(last->inp_socket); in rip6_input()
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()
954 pr = inp->inp_socket->so_proto->pr_protocol; in udp6_output()
1010 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()
1303 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_disconnect()
H A Dicmp6.c1972 SOCKBUF_LOCK(&last->inp_socket->so_rcv); in icmp6_rip6_input()
1974 &last->inp_socket->so_rcv, in icmp6_rip6_input()
1977 soroverflow_locked(last->inp_socket); in icmp6_rip6_input()
1983 sorwakeup_locked(last->inp_socket); in icmp6_rip6_input()
2015 SOCKBUF_LOCK(&last->inp_socket->so_rcv); in icmp6_rip6_input()
2016 if (sbappendaddr_locked(&last->inp_socket->so_rcv, in icmp6_rip6_input()
2021 soroverflow_locked(last->inp_socket); in icmp6_rip6_input()
2023 sorwakeup_locked(last->inp_socket); in icmp6_rip6_input()
H A Din6_pcb.c121 struct socket *so = inp->inp_socket; in in6_pcbbind()
431 inp->inp_socket->so_proto->pr_protocol, &hash_type); in in6_pcbconnect_mbuf()
707 inp->inp_socket != NULL && in in6_pcbnotify()
713 inp->inp_socket == 0 || in in6_pcbnotify()
H A Din6_mcast.c1767 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || in ip6_getmoptions()
1768 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_getmoptions()
1769 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) { in ip6_getmoptions()
2638 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || in ip6_setmoptions()
2639 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_setmoptions()
2640 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) in ip6_setmoptions()
H A Dip6_input.c1181 if ((inp->inp_socket->so_options & SO_TIMESTAMP) != 0) { in ip6_savecontrol_v4()
1192 switch (inp->inp_socket->so_ts_clock) { in ip6_savecontrol_v4()
1575 so = inp->inp_socket; in ip6_notify_pmtu()
/freebsd-13.1/sys/netinet/
H A Dtcp_timer.c351 tp->t_inpcb && tp->t_inpcb->inp_socket && in tcp_timer_2msl()
352 (tp->t_inpcb->inp_socket->so_rcv.sb_state & SBS_CANTRCVMORE)) { in tcp_timer_2msl()
381 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_2msl()
451 inp->inp_socket->so_options & SO_KEEPALIVE) && in tcp_timer_keep()
484 if (inp->inp_socket->so_options & SO_DEBUG) in tcp_timer_keep()
503 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_keep()
594 if (tp != NULL && tp->t_inpcb->inp_socket->so_options & SO_DEBUG) in tcp_timer_persist()
876 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_rexmt()
1058 ((tp->t_inpcb->inp_socket == NULL) || in tcp_timers_unsuspend()
1059 (tp->t_inpcb->inp_socket->so_rcv.sb_state & SBS_CANTRCVMORE))) { in tcp_timers_unsuspend()
H A Din_pcb.c365 if (inp->inp_socket != NULL && jailed(inp->inp_socket->so_cred)) in in_pcbinslbgrouphash()
598 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()
1524 inp->inp_socket->so_pcb = NULL; in in_pcbdetach()
1525 inp->inp_socket = NULL; in in_pcbdetach()
1904 inp->inp_socket == NULL) { in in_pcbnotifyall()
2959 return (inp->inp_socket); in inp_inpcbtosocket()
3024 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()
629 if ((last->inp_socket->so_options & in udp_input()
775 inp->inp_socket->so_error = errno; in udp_notify()
776 sorwakeup(inp->inp_socket); in udp_notify()
777 sowwakeup(inp->inp_socket); in udp_notify()
817 if (inp->inp_socket != NULL) { in udp_common_ctlinput()
952 if (inp->inp_socket == NULL) in udp_getcred()
1281 pr = inp->inp_socket->so_proto->pr_protocol; in udp_output()
1444 if (inp->inp_socket->so_options & SO_DONTROUTE) in udp_output()
[all …]
H A Dtcp_subr.c1004 so = tp->t_inpcb->inp_socket; in tcp_default_fb_init()
2286 struct socket *so = inp->inp_socket; in tcp_discardcb()
2500 so = inp->inp_socket; in tcp_close()
2741 if (inp->inp_socket == NULL) in tcp_getcred()
2809 if (inp->inp_socket == NULL) in tcp6_getcred()
2883 !(inp->inp_socket == NULL)) { in tcp_ctlinput_with_port()
3076 !(inp->inp_socket == NULL)) { in tcp6_ctlinput_with_port()
3374 so = inp->inp_socket; in tcp_mtudisc()
3783 inp->inp_socket == NULL) { in sysctl_switch_tls()
3789 so = inp->inp_socket; in sysctl_switch_tls()
[all …]
H A Dip_input.c1155 if ((inp->inp_socket->so_options & SO_BINTIME) || in ip_savecontrol()
1156 CHECK_SO_CT(inp->inp_socket, SO_TS_BINTIME)) { in ip_savecontrol()
1176 if (CHECK_SO_CT(inp->inp_socket, SO_TS_REALTIME_MICRO)) { in ip_savecontrol()
1197 } else if (CHECK_SO_CT(inp->inp_socket, SO_TS_REALTIME)) { in ip_savecontrol()
1216 } else if (CHECK_SO_CT(inp->inp_socket, SO_TS_MONOTONIC)) { in ip_savecontrol()
H A Dtcp_ratelimit.c1342 if (tp->t_inpcb->inp_socket->so_snd.sb_flags & SB_TLS_IFNET) { in tcp_set_pacing_rate()
1343 tls = tp->t_inpcb->inp_socket->so_snd.sb_tls_info; in tcp_set_pacing_rate()
1404 if (tp->t_inpcb->inp_socket->so_snd.sb_flags & SB_TLS_IFNET) { in tcp_chg_pacing_rate()
1405 tls = tp->t_inpcb->inp_socket->so_snd.sb_tls_info; in tcp_chg_pacing_rate()
1548 &tp->t_inpcb->inp_socket->so_rcv, in tcp_log_pacing_size()
1549 &tp->t_inpcb->inp_socket->so_snd, in tcp_log_pacing_size()
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()
601 sb = &tp->t_inpcb->inp_socket->so_rcv; in tcp_reass()
H A Dtcp_usrreq.c228 KASSERT(so->so_pcb == inp && inp->inp_socket == so, in tcp_usr_detach()
1252 &inp->inp_socket->so_rcv, in tcp_usr_send()
1253 &inp->inp_socket->so_snd, in tcp_usr_send()
1328 KASSERT(inp->inp_socket != NULL, in tcp_usr_abort()
1371 KASSERT(inp->inp_socket != NULL, in tcp_usr_close()
1522 struct socket *so = inp->inp_socket; in tcp_connect()
1615 soisconnecting(inp->inp_socket); in tcp6_connect()
2568 struct socket *so = inp->inp_socket; in tcp_disconnect()
2643 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_timewait.c303 so = inp->inp_socket; in tcp_twstart()
544 so = inp->inp_socket; in tcp_twclose()
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()
2763 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || in inp_setmoptions()
2764 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_setmoptions()
2765 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) in inp_setmoptions()
H A Dsctp_lock_bsd.h515 (sctpinp)->ip_inp.inp.inp_socket
H A Dtcp_hpts.c428 &tp->t_inpcb->inp_socket->so_rcv, in tcp_hpts_log()
429 &tp->t_inpcb->inp_socket->so_snd, in tcp_hpts_log()
1349 dropped = (*tp->t_fb->tfb_do_queued_segments)(inp->inp_socket, tp, 0); in tcp_input_data()
1654 error = (*tp->t_fb->tfb_do_queued_segments)(inp->inp_socket, tp, 0); in tcp_hptsi()
/freebsd-13.1/sys/netinet/tcp_stacks/
H A Dbbr.c1909 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_bw_reduce()
1910 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_bw_reduce()
1927 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_rwnd_collapse()
1928 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_rwnd_collapse()
1953 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_just_return()
1954 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_just_return()
1971 &bbr->rc_inp->inp_socket->so_rcv, in bbr_log_type_enter_rec()
1972 &bbr->rc_inp->inp_socket->so_snd, in bbr_log_type_enter_rec()
2005 if (bbr->rc_inp->inp_socket) { in bbr_log_flowend()
4598 so = tp->t_inpcb->inp_socket; in bbr_timeout_tlp()
[all …]
H A Drack.c2610 &tp->t_inpcb->inp_socket->so_rcv, in rack_log_type_pacing_sizes()
6214 so = tp->t_inpcb->inp_socket; in rack_timeout_tlp()
15662 so = rack->rc_inp->inp_socket; in rack_sndbuf_autoscale()
16316 so = inp->inp_socket; in rack_output()
16333 so = inp->inp_socket; in rack_output()
16400 so = inp->inp_socket; in rack_output()
16415 so = inp->inp_socket; in rack_output()
16507 so = inp->inp_socket; in rack_output()
16518 so = inp->inp_socket; in rack_output()
16547 so = inp->inp_socket; in rack_output()
[all …]
H A Drack_bbr_common.c984 &tp->t_inpcb->inp_socket->so_rcv, in ctf_log_sack_filter()
985 &tp->t_inpcb->inp_socket->so_snd, in ctf_log_sack_filter()
/freebsd-13.1/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c292 struct socket *so = inp->inp_socket; in send_reset()
366 struct socket *so = inp->inp_socket; in make_established()
446 struct socket *so = inp->inp_socket; in t4_rcvd_locked()
470 struct socket *so = inp->inp_socket; in t4_rcvd()
676 struct socket *so = inp->inp_socket; in t4_push_frames()
1171 struct socket *so = inp->inp_socket; in t4_push_pdus()
1381 so = inp->inp_socket; in do_peer_close()
1477 so = inp->inp_socket; in do_close_con_rpl()
1610 struct socket *so = inp->inp_socket; in do_abort_req()
1897 so = inp->inp_socket; in do_fw4_ack()
[all …]
/freebsd-13.1/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-13.1/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_tcp.c128 switch (INP_SOCKAF(inp->inp_socket)) { in mlx5e_accel_fs_add_inpcb()

12