| /drivers/infiniband/hw/irdma/ |
| A D | cm.c | 356 tcph->ack = 1; in irdma_form_ah_cm_frame() 363 tcph->syn = 1; in irdma_form_ah_cm_frame() 376 tcph->doff = (u16)((sizeof(*tcph) + opts_len + 3) >> 2); in irdma_form_ah_cm_frame() 564 tcph->doff = (u16)((sizeof(*tcph) + opts_len + 3) >> 2); in irdma_form_uda_cm_frame() 2679 struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; in irdma_handle_syn_pkt() local 2745 struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; in irdma_handle_synack_pkt() local 2818 struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; in irdma_handle_ack_pkt() local 2902 struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; in irdma_process_pkt() local 3178 tcph = (struct tcphdr *)rbuf->tcph; in irdma_receive_ilq() 3203 if (!tcph->syn || tcph->ack) in irdma_receive_ilq() [all …]
|
| A D | utils.c | 1306 struct tcphdr *tcph = (struct tcphdr *)buf->tcph; in irdma_ieq_get_qp() local 1316 loc_port = ntohs(tcph->dest); in irdma_ieq_get_qp() 1337 struct tcphdr *tcph = (struct tcphdr *)buf->tcph; in irdma_send_ieq_ack() local 1399 struct tcphdr *tcph; in irdma_gen1_ieq_update_tcpip_info() local 1410 tcph->seq = htonl(seqnum); in irdma_gen1_ieq_update_tcpip_info() 1422 struct tcphdr *tcph; in irdma_ieq_update_tcpip_info() local 1430 tcph->seq = htonl(seqnum); in irdma_ieq_update_tcpip_info() 1444 struct tcphdr *tcph; in irdma_gen1_puda_get_tcpip_info() local 1462 tcph = (struct tcphdr *)buf->tcph; in irdma_gen1_puda_get_tcpip_info() 1497 struct tcphdr *tcph; in irdma_puda_get_tcpip_info() local [all …]
|
| A D | puda.h | 63 u8 *tcph; member
|
| /drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
| A D | chtls_cm.c | 1012 const struct tcphdr *tcph; in chtls_pass_accept_rpl() local 1056 tcph = (struct tcphdr *)((u8 *)(req + 1) + in chtls_pass_accept_rpl() 1058 if (tcph->ece && tcph->cwr) in chtls_pass_accept_rpl() 1299 struct tcphdr *tcph; in chtls_pass_accept_request() local 1354 tcph = (struct tcphdr *)(iph + 1); in chtls_pass_accept_request() 1358 tcph = (struct tcphdr *)(ip6h + 1); in chtls_pass_accept_request() 1373 tcp_rsk(oreq)->rcv_isn = ntohl(tcph->seq); in chtls_pass_accept_request() 1374 chtls_set_req_port(oreq, tcph->source, tcph->dest); in chtls_pass_accept_request() 1391 th_ecn = tcph->ece && tcph->cwr; in chtls_pass_accept_request()
|
| /drivers/net/ethernet/ibm/ |
| A D | ibmveth.c | 1334 struct tcphdr *tcph; in ibmveth_rx_mss_helper() local 1363 tcph = (struct tcphdr *)(skb->data + offset); in ibmveth_rx_mss_helper() 1367 skb_shinfo(skb)->gso_size = ntohs(tcph->check); in ibmveth_rx_mss_helper() 1368 tcph->check = 0; in ibmveth_rx_mss_helper() 1372 hdr_len = offset + tcph->doff * 4; in ibmveth_rx_mss_helper() 1427 struct tcphdr *tcph = (struct tcphdr *)(skb->data + iphlen); in ibmveth_rx_csum_helper() local 1429 if (tcph->check == 0x0000) { in ibmveth_rx_csum_helper() 1433 tcph->check = in ibmveth_rx_csum_helper() 1437 tcph->check = in ibmveth_rx_csum_helper()
|
| /drivers/net/ethernet/intel/idpf/ |
| A D | idpf_ethtool.c | 113 struct tcphdr *tcph, *tcpm; in idpf_fsteer_fill_tcp() local 117 tcph = (struct tcphdr *)hdrs->proto_hdr[1].buffer_spec; in idpf_fsteer_fill_tcp() 121 tcph->source = fsp->h_u.tcp_ip4_spec.psrc; in idpf_fsteer_fill_tcp() 122 tcph->dest = fsp->h_u.tcp_ip4_spec.pdst; in idpf_fsteer_fill_tcp() 126 tcph->source = fsp->h_u.tcp_ip6_spec.psrc; in idpf_fsteer_fill_tcp() 127 tcph->dest = fsp->h_u.tcp_ip6_spec.pdst; in idpf_fsteer_fill_tcp()
|
| /drivers/infiniband/hw/cxgb4/ |
| A D | cm.c | 2465 const struct tcphdr *tcph; in accept_cr() local 2469 tcph = (const void *)(req + 1) + ETH_HDR_LEN_G(hlen) + in accept_cr() 2472 tcph = (const void *)(req + 1) + in accept_cr() 2474 if (tcph->ece && tcph->cwr) in accept_cr() 4067 struct tcphdr *tcph; in rx_pkt() local 4132 tcph = (struct tcphdr *)(iph + 1); in rx_pkt() 4139 ntohs(tcph->source), iph->tos); in rx_pkt() 4142 iph->daddr, iph->saddr, tcph->dest, in rx_pkt() 4143 tcph->source, iph->tos); in rx_pkt() 4180 window = (__force u16) htons((__force u16)tcph->window); in rx_pkt() [all …]
|
| /drivers/net/ethernet/intel/iavf/ |
| A D | iavf_fdir.c | 399 struct tcphdr *tcph = (struct tcphdr *)hdr->buffer; in iavf_fill_fdir_tcp_hdr() local 404 tcph->source = fltr->ip_data.src_port; in iavf_fill_fdir_tcp_hdr() 409 tcph->dest = fltr->ip_data.dst_port; in iavf_fill_fdir_tcp_hdr()
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_virtchnl_fdir.c | 948 struct tcphdr *tcph; in ice_vc_fdir_parse_pattern() local 992 tcph = (struct tcphdr *)hdr->buffer; in ice_vc_fdir_parse_pattern() 1000 input->ip.v4.src_port = tcph->source; in ice_vc_fdir_parse_pattern() 1001 input->ip.v4.dst_port = tcph->dest; in ice_vc_fdir_parse_pattern() 1003 input->ip.v6.src_port = tcph->source; in ice_vc_fdir_parse_pattern() 1004 input->ip.v6.dst_port = tcph->dest; in ice_vc_fdir_parse_pattern()
|
| /drivers/target/iscsi/cxgbit/ |
| A D | cxgbit_cm.c | 1133 const struct tcphdr *tcph; in cxgbit_pass_accept_rpl() local 1193 tcph = (struct tcphdr *)((u8 *)(req + 1) + in cxgbit_pass_accept_rpl() 1196 tcph = (struct tcphdr *)((u8 *)(req + 1) + in cxgbit_pass_accept_rpl() 1199 if (tcph->ece && tcph->cwr) in cxgbit_pass_accept_rpl()
|
| /drivers/net/ethernet/qlogic/qed/ |
| A D | qed_iwarp.c | 1679 struct tcphdr *tcph; in qed_iwarp_parse_rx_pkt() local 1756 tcph = (struct tcphdr *)((u8 *)iph + ip_hlen); in qed_iwarp_parse_rx_pkt() 1758 if (!tcph->syn) { in qed_iwarp_parse_rx_pkt() 1761 iph->ihl, tcph->source, tcph->dest); in qed_iwarp_parse_rx_pkt() 1765 cm_info->local_port = ntohs(tcph->dest); in qed_iwarp_parse_rx_pkt() 1766 cm_info->remote_port = ntohs(tcph->source); in qed_iwarp_parse_rx_pkt()
|
| /drivers/net/ethernet/neterion/ |
| A D | s2io.c | 8208 (lro->tcph->source != tcp->source) || in check_for_socket_match() 8209 (lro->tcph->dest != tcp->dest)) in check_for_socket_match() 8226 lro->tcph = tcp; in initiate_new_session() 8250 struct tcphdr *tcp = lro->tcph; in update_L3L4_header() 8361 struct tcphdr *tcph; in s2io_club_tcp_session() local 8374 tcph = (struct tcphdr *)*tcp; in s2io_club_tcp_session() 8375 *tcp_len = get_l4_pyld_length(ip, tcph); in s2io_club_tcp_session() 8379 if (check_for_socket_match(l_lro, ip, tcph)) in s2io_club_tcp_session() 8389 ntohl(tcph->seq)); in s2io_club_tcp_session() 8396 if (!verify_l3_l4_lro_capable(l_lro, ip, tcph, in s2io_club_tcp_session() [all …]
|
| A D | s2io.h | 677 struct tcphdr *tcph; member
|
| /drivers/net/ethernet/wangxun/libwx/ |
| A D | wx_lib.c | 1227 struct tcphdr *tcph; in wx_tso() local 1245 tcph = enc ? inner_tcp_hdr(skb) : tcp_hdr(skb); in wx_tso() 1248 tcph->check = ~csum_tcpudp_magic(iph->saddr, in wx_tso() 1257 tcph = enc ? inner_tcp_hdr(skb) : tcp_hdr(skb); in wx_tso() 1259 tcph->check = ~csum_ipv6_magic(&ipv6h->saddr, in wx_tso()
|
| /drivers/net/ethernet/freescale/enetc/ |
| A D | enetc.c | 560 struct tcphdr *tcph = (struct tcphdr *)(l4_hdr); in enetc_tso_hdr_csum() local 562 tcph->check = 0; in enetc_tso_hdr_csum() 604 struct tcphdr *tcph = (struct tcphdr *)(l4_hdr); in enetc_tso_complete_csum() local 606 tcph->check = csum_final; in enetc_tso_complete_csum()
|
| /drivers/net/vmxnet3/ |
| A D | vmxnet3_drv.c | 1087 struct tcphdr *tcph = inner_tcp_hdr(skb); in vmxnet3_prepare_inner_tso() local 1092 tcph->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, 0, in vmxnet3_prepare_inner_tso() 1097 tcph->check = ~csum_ipv6_magic(&iph->saddr, &iph->daddr, 0, in vmxnet3_prepare_inner_tso() 1106 struct tcphdr *tcph = tcp_hdr(skb); in vmxnet3_prepare_tso() local 1112 tcph->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, 0, in vmxnet3_prepare_tso()
|
| /drivers/net/ethernet/meta/fbnic/ |
| A D | fbnic_txrx.c | 216 struct tcphdr *tcph = (struct tcphdr *)l4hdr; in fbnic_tx_lso() local 220 csum_replace_by_diff(&tcph->check, (__force __wsum)payload_len); in fbnic_tx_lso()
|
| /drivers/net/ethernet/broadcom/ |
| A D | tg3.c | 7977 struct tcphdr *tcph = NULL; in __tg3_start_xmit() local 8045 tcph = tcp_hdr(skb); in __tg3_start_xmit() 8046 tcp_csum = tcph->check; in __tg3_start_xmit() 8051 tcph->check = 0; in __tg3_start_xmit() 8054 tcph->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, in __tg3_start_xmit() 8181 tcph->check = tcp_csum; in __tg3_start_xmit()
|