Lines Matching refs:tcp

7435 				u8 *tcp;  in rx_osm_handler()  local
7439 skb->data, &tcp, in rx_osm_handler()
8254 struct tcphdr **tcp, struct RxD_t *rxdp, in check_L2_lro_capable() argument
8285 *tcp = (struct tcphdr *)((unsigned long)*ip + ip_len); in check_L2_lro_capable()
8291 struct tcphdr *tcp) in check_for_socket_match() argument
8296 (lro->tcph->source != tcp->source) || in check_for_socket_match()
8297 (lro->tcph->dest != tcp->dest)) in check_for_socket_match()
8302 static inline int get_l4_pyld_length(struct iphdr *ip, struct tcphdr *tcp) in get_l4_pyld_length() argument
8304 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2); in get_l4_pyld_length()
8308 struct iphdr *ip, struct tcphdr *tcp, in initiate_new_session() argument
8314 lro->tcph = tcp; in initiate_new_session()
8315 lro->tcp_next_seq = tcp_pyld_len + ntohl(tcp->seq); in initiate_new_session()
8316 lro->tcp_ack = tcp->ack_seq; in initiate_new_session()
8325 if (tcp->doff == 8) { in initiate_new_session()
8327 ptr = (__be32 *)(tcp+1); in initiate_new_session()
8338 struct tcphdr *tcp = lro->tcph; in update_L3L4_header() local
8348 tcp->ack_seq = lro->tcp_ack; in update_L3L4_header()
8349 tcp->window = lro->window; in update_L3L4_header()
8353 __be32 *ptr = (__be32 *)(tcp + 1); in update_L3L4_header()
8365 struct tcphdr *tcp, u32 l4_pyld) in aggregate_new_rx() argument
8374 lro->tcp_ack = tcp->ack_seq; in aggregate_new_rx()
8375 lro->window = tcp->window; in aggregate_new_rx()
8380 ptr = (__be32 *)(tcp+1); in aggregate_new_rx()
8387 struct tcphdr *tcp, u32 tcp_pyld_len) in verify_l3_l4_lro_capable() argument
8406 if (tcp->urg || tcp->psh || tcp->rst || in verify_l3_l4_lro_capable()
8407 tcp->syn || tcp->fin || in verify_l3_l4_lro_capable()
8408 tcp->ece || tcp->cwr || !tcp->ack) { in verify_l3_l4_lro_capable()
8421 if (tcp->doff != 5 && tcp->doff != 8) in verify_l3_l4_lro_capable()
8424 if (tcp->doff == 8) { in verify_l3_l4_lro_capable()
8425 ptr = (u8 *)(tcp + 1); in verify_l3_l4_lro_capable()
8445 u8 **tcp, u32 *tcp_len, struct lro **lro, in s2io_club_tcp_session() argument
8454 ret = check_L2_lro_capable(buffer, &ip, (struct tcphdr **)tcp, in s2io_club_tcp_session()
8462 tcph = (struct tcphdr *)*tcp; in s2io_club_tcp_session()