Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/dev/netmap/
Dnetmap_offloadings.c101 struct nm_tcphdr *tcph = (struct nm_tcphdr *)(pkt + iphlen); in gso_fix_segment() local
104 tcph->seq = htobe32(be32toh(tcph->seq) + segmented_bytes); in gso_fix_segment()
105 nm_prdis("tcp seq %u", be32toh(tcph->seq)); in gso_fix_segment()
110 tcph->flags &= ~(0x8 | 0x1); in gso_fix_segment()
113 check = &tcph->check; in gso_fix_segment()
114 check_data = (uint8_t *)tcph; in gso_fix_segment()
328 struct nm_tcphdr *tcph = (struct nm_tcphdr *) in bdg_mismatch_datapath() local
337 4 * (tcph->doff >> 4); in bdg_mismatch_datapath()
/freebsd-12-stable/tools/tools/netmap/
Dpkt_hash.c161 const struct tcphdr *tcph = NULL; in decode_ip_n_hash() local
166 tcph = (const struct tcphdr *)((const uint8_t *)iph + (iph->ip_hl<<2)); in decode_ip_n_hash()
169 ntohs(tcph->th_sport) + seed, in decode_ip_n_hash()
170 ntohs(tcph->th_dport) + seed); in decode_ip_n_hash()
232 const struct tcphdr *tcph = NULL; in decode_ipv6_n_hash() local
237 tcph = (const struct tcphdr *)(ipv6h + 1); in decode_ipv6_n_hash()
240 ntohs(tcph->th_sport) + seed, in decode_ipv6_n_hash()
241 ntohs(tcph->th_dport) + seed); in decode_ipv6_n_hash()
/freebsd-12-stable/sys/netpfil/ipfilter/netinet/
Dip_rcmd_pxy.c139 tcphdr_t *tcp, tcph, *tcp2 = &tcph; in ipf_p_rcmd_portmsg() local
Dip_raudio_pxy.c179 tcphdr_t *tcp, tcph, *tcp2 = &tcph; in ipf_p_raudio_in() local
Dip_irc_pxy.c249 tcphdr_t *tcp, tcph, *tcp2 = &tcph; in ipf_p_irc_send() local
Dip_ftp_pxy.c437 tcphdr_t tcph, *tcp2 = &tcph; in ipf_p_ftp_addport() local
816 tcphdr_t *tcp, tcph, *tcp2; in ipf_p_ftp_pasvreply() local
839 tcp2 = &tcph; in ipf_p_ftp_pasvreply()