Lines Matching refs:tcp

7435 				u8 *tcp;  in rx_osm_handler()  local
7439 skb->data, &tcp, in rx_osm_handler()
8230 struct tcphdr **tcp, struct RxD_t *rxdp, in check_L2_lro_capable() argument
8261 *tcp = (struct tcphdr *)((unsigned long)*ip + ip_len); in check_L2_lro_capable()
8267 struct tcphdr *tcp) in check_for_socket_match() argument
8272 (lro->tcph->source != tcp->source) || in check_for_socket_match()
8273 (lro->tcph->dest != tcp->dest)) in check_for_socket_match()
8278 static inline int get_l4_pyld_length(struct iphdr *ip, struct tcphdr *tcp) in get_l4_pyld_length() argument
8280 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2); in get_l4_pyld_length()
8284 struct iphdr *ip, struct tcphdr *tcp, in initiate_new_session() argument
8290 lro->tcph = tcp; in initiate_new_session()
8291 lro->tcp_next_seq = tcp_pyld_len + ntohl(tcp->seq); in initiate_new_session()
8292 lro->tcp_ack = tcp->ack_seq; in initiate_new_session()
8301 if (tcp->doff == 8) { in initiate_new_session()
8303 ptr = (__be32 *)(tcp+1); in initiate_new_session()
8314 struct tcphdr *tcp = lro->tcph; in update_L3L4_header() local
8324 tcp->ack_seq = lro->tcp_ack; in update_L3L4_header()
8325 tcp->window = lro->window; in update_L3L4_header()
8329 __be32 *ptr = (__be32 *)(tcp + 1); in update_L3L4_header()
8341 struct tcphdr *tcp, u32 l4_pyld) in aggregate_new_rx() argument
8350 lro->tcp_ack = tcp->ack_seq; in aggregate_new_rx()
8351 lro->window = tcp->window; in aggregate_new_rx()
8356 ptr = (__be32 *)(tcp+1); in aggregate_new_rx()
8363 struct tcphdr *tcp, u32 tcp_pyld_len) in verify_l3_l4_lro_capable() argument
8382 if (tcp->urg || tcp->psh || tcp->rst || in verify_l3_l4_lro_capable()
8383 tcp->syn || tcp->fin || in verify_l3_l4_lro_capable()
8384 tcp->ece || tcp->cwr || !tcp->ack) { in verify_l3_l4_lro_capable()
8397 if (tcp->doff != 5 && tcp->doff != 8) in verify_l3_l4_lro_capable()
8400 if (tcp->doff == 8) { in verify_l3_l4_lro_capable()
8401 ptr = (u8 *)(tcp + 1); in verify_l3_l4_lro_capable()
8421 u8 **tcp, u32 *tcp_len, struct lro **lro, in s2io_club_tcp_session() argument
8430 ret = check_L2_lro_capable(buffer, &ip, (struct tcphdr **)tcp, in s2io_club_tcp_session()
8438 tcph = (struct tcphdr *)*tcp; in s2io_club_tcp_session()