/drivers/infiniband/hw/nes/ |
D | nes_cm.c | 115 static int handle_tcp_options(struct nes_cm_node *cm_node, struct tcphdr *tcph, struct sk_buff *skb… 439 struct tcphdr *tcph; in form_cm_frame() local 445 packetsize += sizeof(*tcph); in form_cm_frame() 449 memset(skb->data, 0x00, ETH_HLEN + sizeof(*iph) + sizeof(*tcph)); in form_cm_frame() 458 tcph = (struct tcphdr *)buf; in form_cm_frame() 462 buf += sizeof(*tcph); in form_cm_frame() 488 tcph->source = htons(cm_node->mapped_loc_port); in form_cm_frame() 489 tcph->dest = htons(cm_node->mapped_rem_port); in form_cm_frame() 490 tcph->seq = htonl(cm_node->tcp_cntxt.loc_seq_num); in form_cm_frame() 494 tcph->ack_seq = htonl(cm_node->tcp_cntxt.loc_ack_num); in form_cm_frame() [all …]
|
D | nes_mgt.c | 178 struct tcphdr *tcph = (struct tcphdr *)(((char *)iph) + (4 * iph->ihl)); in nes_get_seq() local 180 *ack = be32_to_cpu(tcph->ack_seq); in nes_get_seq() 181 *wnd = be16_to_cpu(tcph->window); in nes_get_seq() 182 *fin_rcvd = tcph->fin; in nes_get_seq() 183 *rst_rcvd = tcph->rst; in nes_get_seq() 184 return be32_to_cpu(tcph->seq); in nes_get_seq() 246 struct tcphdr *tcph; in get_fpdu_info() local 338 tcph = (struct tcphdr *)(((char *)iph) + (4 * iph->ihl)); in get_fpdu_info() 339 fpdu_info->hdr_len = (((unsigned char *)tcph) + 4 * (tcph->doff)) - cb->data_start; in get_fpdu_info() 358 tcph = (struct tcphdr *)(((char *)iph) + (4 * iph->ihl)); in get_fpdu_info() [all …]
|
D | nes_nic.c | 365 struct tcphdr *tcph; in nes_nic_send() local 391 tcph = tcp_hdr(skb); in nes_nic_send() 396 ((u32)tcph->doff) | in nes_nic_send() 397 (((u32)(((unsigned char *)tcph) - skb->data)) << 4)); in nes_nic_send() 471 struct tcphdr *tcph; in nes_netdev_start_xmit() local 605 tcph = (struct tcphdr *) in nes_netdev_start_xmit() 608 tcph->fin = 0; in nes_netdev_start_xmit() 609 tcph->psh = 0; in nes_netdev_start_xmit() 610 tcph->rst = 0; in nes_netdev_start_xmit() 611 tcph->urg = 0; in nes_netdev_start_xmit() [all …]
|
D | nes_hw.c | 1646 void **tcph, u64 *hdr_flags, void *priv) in nes_lro_get_skb_hdr() argument 1656 *tcph = tcp_hdr(skb); in nes_lro_get_skb_hdr()
|
/drivers/staging/gdm72xx/ |
D | gdm_qos.c | 260 struct tcphdr *tcph; in gdm_qos_send_hci_pkt() local 265 tcph = (struct tcphdr *)iph + iph->ihl*4; in gdm_qos_send_hci_pkt() 278 index = get_qos_index(nic, (u8 *)iph, (u8 *)tcph); in gdm_qos_send_hci_pkt()
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_txrx.c | 1161 struct tcphdr *tcph; in i40e_tso() local 1175 tcph = skb->encapsulation ? inner_tcp_hdr(skb) : tcp_hdr(skb); in i40e_tso() 1178 tcph->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, in i40e_tso() 1184 tcph = skb->encapsulation ? inner_tcp_hdr(skb) : tcp_hdr(skb); in i40e_tso() 1186 tcph->check = ~csum_ipv6_magic(&ipv6h->saddr, &ipv6h->daddr, in i40e_tso()
|
/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 2204 const struct tcphdr *tcph; in accept_cr() local 2207 tcph = (const void *)(req + 1) + G_ETH_HDR_LEN(hlen) + in accept_cr() 2209 if (tcph->ece && tcph->cwr) in accept_cr() 3595 struct tcphdr *tcph; in rx_pkt() local 3647 tcph = (struct tcphdr *)(iph + 1); in rx_pkt() 3649 skb_set_transport_header(skb, (void *)tcph - (void *)rss); in rx_pkt() 3653 ntohl(iph->daddr), ntohs(tcph->dest), ntohl(iph->saddr), in rx_pkt() 3654 ntohs(tcph->source), iph->tos); in rx_pkt() 3656 dst = find_route(dev, iph->daddr, iph->saddr, tcph->dest, tcph->source, in rx_pkt() 3694 window = (__force u16) htons((__force u16)tcph->window); in rx_pkt() [all …]
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 1831 struct tcphdr *tcph; in i40e_tso() local 1845 tcph = skb->encapsulation ? inner_tcp_hdr(skb) : tcp_hdr(skb); in i40e_tso() 1848 tcph->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, in i40e_tso() 1854 tcph = skb->encapsulation ? inner_tcp_hdr(skb) : tcp_hdr(skb); in i40e_tso() 1856 tcph->check = ~csum_ipv6_magic(&ipv6h->saddr, &ipv6h->daddr, in i40e_tso()
|
/drivers/net/ethernet/neterion/ |
D | s2io.c | 8291 (lro->tcph->source != tcp->source) || in check_for_socket_match() 8292 (lro->tcph->dest != tcp->dest)) in check_for_socket_match() 8309 lro->tcph = tcp; in initiate_new_session() 8333 struct tcphdr *tcp = lro->tcph; in update_L3L4_header() 8444 struct tcphdr *tcph; in s2io_club_tcp_session() local 8457 tcph = (struct tcphdr *)*tcp; in s2io_club_tcp_session() 8458 *tcp_len = get_l4_pyld_length(ip, tcph); in s2io_club_tcp_session() 8462 if (check_for_socket_match(l_lro, ip, tcph)) in s2io_club_tcp_session() 8467 if ((*lro)->tcp_next_seq != ntohl(tcph->seq)) { in s2io_club_tcp_session() 8472 ntohl(tcph->seq)); in s2io_club_tcp_session() [all …]
|
D | s2io.h | 676 struct tcphdr *tcph; member
|
/drivers/s390/net/ |
D | qeth_l3_main.c | 2870 struct tcphdr *tcph = tcp_hdr(skb); in qeth_tso_fill_header() local 2885 hdr->ext.dg_hdr_len = (__u16)(iph->ihl*4 + tcph->doff*4); in qeth_tso_fill_header() 2888 tcph->check = 0; in qeth_tso_fill_header() 2891 tcph->check = ~csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, in qeth_tso_fill_header() 2895 tcph->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, in qeth_tso_fill_header()
|
/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 261 void **tcph, u64 *hdr_flags, void *data) in get_skb_hdr() argument 279 *tcph = tcp_hdr(skb); in get_skb_hdr()
|
/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 882 struct tcphdr *tcph = tcp_hdr(skb); in vmxnet3_prepare_tso() local 888 tcph->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, 0, in vmxnet3_prepare_tso() 893 tcph->check = ~csum_ipv6_magic(&iph->saddr, &iph->daddr, 0, in vmxnet3_prepare_tso()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 7889 struct tcphdr *tcph = NULL; in tg3_start_xmit() local 7952 tcph = tcp_hdr(skb); in tg3_start_xmit() 7953 tcp_csum = tcph->check; in tg3_start_xmit() 7958 tcph->check = 0; in tg3_start_xmit() 7961 tcph->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, in tg3_start_xmit() 8082 tcph->check = tcp_csum; in tg3_start_xmit()
|