Lines Matching defs:th
35 struct tcphdr _tcph, *th;
40 th = skb_header_pointer(skb, iph.len, sizeof(_tcph), &_tcph);
41 if (th == NULL) {
46 if (th->syn &&
48 th->dest))) {
435 static inline int tcp_state_idx(struct tcphdr *th)
437 if (th->rst)
439 if (th->syn)
441 if (th->fin)
443 if (th->ack)
450 int direction, struct tcphdr *th)
467 if ((state_idx = tcp_state_idx(th)) < 0) {
483 th->syn ? 'S' : '.',
484 th->fin ? 'F' : '.',
485 th->ack ? 'A' : '.',
486 th->rst ? 'R' : '.',
522 struct tcphdr _tcph, *th;
530 th = skb_header_pointer(skb, ihl, sizeof(_tcph), &_tcph);
531 if (th == NULL)
535 set_tcp_state(pp, cp, direction, th);