Lines Matching refs:tcph
1147 tcphdr_print(struct tcphdr *tcph)
1155 mdb_nhconvert(&sport, &tcph->th_sport, sizeof (sport));
1156 mdb_nhconvert(&dport, &tcph->th_dport, sizeof (dport));
1157 mdb_nhconvert(&seq, &tcph->th_seq, sizeof (seq));
1158 mdb_nhconvert(&ack, &tcph->th_ack, sizeof (ack));
1159 mdb_nhconvert(&win, &tcph->th_win, sizeof (win));
1160 mdb_nhconvert(&urp, &tcph->th_urp, sizeof (urp));
1166 sport, dport, seq, ack, tcph->th_off << 2, win,
1167 tcph->th_sum, urp, tcph->th_flags, tcp_flags);
1176 struct tcphdr tcph;
1182 if (mdb_vread(&tcph, sizeof (tcph), addr) == -1) {
1186 tcphdr_print(&tcph);
1189 opt_len = (tcph.th_off << 2) - TCP_MIN_HEADER_LENGTH;
1194 opts = (uint8_t *)addr + sizeof (tcph);
1280 struct tcphdr tcph;
1282 if (mdb_vread(&tcph, sizeof (tcph), addr) == -1) {
1286 tcphdr_print(&tcph);