Home
last modified time | relevance | path

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

/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c448 struct cfg80211_wowlan_tcp *tcp, in iwl_mvm_build_tcp_packet() argument
456 struct tcphdr tcp; in iwl_mvm_build_tcp_packet() member
471 memcpy(pkt->eth.h_dest, tcp->dst_mac, ETH_ALEN); in iwl_mvm_build_tcp_packet()
474 pkt->ip.saddr = tcp->src; in iwl_mvm_build_tcp_packet()
475 pkt->ip.daddr = tcp->dst; in iwl_mvm_build_tcp_packet()
476 pkt->tcp.source = cpu_to_be16(tcp->src_port); in iwl_mvm_build_tcp_packet()
477 pkt->tcp.dest = cpu_to_be16(tcp->dst_port); in iwl_mvm_build_tcp_packet()
479 pkt->tcp.doff = sizeof(struct tcphdr) / 4; in iwl_mvm_build_tcp_packet()
480 pkt->tcp.window = cpu_to_be16(65000); in iwl_mvm_build_tcp_packet()
486 memcpy(pkt->eth.h_source, tcp->dst_mac, ETH_ALEN); in iwl_mvm_build_tcp_packet()
[all …]
Dmac80211.c689 mvm->wowlan.tcp = &iwl_mvm_wowlan_tcp_support; in iwl_mvm_mac_setup_register()
/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_cm.c53 struct tcphdr *tcp = (struct tcphdr *) in cxgb_get_4tuple() local
59 ntohs(tcp->source), ntohs(tcp->dest)); in cxgb_get_4tuple()
66 ntohs(tcp->source), ntohs(tcp->dest)); in cxgb_get_4tuple()
71 *peer_port = tcp->source; in cxgb_get_4tuple()
72 *local_port = tcp->dest; in cxgb_get_4tuple()
/drivers/infiniband/hw/i40iw/
Di40iw_ctrl.c2445 struct i40iw_tcp_offload_info *tcp; in i40iw_sc_qp_setctx() local
2449 tcp = info->tcp_info; in i40iw_sc_qp_setctx()
2518 qw0 |= LS_64(tcp->ipv4, I40IWQPC_IPV4) | in i40iw_sc_qp_setctx()
2519 LS_64(tcp->no_nagle, I40IWQPC_NONAGLE) | in i40iw_sc_qp_setctx()
2520 LS_64(tcp->insert_vlan_tag, I40IWQPC_INSERTVLANTAG) | in i40iw_sc_qp_setctx()
2521 LS_64(tcp->time_stamp, I40IWQPC_TIMESTAMP) | in i40iw_sc_qp_setctx()
2522 LS_64(tcp->cwnd_inc_limit, I40IWQPC_LIMIT) | in i40iw_sc_qp_setctx()
2523 LS_64(tcp->drop_ooo_seg, I40IWQPC_DROPOOOSEG) | in i40iw_sc_qp_setctx()
2524 LS_64(tcp->dup_ack_thresh, I40IWQPC_DUPACK_THRESH); in i40iw_sc_qp_setctx()
2526 qw3 |= LS_64(tcp->ttl, I40IWQPC_TTL) | in i40iw_sc_qp_setctx()
[all …]
/drivers/net/vmxnet3/
Dvmxnet3_defs.h271 u32 tcp:1; /* TCP packet */ member
279 u32 tcp:1; /* TCP packet */ member
304 u32 tcp:1; /* TCP packet */ member
312 u32 tcp:1; /* TCP packet */ member
Dvmxnet3_drv.c1162 BUG_ON(!(gdesc->rcd.tcp || gdesc->rcd.udp)); in vmxnet3_rx_csum()
1167 BUG_ON(!(gdesc->rcd.tcp || gdesc->rcd.udp)); in vmxnet3_rx_csum()
1220 struct tcphdr *tcp; in vmxnet3_get_hdr_len() member
1222 BUG_ON(gdesc->rcd.tcp == 0); in vmxnet3_get_hdr_len()
1253 return (hlen + (hdr.tcp->doff << 2)); in vmxnet3_get_hdr_len()
1473 if (!rcd->tcp || !adapter->lro) in vmxnet3_rq_rx_complete()
/drivers/scsi/fnic/
Dcq_enet_desc.h99 u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok, in cq_enet_rq_desc_dec() argument
157 *tcp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_TCP) ? 1 : 0; in cq_enet_rq_desc_dec()
Dfnic_fcs.c803 u8 tcp_udp_csum_ok, udp, tcp, ipv4_csum_ok; in fnic_rq_cmpl_frame_recv() local
843 &tcp_udp_csum_ok, &udp, &tcp, in fnic_rq_cmpl_frame_recv()
/drivers/net/ethernet/cisco/enic/
Dcq_enet_desc.h110 u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok, in cq_enet_rq_desc_dec() argument
175 *tcp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_TCP) ? 1 : 0; in cq_enet_rq_desc_dec()
Denic_main.c1115 u8 tcp_udp_csum_ok, udp, tcp, ipv4_csum_ok; in enic_rq_indicate_buf() local
1132 &fcoe_eof, &tcp_udp_csum_ok, &udp, &tcp, in enic_rq_indicate_buf()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c489 struct tcphdr *tcp; in mlx5e_lro_update_hdr() local
506 tcp = (struct tcphdr *)(skb->data + network_depth + in mlx5e_lro_update_hdr()
511 tcp = (struct tcphdr *)(skb->data + network_depth + in mlx5e_lro_update_hdr()
518 tcp->psh = 1; in mlx5e_lro_update_hdr()
521 tcp->ack = 1; in mlx5e_lro_update_hdr()
522 tcp->ack_seq = cqe->lro_ack_seq_num; in mlx5e_lro_update_hdr()
523 tcp->window = cqe->lro_tcp_win; in mlx5e_lro_update_hdr()
/drivers/net/ethernet/neterion/
Ds2io.c7428 u8 *tcp; in rx_osm_handler() local
7432 skb->data, &tcp, in rx_osm_handler()
8223 struct tcphdr **tcp, struct RxD_t *rxdp, in check_L2_lro_capable() argument
8254 *tcp = (struct tcphdr *)((unsigned long)*ip + ip_len); in check_L2_lro_capable()
8260 struct tcphdr *tcp) in check_for_socket_match() argument
8265 (lro->tcph->source != tcp->source) || in check_for_socket_match()
8266 (lro->tcph->dest != tcp->dest)) in check_for_socket_match()
8271 static inline int get_l4_pyld_length(struct iphdr *ip, struct tcphdr *tcp) in get_l4_pyld_length() argument
8273 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2); in get_l4_pyld_length()
8277 struct iphdr *ip, struct tcphdr *tcp, in initiate_new_session() argument
[all …]
Ds2io.h1123 u8 **tcp, u32 *tcp_len, struct lro **lro, struct RxD_t *rxdp,
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c272 struct tcphdr *tcp; in i40e_add_del_fdir_tcpv4() local
289 tcp = (struct tcphdr *)(raw_packet + IP_HEADER_OFFSET in i40e_add_del_fdir_tcpv4()
293 tcp->dest = fd_data->dst_port; in i40e_add_del_fdir_tcpv4()
295 tcp->source = fd_data->src_port; in i40e_add_del_fdir_tcpv4()
2286 struct tcphdr *tcp; in i40e_tso() member
2350 csum_replace_by_diff(&l4.tcp->check, htonl(paylen)); in i40e_tso()
2353 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in i40e_tso()
2427 struct tcphdr *tcp; in i40e_tx_enable_csum() member
2546 offset |= l4.tcp->doff << I40E_TX_DESC_LENGTH_L4_FC_LEN_SHIFT; in i40e_tx_enable_csum()
/drivers/staging/lustre/lnet/
DKconfig7 very different networks like tcp and ib verbs in a uniform way. In the
/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c1553 struct tcphdr *tcp; in i40e_tso() member
1617 csum_replace_by_diff(&l4.tcp->check, htonl(paylen)); in i40e_tso()
1620 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in i40e_tso()
1652 struct tcphdr *tcp; in i40e_tx_enable_csum() member
1771 offset |= l4.tcp->doff << I40E_TX_DESC_LENGTH_L4_FC_LEN_SHIFT; in i40e_tx_enable_csum()
/drivers/staging/slicoss/
Dslic.h253 struct sliccp_stats tcp; member
Dslicoss.c1017 UPDATE_STATS_GB(stst->tcp.xmit_tcp_segs, stats->xmit_tcp_segs, in slic_upr_request_complete()
1020 UPDATE_STATS_GB(stst->tcp.xmit_tcp_bytes, stats->xmit_tcp_bytes, in slic_upr_request_complete()
1023 UPDATE_STATS_GB(stst->tcp.rcv_tcp_segs, stats->rcv_tcp_segs, in slic_upr_request_complete()
1026 UPDATE_STATS_GB(stst->tcp.rcv_tcp_bytes, stats->rcv_tcp_bytes, in slic_upr_request_complete()
/drivers/net/ethernet/broadcom/
Dcnic_defs.h1046 struct tstorm_tcp_tcp_ag_context_section tcp; member
2013 struct xstorm_tcp_tcp_ag_context_section tcp; member
2250 struct xstorm_tcp_tcp_ag_context_section tcp; member
4245 struct tstorm_tcp_st_context_section tcp; member
4475 struct xstorm_tcp_context_section tcp; member
Dcnic.c1773 ictx->tstorm_st_context.tcp.cwnd = 0x5A8; in cnic_setup_bnx2x_ctx()
1774 ictx->tstorm_st_context.tcp.flags2 |= in cnic_setup_bnx2x_ctx()
1776 ictx->tstorm_st_context.tcp.ooo_support_mode = in cnic_setup_bnx2x_ctx()
/drivers/net/ethernet/intel/igbvf/
Dnetdev.c1944 struct tcphdr *tcp; in igbvf_tso() member
1988 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in igbvf_tso()
1992 csum_replace_by_diff(&l4.tcp->check, htonl(paylen)); in igbvf_tso()
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c3308 struct tcphdr *tcp; in ixgbevf_tso() member
3357 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in ixgbevf_tso()
3361 csum_replace_by_diff(&l4.tcp->check, htonl(paylen)); in ixgbevf_tso()
/drivers/net/ethernet/intel/igb/
Digb_main.c4914 struct tcphdr *tcp; in igb_tso() member
4963 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in igb_tso()
4967 csum_replace_by_diff(&l4.tcp->check, htonl(paylen)); in igb_tso()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c7255 struct tcphdr *tcp; in ixgbe_tso() member
7304 *hdr_len = (l4.tcp->doff * 4) + l4_offset; in ixgbe_tso()
7308 csum_replace_by_diff(&l4.tcp->check, htonl(paylen)); in ixgbe_tso()
/drivers/net/ethernet/qlogic/qed/
Dqed_hsi.h7391 __le32 tcp[32]; member