Searched refs:tcph (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/dev/irdma/ |
H A D | irdma_cm.c | 352 struct tcphdr *tcph; in irdma_form_ah_cm_frame() local 380 pktsize = sizeof(*tcph) + opts_len + hdr_len + pd_len; in irdma_form_ah_cm_frame() 385 sqbuf->tcphlen = sizeof(*tcph) + opts_len; in irdma_form_ah_cm_frame() 388 tcph = (struct tcphdr *)buf; in irdma_form_ah_cm_frame() 389 buf += sizeof(*tcph); in irdma_form_ah_cm_frame() 391 tcph->th_sport = htons(cm_node->loc_port); in irdma_form_ah_cm_frame() 392 tcph->th_dport = htons(cm_node->rem_port); in irdma_form_ah_cm_frame() 393 tcph->th_seq = htonl(cm_node->tcp_cntxt.loc_seq_num); in irdma_form_ah_cm_frame() 397 tcph->th_ack = htonl(cm_node->tcp_cntxt.loc_ack_num); in irdma_form_ah_cm_frame() 398 tcp_set_flags(tcph, tcp_get_flags(tcph) | TH_ACK); in irdma_form_ah_cm_frame() [all …]
|
H A D | irdma_utils.c | 1291 struct tcphdr *tcph = (struct tcphdr *)buf->tcph; in irdma_ieq_get_qp() local 1301 loc_port = ntohs(tcph->th_dport); in irdma_ieq_get_qp() 1302 rem_port = ntohs(tcph->th_sport); in irdma_ieq_get_qp() 1323 struct tcphdr *tcph = (struct tcphdr *)buf->tcph; in irdma_send_ieq_ack() local 1326 cm_node->tcp_cntxt.loc_seq_num = ntohl(tcph->th_ack); in irdma_send_ieq_ack() 1386 struct tcphdr *tcph; in irdma_gen1_ieq_update_tcpip_info() local 1394 tcph = (struct tcphdr *)(addr + buf->maclen + iphlen); in irdma_gen1_ieq_update_tcpip_info() 1397 tcph->th_seq = htonl(seqnum); in irdma_gen1_ieq_update_tcpip_info() 1410 struct tcphdr *tcph; in irdma_ieq_update_tcpip_info() local 1417 tcph = (struct tcphdr *)addr; in irdma_ieq_update_tcpip_info() [all …]
|
H A D | irdma_puda.h | 95 u8 *tcph; member
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_offloadings.c | 100 struct nm_tcphdr *tcph = (struct nm_tcphdr *)(pkt + iphlen); in gso_fix_segment() local 103 tcph->seq = htobe32(be32toh(tcph->seq) + segmented_bytes); in gso_fix_segment() 104 nm_prdis("tcp seq %u", be32toh(tcph->seq)); in gso_fix_segment() 109 tcph->flags &= ~(0x8 | 0x1); in gso_fix_segment() 112 check = &tcph->check; in gso_fix_segment() 113 check_data = (uint8_t *)tcph; in gso_fix_segment() 327 struct nm_tcphdr *tcph = (struct nm_tcphdr *) in bdg_mismatch_datapath() local 336 4 * (tcph->doff >> 4); in bdg_mismatch_datapath()
|
/freebsd/tools/tools/netmap/ |
H A D | pkt_hash.c | 160 const struct tcphdr *tcph = NULL; in decode_ip_n_hash() local 165 tcph = (const struct tcphdr *)((const uint8_t *)iph + (iph->ip_hl<<2)); in decode_ip_n_hash() 168 ntohs(tcph->th_sport) + seed, in decode_ip_n_hash() 169 ntohs(tcph->th_dport) + seed); in decode_ip_n_hash() 231 const struct tcphdr *tcph = NULL; in decode_ipv6_n_hash() local 236 tcph = (const struct tcphdr *)(ipv6h + 1); in decode_ipv6_n_hash() 239 ntohs(tcph->th_sport) + seed, in decode_ipv6_n_hash() 240 ntohs(tcph->th_dport) + seed); in decode_ipv6_n_hash()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_rcmd_pxy.c | 137 tcphdr_t *tcp, tcph, *tcp2 = &tcph; in ipf_p_rcmd_portmsg() local
|
H A D | ip_raudio_pxy.c | 178 tcphdr_t *tcp, tcph, *tcp2 = &tcph; in ipf_p_raudio_in() local
|
H A D | ip_irc_pxy.c | 249 tcphdr_t *tcp, tcph, *tcp2 = &tcph; in ipf_p_irc_send() local
|
H A D | ip_ftp_pxy.c | 432 tcphdr_t tcph, *tcp2 = &tcph; in ipf_p_ftp_addport() local 811 tcphdr_t *tcp, tcph, *tcp2; in ipf_p_ftp_pasvreply() local 834 tcp2 = &tcph; in ipf_p_ftp_pasvreply()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_iwarp.c | 2014 struct ecore_tcphdr *tcph; in ecore_iwarp_parse_rx_pkt() local 2092 tcph = (struct ecore_tcphdr *)((u8 *)iph + ip_hlen); in ecore_iwarp_parse_rx_pkt() 2094 if (!tcph->syn) { in ecore_iwarp_parse_rx_pkt() 2097 iph->ihl, tcph->source, tcph->dest); in ecore_iwarp_parse_rx_pkt() 2101 cm_info->local_port = ntohs(tcph->dest); in ecore_iwarp_parse_rx_pkt() 2102 cm_info->remote_port = ntohs(tcph->source); in ecore_iwarp_parse_rx_pkt() 2500 struct ecore_tcphdr *tcph; in ecore_iwarp_mpa_print_tcp_seq() local 2531 tcph = (struct ecore_tcphdr *)((u8 *)iph + ip_hlen); in ecore_iwarp_mpa_print_tcp_seq() 2534 ntohl(tcph->seq), ntohl(tcph->ack_seq)); in ecore_iwarp_mpa_print_tcp_seq()
|