Searched refs:tcphdr (Results 1 - 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/uts/common/netinet/
H A Dtcpip.h23 struct tcphdr ti_t; /* tcp header */
H A Dtcp.h51 struct tcphdr { struct
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_tcp.c66 struct ip **iphpp, struct tcphdr **thpp,
75 struct tcphdr *thp;
144 len = off + sizeof (struct tcphdr);
149 thp = (struct tcphdr *)(mp->b_rptr + off);
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;
1366 struct tcphdr *thp = srpp->srp_thp;
1512 struct tcphdr *thp;
H A Dsfxge_tx.c1571 struct tcphdr *thp = stpp->stp_thp;
2750 struct tcphdr *thp;
/illumos-gate/usr/src/cmd/ipf/lib/common/
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.c231 ip->ip_len += sizeof(struct tcphdr);
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c165 register struct tcphdr *oth;
166 register struct tcphdr *th;
184 th = (struct tcphdr *)&((int *)ip)[hlen];
276 oth = (struct tcphdr *)&((int *)&cs->cs_ip)[hlen];
500 hlen + sizeof (struct tcphdr) > buflen ||
540 register struct tcphdr *th;
577 th = (struct tcphdr *)((uint32_t *)&cs->cs_ip+hlen/sizeof (uint32_t));
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_lro.c79 struct tcphdr *tcp;
94 tcp = (struct tcphdr *)(ip + 1);
141 struct tcphdr *tcp;
172 tcp = (struct tcphdr *)(ip + 1);
H A Dmyri10ge.c1707 struct tcphdr *hdr;
1733 hdr = (struct tcphdr *)(void *)
1751 struct tcphdr *hdr;
1758 hdr = (struct tcphdr *)(void *)(((uint8_t *)ip) + (ip->ip_hl << 2));
2352 stuff = start + offsetof(struct tcphdr, th_sum);
2362 stuff = start + offsetof(struct tcphdr, th_sum);
3068 struct tcphdr *tcp;
3082 tcp = (struct tcphdr *)(void *)((char *)ip + (ip->ip_hl << 2));
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_tcp.c78 interpret_tcp(int flags, struct tcphdr *tcp, int iplen, int fraglen)
130 (int)(tcp->th_off * 4 - sizeof (struct tcphdr)), line);
205 tcp->th_off * 4 - sizeof (struct tcphdr));
H A Dsnoop.h233 struct tcphdr;
234 extern int interpret_tcp(int, struct tcphdr *, int, int);
H A Dsnoop_ipsec.c222 (struct tcphdr *)data, new_iplen, fraglen);
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);
448 (void) interpret_tcp(flags, (struct tcphdr *)data,
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c1264 struct tcphdr *otcph, *ntcph;
1300 otcph = (struct tcphdr *)(mp->b_rptr + ehlen + iphlen);
1352 otcph = (struct tcphdr *)(mp->b_rptr + ehlen + iphlen);
1592 ntcph = (struct tcphdr *)(nmp->b_rptr + ehlen + iphlen);
1642 ntcph = (struct tcphdr *)(nmp->b_rptr + ehlen + iphlen);
1683 ntcph = (struct tcphdr *)(nmp->b_rptr + ehlen + iphlen);
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c1147 tcphdr_print(struct tcphdr *tcph)
1174 tcphdr(uintptr_t addr, uint_t flags, int ac, const mdb_arg_t *av) function
1176 struct tcphdr tcph;
1280 struct tcphdr tcph;
1919 { "tcphdr", ":", "display a TCP header", tcphdr },
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_flow.c2329 struct tcphdr *tcph = (struct tcphdr *)l4_start;
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe.h150 #define BNXE_PKTHDR_LEN (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));
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c4827 struct tcphdr *tcp_hdr;
4882 (struct tcphdr *)(void *)
5083 struct tcphdr *tcp_hdr;
5129 tcp_hdr = (struct tcphdr *)(void *)
5177 struct tcphdr *tcp_hdr;
5221 tcp_hdr = (struct tcphdr *)(void *)
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_fil_solaris.c1136 tcp2 = (struct tcphdr *)(m->b_rptr + hlen - sizeof(*tcp2));
1148 tcp2->th_off = sizeof(struct tcphdr) >> 2;

Completed in 155 milliseconds

12