Searched refs:tcp_hdr (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dtcp_lro.c128 tcp_lro_matching_tuple(struct ip* ip_hdr, struct tcphdr *tcp_hdr, int *hash, argument
137 tcp_hdr->th_sport, tcp_hdr->th_dport, (TCP_LRO_FLOW_MAP - 1));
144 seqnum = tcp_hdr->th_seq;
145 off = tcp_hdr->th_off << 2;
152 (flow->lr_fport == tcp_hdr->th_sport) &&
153 (flow->lr_lport == tcp_hdr->th_dport)) {
181 if (SEQ_GT(tcp_hdr->th_ack, flow->lr_tcphdr->th_ack)) {
184 __func__, tcp_hdr->th_ack,
203 tcp_lro_init_flow(int flow_id, struct ip* ip_hdr, struct tcphdr *tcp_hdr, argument
340 tcp_lro_insert_flow(struct mbuf *lro_mb, struct ip *ip_hdr, struct tcphdr *tcp_hdr, int payload_len, int drop_hdrlen, int hash, struct tcpopt *topt, u_int32_t *tsval, u_int32_t *tsecr) argument
403 tcp_lro_process_pkt(struct mbuf *lro_mb, struct ip *ip_hdr, struct tcphdr *tcp_hdr, int drop_hdrlen) argument
707 struct tcphdr * tcp_hdr = NULL; local
849 tcp_start_coalescing(struct ip *ip_hdr, struct tcphdr *tcp_hdr, int tlen) argument
[all...]
H A Dtcp_subr.c485 struct tcphdr *tcp_hdr = (struct tcphdr *)tcp_ptr; local
500 tcp_hdr->th_sum = in6_cksum_phdr(&inp->in6p_laddr,
518 tcp_hdr->th_sum = in_pseudo(ip->ip_src.s_addr, ip->ip_dst.s_addr,
522 tcp_hdr->th_sport = inp->inp_lport;
523 tcp_hdr->th_dport = inp->inp_fport;
524 tcp_hdr->th_seq = 0;
525 tcp_hdr->th_ack = 0;
526 tcp_hdr->th_x2 = 0;
527 tcp_hdr->th_off = 5;
528 tcp_hdr
[all...]

Completed in 22 milliseconds