Home
last modified time | relevance | path

Searched refs:tcph (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/dev/irdma/
H A Dirdma_cm.c418 tcph->th_off = (u16)((sizeof(*tcph) + opts_len + 3) >> 2); in irdma_form_ah_cm_frame()
605 tcph->th_off = (u16)((sizeof(*tcph) + opts_len + 3) >> 2); in irdma_form_uda_cm_frame()
2541 struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; in irdma_handle_syn_pkt() local
2546 optionsize = (tcph->th_off << 2) - sizeof(*tcph); in irdma_handle_syn_pkt()
2608 struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; in irdma_handle_synack_pkt() local
2613 optionsize = (tcph->th_off << 2) - sizeof(*tcph); in irdma_handle_synack_pkt()
2681 struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; in irdma_handle_ack_pkt() local
2687 optionsize = (tcph->th_off << 2) - sizeof(*tcph); in irdma_handle_ack_pkt()
2766 struct tcphdr *tcph = (struct tcphdr *)rbuf->tcph; in irdma_process_pkt() local
3045 tcph = (struct tcphdr *)rbuf->tcph; in irdma_receive_ilq()
[all …]
H A Dirdma_utils.c1291 struct tcphdr *tcph = (struct tcphdr *)buf->tcph; in irdma_ieq_get_qp() local
1323 struct tcphdr *tcph = (struct tcphdr *)buf->tcph; in irdma_send_ieq_ack() local
1386 struct tcphdr *tcph; in irdma_gen1_ieq_update_tcpip_info() local
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()
1418 tcph->th_seq = htonl(seqnum); in irdma_ieq_update_tcpip_info()
1433 struct tcphdr *tcph; in irdma_gen1_puda_get_tcpip_info() local
1451 tcph = (struct tcphdr *)buf->tcph; in irdma_gen1_puda_get_tcpip_info()
1487 struct tcphdr *tcph; in irdma_puda_get_tcpip_info() local
[all …]
H A Dirdma_puda.h95 u8 *tcph; member
/freebsd/sys/dev/netmap/
H A Dnetmap_offloadings.c100 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 Dpkt_hash.c160 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 Dip_rcmd_pxy.c137 tcphdr_t *tcp, tcph, *tcp2 = &tcph; in ipf_p_rcmd_portmsg() local
H A Dip_raudio_pxy.c178 tcphdr_t *tcp, tcph, *tcp2 = &tcph; in ipf_p_raudio_in() local
H A Dip_irc_pxy.c249 tcphdr_t *tcp, tcph, *tcp2 = &tcph; in ipf_p_irc_send() local
H A Dip_ftp_pxy.c432 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 Decore_iwarp.c2014 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()