Home
last modified time | relevance | path

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

12

/freebsd-12.1/sys/netinet/
H A Dtcp_timer.c335 tp->t_inpcb && tp->t_inpcb->inp_socket && in tcp_timer_2msl()
336 (tp->t_inpcb->inp_socket->so_rcv.sb_state & SBS_CANTRCVMORE)) { in tcp_timer_2msl()
365 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_2msl()
435 inp->inp_socket->so_options & SO_KEEPALIVE) && in tcp_timer_keep()
466 if (inp->inp_socket->so_options & SO_DEBUG) in tcp_timer_keep()
485 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_keep()
574 if (tp != NULL && tp->t_inpcb->inp_socket->so_options & SO_DEBUG) in tcp_timer_persist()
828 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_rexmt()
1010 ((tp->t_inpcb->inp_socket == NULL) || in tcp_timers_unsuspend()
1011 (tp->t_inpcb->inp_socket->so_rcv.sb_state & SBS_CANTRCVMORE))) { in tcp_timers_unsuspend()
H A Din_pcb.c328 if (inp->inp_socket != NULL && jailed(inp->inp_socket->so_cred)) in in_pcbinslbgrouphash()
514 inp->inp_socket = so; in in_pcballoc()
1058 inp->inp_socket->so_fibnum)); in in_pcbladdr()
1061 inp->inp_socket->so_fibnum)); in in_pcbladdr()
1171 inp->inp_socket->so_fibnum)); in in_pcbladdr()
1379 inp->inp_socket->so_pcb = NULL; in in_pcbdetach()
1380 inp->inp_socket = NULL; in in_pcbdetach()
1766 inp->inp_socket == NULL) { in in_pcbnotifyall()
2826 return (inp->inp_socket); in inp_inpcbtosocket()
2891 if (inp->inp_socket) in in_pcbtoxinpcb()
[all …]
H A Dudp_usrreq.c345 inp->inp_socket->so_options & (SO_TIMESTAMP | SO_BINTIME)) { in udp_append()
376 so = inp->inp_socket; in udp_append()
625 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()
981 if (inp->inp_socket == NULL) in udp_getcred()
1292 pr = inp->inp_socket->so_proto->pr_protocol; in udp_output()
1475 if (inp->inp_socket->so_options & SO_DONTROUTE) in udp_output()
[all …]
H A Dtcp_subr.c643 so = tp->t_inpcb->inp_socket; in tcp_default_fb_init()
1331 win = sbspace(&inp->inp_socket->so_rcv); in tcp_respond()
1783 struct socket *so = tp->t_inpcb->inp_socket; in tcp_drop()
1804 struct socket *so = inp->inp_socket; in tcp_discardcb()
2009 so = inp->inp_socket; in tcp_close()
2276 if (inp->inp_socket == NULL) in tcp_getcred()
2340 if (inp->inp_socket == NULL) in tcp6_getcred()
2416 !(inp->inp_socket == NULL)) { in tcp_ctlinput()
2565 !(inp->inp_socket == NULL)) { in tcp6_ctlinput()
2826 so = inp->inp_socket; in tcp_mtudisc()
[all …]
H A Dtcp_usrreq.c185 KASSERT(inp->inp_socket == so, ("tcp_detach: inp_socket != so")); in tcp_detach()
288 KASSERT(inp->inp_socket != NULL, in tcp_usr_detach()
1213 &inp->inp_socket->so_rcv, in tcp_usr_send()
1214 &inp->inp_socket->so_snd, in tcp_usr_send()
1279 KASSERT(inp->inp_socket != NULL, in tcp_usr_abort()
1322 KASSERT(inp->inp_socket != NULL, in tcp_usr_close()
1451 struct socket *so = inp->inp_socket; in tcp_connect()
1534 soisconnecting(inp->inp_socket); in tcp6_connect()
2331 struct socket *so = inp->inp_socket; in tcp_disconnect()
2406 soisdisconnected(tp->t_inpcb->inp_socket); in tcp_usrclosed()
H A Dip_input.c1148 if ((inp->inp_socket->so_options & SO_BINTIME) || in ip_savecontrol()
1149 CHECK_SO_CT(inp->inp_socket, SO_TS_BINTIME)) { in ip_savecontrol()
1169 if (CHECK_SO_CT(inp->inp_socket, SO_TS_REALTIME_MICRO)) { in ip_savecontrol()
1190 } else if (CHECK_SO_CT(inp->inp_socket, SO_TS_REALTIME)) { in ip_savecontrol()
1209 } else if (CHECK_SO_CT(inp->inp_socket, SO_TS_MONOTONIC)) { in ip_savecontrol()
H A Dtcp_reass.c234 &tp->t_inpcb->inp_socket->so_rcv, in tcp_log_reassm()
235 &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 Dsiftr.c799 pn->snd_buf_hiwater = inp->inp_socket->so_snd.sb_hiwat; in siftr_siftdata()
800 pn->snd_buf_cc = sbused(&inp->inp_socket->so_snd); in siftr_siftdata()
801 pn->rcv_buf_hiwater = inp->inp_socket->so_rcv.sb_hiwat; in siftr_siftdata()
802 pn->rcv_buf_cc = sbused(&inp->inp_socket->so_rcv); in siftr_siftdata()
H A Dtcp_timewait.c296 so = inp->inp_socket; in tcp_twstart()
498 so = inp->inp_socket; in tcp_twclose()
H A Din_mcast.c1788 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || in inp_getmoptions()
1789 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_getmoptions()
1790 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) { in inp_getmoptions()
2733 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || in inp_setmoptions()
2734 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in inp_setmoptions()
2735 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) in inp_setmoptions()
H A Dsctp_lock_bsd.h472 #define SCTP_INP_SO(sctpinp) (sctpinp)->ip_inp.inp.inp_socket
H A Dtoecore.c341 struct socket *lso = inp->inp_socket; in toe_syncache_add()
H A Dtcp_input.c914 ((inp->inp_socket == NULL) || in tcp_input()
915 (inp->inp_socket->so_options & SO_ACCEPTCONN) == 0)) { in tcp_input()
1029 so = inp->inp_socket; in tcp_input()
3239 if (tp == NULL || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_do_segment()
3730 so = inp->inp_socket; in tcp_mss()
/freebsd-12.1/sys/netinet6/
H A Dudp6_usrreq.c174 inp->inp_socket->so_options & SO_TIMESTAMP) in udp6_append()
190 so = inp->inp_socket; in udp6_append()
412 if ((last->inp_socket->so_options & in udp6_input()
664 if (inp->inp_socket == NULL) in udp6_getcred()
668 inp->inp_socket); in udp6_getcred()
768 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_output()
975 pr = inp->inp_socket->so_proto->pr_protocol; in udp6_output()
1073 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_abort()
1205 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_close()
1351 nxt = (inp->inp_socket->so_proto->pr_protocol == IPPROTO_UDP) ? in udp6_disconnect()
H A Draw_ip6.c208 last->inp_socket->so_options & SO_TIMESTAMP) in rip6_input()
212 if (sbappendaddr(&last->inp_socket->so_rcv, in rip6_input()
220 sorwakeup(last->inp_socket); in rip6_input()
321 last->inp_socket->so_options & SO_TIMESTAMP) in rip6_input()
325 if (sbappendaddr(&last->inp_socket->so_rcv, in rip6_input()
332 sorwakeup(last->inp_socket); in rip6_input()
H A Dicmp6.c1983 SOCKBUF_LOCK(&last->inp_socket->so_rcv); in icmp6_rip6_input()
1985 &last->inp_socket->so_rcv, in icmp6_rip6_input()
1994 &last->inp_socket->so_rcv); in icmp6_rip6_input()
1996 sorwakeup_locked(last->inp_socket); in icmp6_rip6_input()
2029 SOCKBUF_LOCK(&last->inp_socket->so_rcv); in icmp6_rip6_input()
2030 if (sbappendaddr_locked(&last->inp_socket->so_rcv, in icmp6_rip6_input()
2035 SOCKBUF_UNLOCK(&last->inp_socket->so_rcv); in icmp6_rip6_input()
2037 sorwakeup_locked(last->inp_socket); in icmp6_rip6_input()
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()
2636 if (inp->inp_socket->so_proto->pr_protocol == IPPROTO_DIVERT || in ip6_setmoptions()
2637 (inp->inp_socket->so_proto->pr_type != SOCK_RAW && in ip6_setmoptions()
2638 inp->inp_socket->so_proto->pr_type != SOCK_DGRAM)) in ip6_setmoptions()
H A Din6_pcb.c121 struct socket *so = inp->inp_socket; in in6_pcbbind()
678 inp->inp_socket != NULL && in in6_pcbnotify()
684 inp->inp_socket == 0 || in in6_pcbnotify()
H A Dip6_input.c1219 if ((inp->inp_socket->so_options & SO_TIMESTAMP) != 0) { in ip6_savecontrol_v4()
1230 switch (inp->inp_socket->so_ts_clock) { in ip6_savecontrol_v4()
1663 so = inp->inp_socket; in ip6_notify_pmtu()
/freebsd-12.1/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c309 struct socket *so = inp->inp_socket; in send_reset()
383 struct socket *so = inp->inp_socket; in make_established()
460 struct socket *so = inp->inp_socket; in t4_rcvd_locked()
494 struct socket *so = inp->inp_socket; in t4_rcvd()
693 struct socket *so = inp->inp_socket; in t4_push_frames()
1238 so = inp->inp_socket; in do_peer_close()
1323 so = inp->inp_socket; in do_close_con_rpl()
1455 struct socket *so = inp->inp_socket; in do_abort_req()
1733 so = inp->inp_socket; in do_fw4_ack()
2208 SOCKBUF_LOCK_ASSERT(&toep->inp->inp_socket->so_snd); in t4_aiotx_queue_toep()
H A Dt4_listen.c225 lctx->vnet = inp->inp_socket->so_vnet; in alloc_lctx()
1260 so = inp->inp_socket; in do_pass_accept_req()
1443 so = inp->inp_socket; in do_pass_establish()
/freebsd-12.1/sys/netinet/tcp_stacks/
H A Drack.c900 &rack->rc_inp->inp_socket->so_rcv, in rack_log_to_start()
901 &rack->rc_inp->inp_socket->so_snd, in rack_log_to_start()
920 &rack->rc_inp->inp_socket->so_rcv, in rack_log_to_event()
921 &rack->rc_inp->inp_socket->so_snd, in rack_log_to_event()
946 &rack->rc_inp->inp_socket->so_rcv, in rack_log_rtt_upd()
947 &rack->rc_inp->inp_socket->so_snd, in rack_log_rtt_upd()
969 &rack->rc_inp->inp_socket->so_rcv, in rack_log_rtt_sample()
970 &rack->rc_inp->inp_socket->so_snd, in rack_log_rtt_sample()
992 &rack->rc_inp->inp_socket->so_rcv, in rack_log_progress_event()
2541 so = tp->t_inpcb->inp_socket; in rack_timeout_tlp()
[all …]
/freebsd-12.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-12.1/sys/netpfil/ipfw/
H A Dip_fw2.c1119 if (inp->inp_socket != NULL) { in check_uidgid()
2586 inp->inp_socket->so_user_cookie; in ipfw_chk()
2592 if (inp->inp_socket) { in ipfw_chk()
2594 inp->inp_socket->so_user_cookie; in ipfw_chk()
/freebsd-12.1/usr.bin/systat/
H A Dnetstat.c230 KREAD(inpcb.inp_socket, &sockb, in fetchnetstat_kvm()

12