Searched refs:t_inpcb (Results 1 - 8 of 8) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dtcp_output.c268 struct socket *so = tp->t_inpcb->inp_socket;
294 struct mbuf *tp_inp_options = tp->t_inpcb->inp_depend4.inp4_options;
296 int isipv6 = tp->t_inpcb->inp_vflag & INP_IPV6 ;
322 DTRACE_TCP5(cc, void, NULL, struct inpcb *, tp->t_inpcb,
339 ((tp->t_inpcb->inp_fport << 16) | tp->t_inpcb->inp_lport),
340 (((tp->t_inpcb->in6p_laddr.s6_addr16[0] & 0xffff) << 16) |
341 (tp->t_inpcb->in6p_faddr.s6_addr16[0] & 0xffff)),
348 ((tp->t_inpcb->inp_fport << 16) | tp->t_inpcb
[all...]
H A Dtcp_timer.c281 LIST_REMOVE(tp->t_inpcb, inp_list);
301 LIST_INSERT_HEAD(&time_wait_slots[tw_slot], tp->t_inpcb, inp_list);
309 tcp_unlock(tp->t_inpcb->inp_socket, 0, 0);
311 tcp_lock(tp->t_inpcb->inp_socket, 0, 0);
550 int isipv6 = (tp->t_inpcb->inp_vflag & INP_IPV4) == 0;
553 so = tp->t_inpcb->inp_socket;
649 if (INP_WAIT_FOR_IF_FEEDBACK(tp->t_inpcb))
732 in6_losing(tp->t_inpcb);
735 in_losing(tp->t_inpcb);
767 DTRACE_TCP5(cc, void, NULL, struct inpcb *, tp->t_inpcb,
[all...]
H A Dtcp_subr.c484 struct inpcb *inp = tp->t_inpcb;
610 ro6 = &tp->t_inpcb->in6p_route;
613 ro = &tp->t_inpcb->inp_route;
696 if (tp != NULL && tp->t_inpcb != NULL) {
701 mac_mbuf_label_associate_inpcb(tp->t_inpcb, m);
729 ip6->ip6_hlim = in6_selecthlim(tp ? tp->t_inpcb : NULL,
742 if (tp == NULL || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG))
746 if (ipsec_bypass == 0 && ipsec_setsocket(m, tp ? tp->t_inpcb->inp_socket : NULL) != 0) {
757 set_packet_service_class(m, tp->t_inpcb->inp_socket,
761 m->m_pkthdr.m_flowhash = tp->t_inpcb
[all...]
H A Dtcp_input.c324 if ((tp) && (tp)->t_inpcb && \
325 ((tp)->t_inpcb->inp_vflag & INP_IPV6) != 0 && \
326 (tp)->t_inpcb->in6p_route.ro_rt) \
327 nd6_nud_hint((tp)->t_inpcb->in6p_route.ro_rt, NULL, 0); \
522 struct socket *so = tp->t_inpcb->inp_socket;
602 nstat_route_rx(tp->t_inpcb->inp_route.ro_rt, 1, *tlenp, NSTAT_RX_FLAG_DUPLICATE);
603 locked_add_64(&tp->t_inpcb->inp_stat->rxpackets, 1);
604 locked_add_64(&tp->t_inpcb->inp_stat->rxbytes, *tlenp);
626 nstat_route_rx(tp->t_inpcb->inp_route.ro_rt, 1, *tlenp, NSTAT_RX_FLAG_OUT_OF_ORDER);
627 locked_add_64(&tp->t_inpcb
[all...]
H A Dtcp_timer.h247 (tp->t_keepidle && (tp->t_inpcb->inp_socket->so_options & SO_KEEPALIVE) ? \
H A Dtcp_newreno.c128 sb = &(tp->t_inpcb->inp_socket->so_snd);
140 sb = &(tp->t_inpcb->inp_socket->so_snd);
H A Dtcp_usrreq.c892 struct inpcb *inp = tp->t_inpcb, *oinp;
987 if ((taop = tcp_gettaocache(tp->t_inpcb)) == NULL) {
1011 struct inpcb *inp = tp->t_inpcb, *oinp;
1094 if ((taop = tcp_gettaocache(tp->t_inpcb)) == NULL) {
1122 struct inpcb *inp = tp->t_inpcb;
1155 ti->tcpi_snd_sbbytes = tp->t_inpcb->inp_socket->so_snd.sb_cc;
1169 ti->tcpi_last_outif = (tp->t_inpcb->inp_last_outifp == NULL) ? 0 :
1170 tp->t_inpcb->inp_last_outifp->if_index;
1737 struct socket *so = tp->t_inpcb->inp_socket;
1790 soisdisconnected(tp->t_inpcb
[all...]
H A Dtcp_var.h196 struct inpcb *t_inpcb; /* back pointer to internet pcb */ member in struct:tcpcb
402 if (INP_IS_FLOW_CONTROLLED((_tp_)->t_inpcb)) \
403 inp_reset_fc_state((_tp_)->t_inpcb); \
527 _TCPCB_PTR(struct inpcb *) t_inpcb; /* back pointer to internet pcb */ member in struct:otcpcb

Completed in 41 milliseconds