tag | line | file | source code |
t1 | 666 | net/inet/tcp.c | struct tcphdr *t1; |
t1 | 694 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
t1 | 708 | net/inet/tcp.c | t1 =(struct tcphdr *)((char *)t1 +tmp); |
t1 | 711 | net/inet/tcp.c | memcpy(t1, th, sizeof(*t1)); /* this should probably be removed */ |
t1 | 716 | net/inet/tcp.c | t1->dest = th->source; |
t1 | 717 | net/inet/tcp.c | t1->source = th->dest; |
t1 | 718 | net/inet/tcp.c | t1->seq = ntohl(sequence); |
t1 | 719 | net/inet/tcp.c | t1->ack = 1; |
t1 | 721 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
t1 | 722 | net/inet/tcp.c | t1->res1 = 0; |
t1 | 723 | net/inet/tcp.c | t1->res2 = 0; |
t1 | 724 | net/inet/tcp.c | t1->rst = 0; |
t1 | 725 | net/inet/tcp.c | t1->urg = 0; |
t1 | 726 | net/inet/tcp.c | t1->syn = 0; |
t1 | 727 | net/inet/tcp.c | t1->psh = 0; |
t1 | 728 | net/inet/tcp.c | t1->fin = 0; |
t1 | 743 | net/inet/tcp.c | t1->ack_seq = ntohl(ack); |
t1 | 744 | net/inet/tcp.c | t1->doff = sizeof(*t1)/4; |
t1 | 745 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, daddr, sizeof(*t1), sk); |
t1 | 1141 | net/inet/tcp.c | struct tcphdr *t1; |
t1 | 1185 | net/inet/tcp.c | t1 =(struct tcphdr *)(buff->data +tmp); |
t1 | 1187 | net/inet/tcp.c | memcpy(t1,(void *) &sk->dummy_th, sizeof(*t1)); |
t1 | 1188 | net/inet/tcp.c | t1->seq = htonl(sk->sent_seq); |
t1 | 1189 | net/inet/tcp.c | t1->ack = 1; |
t1 | 1190 | net/inet/tcp.c | t1->res1 = 0; |
t1 | 1191 | net/inet/tcp.c | t1->res2 = 0; |
t1 | 1192 | net/inet/tcp.c | t1->rst = 0; |
t1 | 1193 | net/inet/tcp.c | t1->urg = 0; |
t1 | 1194 | net/inet/tcp.c | t1->syn = 0; |
t1 | 1195 | net/inet/tcp.c | t1->psh = 0; |
t1 | 1199 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
t1 | 1200 | net/inet/tcp.c | t1->ack_seq = ntohl(sk->acked_seq); |
t1 | 1201 | net/inet/tcp.c | t1->doff = sizeof(*t1)/4; |
t1 | 1202 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
t1 | 1508 | net/inet/tcp.c | struct tcphdr *t1, *th; |
t1 | 1548 | net/inet/tcp.c | buff->len = sizeof(*t1); |
t1 | 1550 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
t1 | 1575 | net/inet/tcp.c | t1 =(struct tcphdr *)((char *)t1 +tmp); |
t1 | 1578 | net/inet/tcp.c | memcpy(t1, th, sizeof(*t1)); |
t1 | 1579 | net/inet/tcp.c | t1->seq = ntohl(sk->write_seq); |
t1 | 1582 | net/inet/tcp.c | t1->ack = 1; |
t1 | 1583 | net/inet/tcp.c | t1->ack_seq = ntohl(sk->acked_seq); |
t1 | 1584 | net/inet/tcp.c | t1->window = ntohs(sk->window=tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
t1 | 1585 | net/inet/tcp.c | t1->fin = 1; |
t1 | 1586 | net/inet/tcp.c | t1->rst = 0; |
t1 | 1587 | net/inet/tcp.c | t1->doff = sizeof(*t1)/4; |
t1 | 1588 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
t1 | 1665 | net/inet/tcp.c | struct tcphdr *t1; |
t1 | 1679 | net/inet/tcp.c | buff->len = sizeof(*t1); |
t1 | 1684 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
t1 | 1699 | net/inet/tcp.c | t1 =(struct tcphdr *)((char *)t1 +tmp); |
t1 | 1701 | net/inet/tcp.c | memcpy(t1, th, sizeof(*t1)); |
t1 | 1707 | net/inet/tcp.c | t1->dest = th->source; |
t1 | 1708 | net/inet/tcp.c | t1->source = th->dest; |
t1 | 1709 | net/inet/tcp.c | t1->rst = 1; |
t1 | 1710 | net/inet/tcp.c | t1->window = 0; |
t1 | 1714 | net/inet/tcp.c | t1->ack = 0; |
t1 | 1715 | net/inet/tcp.c | t1->seq = th->ack_seq; |
t1 | 1716 | net/inet/tcp.c | t1->ack_seq = 0; |
t1 | 1720 | net/inet/tcp.c | t1->ack = 1; |
t1 | 1722 | net/inet/tcp.c | t1->ack_seq=htonl(th->seq); |
t1 | 1724 | net/inet/tcp.c | t1->ack_seq=htonl(th->seq+1); |
t1 | 1725 | net/inet/tcp.c | t1->seq=0; |
t1 | 1728 | net/inet/tcp.c | t1->syn = 0; |
t1 | 1729 | net/inet/tcp.c | t1->urg = 0; |
t1 | 1730 | net/inet/tcp.c | t1->fin = 0; |
t1 | 1731 | net/inet/tcp.c | t1->psh = 0; |
t1 | 1732 | net/inet/tcp.c | t1->doff = sizeof(*t1)/4; |
t1 | 1733 | net/inet/tcp.c | tcp_send_check(t1, saddr, daddr, sizeof(*t1), NULL); |
t1 | 1816 | net/inet/tcp.c | struct tcphdr *t1; |
t1 | 1966 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
t1 | 1986 | net/inet/tcp.c | t1 =(struct tcphdr *)((char *)t1 +tmp); |
t1 | 1988 | net/inet/tcp.c | memcpy(t1, skb->h.th, sizeof(*t1)); |
t1 | 1992 | net/inet/tcp.c | t1->dest = skb->h.th->source; |
t1 | 1993 | net/inet/tcp.c | t1->source = newsk->dummy_th.source; |
t1 | 1994 | net/inet/tcp.c | t1->seq = ntohl(newsk->write_seq++); |
t1 | 1995 | net/inet/tcp.c | t1->ack = 1; |
t1 | 1998 | net/inet/tcp.c | t1->window = ntohs(newsk->window); |
t1 | 1999 | net/inet/tcp.c | t1->res1 = 0; |
t1 | 2000 | net/inet/tcp.c | t1->res2 = 0; |
t1 | 2001 | net/inet/tcp.c | t1->rst = 0; |
t1 | 2002 | net/inet/tcp.c | t1->urg = 0; |
t1 | 2003 | net/inet/tcp.c | t1->psh = 0; |
t1 | 2004 | net/inet/tcp.c | t1->syn = 1; |
t1 | 2005 | net/inet/tcp.c | t1->ack_seq = ntohl(skb->h.th->seq+1); |
t1 | 2006 | net/inet/tcp.c | t1->doff = sizeof(*t1)/4+1; |
t1 | 2008 | net/inet/tcp.c | ptr =(unsigned char *)(t1+1); |
t1 | 2014 | net/inet/tcp.c | tcp_send_check(t1, daddr, saddr, sizeof(*t1)+4, newsk); |
t1 | 2035 | net/inet/tcp.c | struct tcphdr *t1, *th; |
t1 | 2130 | net/inet/tcp.c | buff->len = sizeof(*t1); |
t1 | 2132 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
t1 | 2156 | net/inet/tcp.c | t1 =(struct tcphdr *)((char *)t1 +tmp); |
t1 | 2159 | net/inet/tcp.c | memcpy(t1, th, sizeof(*t1)); |
t1 | 2160 | net/inet/tcp.c | t1->seq = ntohl(sk->write_seq); |
t1 | 2163 | net/inet/tcp.c | t1->ack = 1; |
t1 | 2170 | net/inet/tcp.c | t1->ack_seq = ntohl(sk->acked_seq); |
t1 | 2171 | net/inet/tcp.c | t1->window = ntohs(sk->window=tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
t1 | 2172 | net/inet/tcp.c | t1->fin = 1; |
t1 | 2173 | net/inet/tcp.c | t1->rst = need_reset; |
t1 | 2174 | net/inet/tcp.c | t1->doff = sizeof(*t1)/4; |
t1 | 2175 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
t1 | 3037 | net/inet/tcp.c | struct tcphdr *t1; |
t1 | 3100 | net/inet/tcp.c | t1 = (struct tcphdr *) buff->data; |
t1 | 3120 | net/inet/tcp.c | t1 = (struct tcphdr *)((char *)t1 +tmp); |
t1 | 3122 | net/inet/tcp.c | memcpy(t1,(void *)&(sk->dummy_th), sizeof(*t1)); |
t1 | 3123 | net/inet/tcp.c | t1->seq = ntohl(sk->write_seq++); |
t1 | 3126 | net/inet/tcp.c | t1->ack = 0; |
t1 | 3127 | net/inet/tcp.c | t1->window = 2; |
t1 | 3128 | net/inet/tcp.c | t1->res1=0; |
t1 | 3129 | net/inet/tcp.c | t1->res2=0; |
t1 | 3130 | net/inet/tcp.c | t1->rst = 0; |
t1 | 3131 | net/inet/tcp.c | t1->urg = 0; |
t1 | 3132 | net/inet/tcp.c | t1->psh = 0; |
t1 | 3133 | net/inet/tcp.c | t1->syn = 1; |
t1 | 3134 | net/inet/tcp.c | t1->urg_ptr = 0; |
t1 | 3135 | net/inet/tcp.c | t1->doff = 6; |
t1 | 3161 | net/inet/tcp.c | ptr = (unsigned char *)(t1+1); |
t1 | 3166 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, |
t1 | 3663 | net/inet/tcp.c | struct tcphdr *t1; |
t1 | 3684 | net/inet/tcp.c | t1 = (struct tcphdr *) buff->data; |
t1 | 3696 | net/inet/tcp.c | t1 = (struct tcphdr *)((char *)t1 +tmp); |
t1 | 3698 | net/inet/tcp.c | memcpy(t1,(void *) &sk->dummy_th, sizeof(*t1)); |
t1 | 3704 | net/inet/tcp.c | t1->seq = htonl(sk->sent_seq-1); |
t1 | 3705 | net/inet/tcp.c | t1->ack = 1; |
t1 | 3706 | net/inet/tcp.c | t1->res1= 0; |
t1 | 3707 | net/inet/tcp.c | t1->res2= 0; |
t1 | 3708 | net/inet/tcp.c | t1->rst = 0; |
t1 | 3709 | net/inet/tcp.c | t1->urg = 0; |
t1 | 3710 | net/inet/tcp.c | t1->psh = 0; |
t1 | 3711 | net/inet/tcp.c | t1->fin = 0; |
t1 | 3712 | net/inet/tcp.c | t1->syn = 0; |
t1 | 3713 | net/inet/tcp.c | t1->ack_seq = ntohl(sk->acked_seq); |
t1 | 3714 | net/inet/tcp.c | t1->window = ntohs(tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
t1 | 3715 | net/inet/tcp.c | t1->doff = sizeof(*t1)/4; |
t1 | 3716 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |