Searched refs:ack (Results 1 - 6 of 6) sorted by relevance

/xnu-2782.1.97/bsd/netinet/
H A Dtcp_debug.c120 tcp_seq seq, ack; local
207 ack = th->th_ack;
215 ack = ntohl(ack);
224 printf("@%x, urp=%x", ack, th->th_urp);
H A Dmptcp_var.h448 /* Mask to obtain 32-bit portion of data ack */
450 #define MPTCP_DATAACK_LOW32(ack) (ack & MPTCP_DATAACK_LOW32_MASK)
452 /* Mask to obtain upper 32-bit portion of data ack */
454 #define MPTCP_DATAACK_HIGH32(ack) (ack & MPTCP_DATAACK_HIGH32_MASK)
H A Dip_fw2.c1534 u_int32_t ack = ntohl(tcp->th_ack); local
1536 if (q->ack_fwd == 0 || _SEQ_GE(ack, q->ack_fwd))
1537 q->ack_fwd = ack;
1542 if (q->ack_rev == 0 || _SEQ_GE(ack, q->ack_rev))
1543 q->ack_rev = ack;
1815 send_pkt(struct ip_flow_id *id, u_int32_t seq, u_int32_t ack, int flags) argument
1843 tcp->th_seq = htonl(ack);
1857 * NOTE: seq and ack are always assumed to be correct
1870 tcp->th_ack = htonl(ack);
H A Dtcp_subr.c597 * In any case the ack and sequence number of the transmitted
604 tcp_seq ack, tcp_seq seq, int flags, struct tcp_respond_args *tra)
745 nth->th_ack = htonl(ack);
603 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m, tcp_seq ack, tcp_seq seq, int flags, struct tcp_respond_args *tra) argument
/xnu-2782.1.97/bsd/netinet6/
H A Dip6_fw.c844 tcp_seq ack, seq; local
856 ack = 0;
860 ack = ti.th.th_seq;
862 ack += (*m)->m_pkthdr.len - off
865 ack += ntohs(ip6->ip6_plen) + sizeof(*ip6)
880 *m, ack, seq, flags, &tra);
/xnu-2782.1.97/bsd/net/
H A Dpf.c2379 u_int16_t sport, u_int16_t dport, u_int32_t seq, u_int32_t ack,
2500 th->th_ack = htonl(ack);
4623 u_int32_t ack = ntohl(th->th_seq) + pd->p_len; local
4648 ack++;
4650 ack++;
4653 ntohl(th->th_ack), ack, TH_RST|TH_ACK, 0, 0,
5852 u_int32_t ack, end, seq, orig_seq; local
6020 ack = ntohl(th->th_ack) - dst->seqdiff;
6023 pf_change_a(&th->th_ack, &th->th_sum, htonl(ack), 0);
6026 ack
2377 pf_send_tcp(const struct pf_rule *r, sa_family_t af, const struct pf_addr *saddr, const struct pf_addr *daddr, u_int16_t sport, u_int16_t dport, u_int32_t seq, u_int32_t ack, u_int8_t flags, u_int16_t win, u_int16_t mss, u_int8_t ttl, int tag, u_int16_t rtag, struct ether_header *eh, struct ifnet *ifp) argument
[all...]

Completed in 66 milliseconds