Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_tcp.c66 struct ip **iphpp, struct tcphdr **thpp, in sfxge_pkthdr_parse()
75 struct tcphdr *thp; in sfxge_pkthdr_parse()
144 len = off + sizeof (struct tcphdr); in sfxge_pkthdr_parse()
149 thp = (struct tcphdr *)(mp->b_rptr + off); in sfxge_pkthdr_parse()
H A Dsfxge.h306 struct tcphdr *__srp_thp;
384 struct tcphdr *srf_first_thp;
385 struct tcphdr *srf_last_thp;
510 struct tcphdr *stp_thp;
981 struct ether_header **, struct ip **, struct tcphdr **, size_t *, size_t *,
H A Dsfxge_rx.c1326 struct tcphdr *thp; in sfxge_rx_qflow_complete()
1366 struct tcphdr *thp = srpp->srp_thp; in sfxge_rx_qflow_add()
1512 struct tcphdr *thp; in sfxge_rx_qpacket_coalesce()
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c163 register struct tcphdr *oth; in vj_compress_tcp()
164 register struct tcphdr *th; in vj_compress_tcp()
182 th = (struct tcphdr *)&((int *)ip)[hlen]; in vj_compress_tcp()
274 oth = (struct tcphdr *)&((int *)&cs->cs_ip)[hlen]; in vj_compress_tcp()
498 hlen + sizeof (struct tcphdr) > buflen || in vj_uncompress_uncomp()
538 register struct tcphdr *th; in vj_uncompress_tcp()
575 th = (struct tcphdr *)((uint32_t *)&cs->cs_ip+hlen/sizeof (uint32_t)); in vj_uncompress_tcp()
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dprintpacket.c19 struct tcphdr *tcp;
52 tcp = (struct tcphdr *)((char *)ip + (IP_HL(ip) << 2));
H A Dipft_ef.c103 extra = sizeof(struct tcphdr);
H A Dipft_td.c154 extra = sizeof(struct tcphdr);
H A Dipft_tx.c229 ip->ip_len += sizeof(struct tcphdr);
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c74 struct tcphdr *tcp; in myri10ge_lro_flush()
89 tcp = (struct tcphdr *)(ip + 1); in myri10ge_lro_flush()
136 struct tcphdr *tcp; in myri10ge_lro_rx()
167 tcp = (struct tcphdr *)(ip + 1); in myri10ge_lro_rx()
H A Dmyri10ge.c1701 struct tcphdr *hdr; in myri10ge_toeplitz_send_hash()
1727 hdr = (struct tcphdr *)(void *) in myri10ge_toeplitz_send_hash()
1745 struct tcphdr *hdr; in myri10ge_simple_send_hash()
1752 hdr = (struct tcphdr *)(void *)(((uint8_t *)ip) + (ip->ip_hl << 2)); in myri10ge_simple_send_hash()
2346 stuff = start + offsetof(struct tcphdr, th_sum); in myri10ge_rx_csum()
2356 stuff = start + offsetof(struct tcphdr, th_sum); in myri10ge_rx_csum()
3062 struct tcphdr *tcp; in myri10ge_lso_parse_header()
3076 tcp = (struct tcphdr *)(void *)((char *)ip + (ip->ip_hl << 2)); in myri10ge_lso_parse_header()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop.h269 struct tcphdr;
270 extern int interpret_tcp(int, struct tcphdr *, int, int);
H A Dsnoop_tcp.c78 interpret_tcp(int flags, struct tcphdr *tcp, int iplen, int fraglen) in interpret_tcp()
130 (int)(tcp->th_off * 4 - sizeof (struct tcphdr)), line); in interpret_tcp()
205 tcp->th_off * 4 - sizeof (struct tcphdr)); in interpret_tcp()
H A Dsnoop_ipsec.c222 (struct tcphdr *)data, new_iplen, fraglen); in interpret_ah()
H A Dsnoop_icmp.c478 struct tcphdr *orig_thdr =
479 (struct tcphdr *)&orig_ip6hdr[1];
H A Dsnoop_ip.c265 (struct tcphdr *)data, iplen, fraglen); in interpret_ip()
448 (void) interpret_tcp(flags, (struct tcphdr *)data, in interpret_ipv6()
/illumos-gate/usr/src/uts/common/netinet/
H A Dtcpip.h22 struct tcphdr ti_t; /* tcp header */
H A Dtcp.h52 struct tcphdr { struct
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c1242 struct tcphdr *otcph, *ntcph; in nxge_do_softlso()
1278 otcph = (struct tcphdr *)(mp->b_rptr + ehlen + iphlen); in nxge_do_softlso()
1330 otcph = (struct tcphdr *)(mp->b_rptr + ehlen + iphlen); in nxge_do_softlso()
1570 ntcph = (struct tcphdr *)(nmp->b_rptr + ehlen + iphlen); in nxge_do_softlso()
1620 ntcph = (struct tcphdr *)(nmp->b_rptr + ehlen + iphlen); in nxge_do_softlso()
1661 ntcph = (struct tcphdr *)(nmp->b_rptr + ehlen + iphlen); in nxge_do_softlso()
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_fp.c862 struct tcphdr *tcp_hdr; in qede_pkt_parse_lso_headers()
882 tcp_hdr = (struct tcphdr *)(void *) in qede_pkt_parse_lso_headers()
1740 struct tcphdr *tcp_hdr; in qede_hash_get_txq()
1786 tcp_hdr = (struct tcphdr *)(void *) in qede_hash_get_txq()
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c1171 tcphdr_print(struct tcphdr *tcph) in tcphdr_print()
1198 tcphdr(uintptr_t addr, uint_t flags, int ac, const mdb_arg_t *av) in tcphdr() function
1200 struct tcphdr tcph; in tcphdr()
1304 struct tcphdr tcph; in transport_hdr()
1943 { "tcphdr", ":", "display a TCP header", tcphdr },
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_flow.c2330 struct tcphdr *tcph = (struct tcphdr *)l4_start; in flow_transport_accept()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c4831 struct tcphdr *tcp_hdr; in ql_hw_csum_setup()
4886 (struct tcphdr *)(void *) in ql_hw_csum_setup()
5084 struct tcphdr *tcp_hdr; in ql_tx_hashing()
5130 tcp_hdr = (struct tcphdr *)(void *) in ql_tx_hashing()
5178 struct tcphdr *tcp_hdr; in ql_hw_lso_setup()
5222 tcp_hdr = (struct tcphdr *)(void *) in ql_hw_lso_setup()
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe.h151 …N (sizeof(struct ether_vlan_header) + sizeof(struct ip) + sizeof(struct tcphdr) + BNXE_OPTION_LEN)
H A Dbnxe_tx.c743 l4HdrLen = (l2HdrLen + l3HdrLen + sizeof(struct tcphdr)); in BnxeGetHdrInfo()
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_fil_solaris.c1350 tcp2 = (struct tcphdr *)(m->b_rptr + hlen - sizeof(*tcp2));
1362 tcp2->th_off = sizeof(struct tcphdr) >> 2;

12