Home
last modified time | relevance | path

Searched refs:tcp_pkt (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/net/
H A Dfilter-rewriter.c75 struct tcp_hdr *tcp_pkt; in handle_primary_tcp_pkt() local
77 tcp_pkt = (struct tcp_hdr *)pkt->transport_header; in handle_primary_tcp_pkt()
81 ntohl(tcp_pkt->th_seq), ntohl(tcp_pkt->th_ack), in handle_primary_tcp_pkt()
82 tcp_pkt->th_flags); in handle_primary_tcp_pkt()
89 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == (TH_ACK | TH_SYN)) && in handle_primary_tcp_pkt()
94 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_SYN)) { in handle_primary_tcp_pkt()
102 if (((tcp_pkt->th_flags & (TH_ACK | TH_SYN)) == TH_ACK)) { in handle_primary_tcp_pkt()
109 conn->offset -= (ntohl(tcp_pkt->th_ack) - 1); in handle_primary_tcp_pkt()
114 tcp_pkt->th_ack = htonl(ntohl(tcp_pkt->th_ack) + conn->offset); in handle_primary_tcp_pkt()
124 (ntohl(tcp_pkt->th_ack) == (conn->fin_ack_seq + 1))) { in handle_primary_tcp_pkt()
[all …]