tag | line | file | source code |
t1 | 705 | net/inet/tcp.c | struct tcphdr *t1; |
t1 | 730 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
t1 | 742 | net/inet/tcp.c | t1 =(struct tcphdr *)((char *)t1 +tmp); |
t1 | 745 | net/inet/tcp.c | memcpy(t1, th, sizeof(*t1)); /* this should probably be removed */ |
t1 | 748 | net/inet/tcp.c | t1->dest = th->source; |
t1 | 749 | net/inet/tcp.c | t1->source = th->dest; |
t1 | 750 | net/inet/tcp.c | t1->seq = ntohl(sequence); |
t1 | 751 | net/inet/tcp.c | t1->ack = 1; |
t1 | 753 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
t1 | 754 | net/inet/tcp.c | t1->res1 = 0; |
t1 | 755 | net/inet/tcp.c | t1->res2 = 0; |
t1 | 756 | net/inet/tcp.c | t1->rst = 0; |
t1 | 757 | net/inet/tcp.c | t1->urg = 0; |
t1 | 758 | net/inet/tcp.c | t1->syn = 0; |
t1 | 759 | net/inet/tcp.c | t1->psh = 0; |
t1 | 760 | net/inet/tcp.c | t1->fin = 0; |
t1 | 773 | net/inet/tcp.c | t1->ack_seq = ntohl(ack); |
t1 | 774 | net/inet/tcp.c | t1->doff = sizeof(*t1)/4; |
t1 | 775 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, daddr, sizeof(*t1), sk); |
t1 | 1102 | net/inet/tcp.c | struct tcphdr *t1; |
t1 | 1140 | net/inet/tcp.c | t1 =(struct tcphdr *)(buff->data +tmp); |
t1 | 1142 | net/inet/tcp.c | memcpy(t1,(void *) &sk->dummy_th, sizeof(*t1)); |
t1 | 1143 | net/inet/tcp.c | t1->seq = htonl(sk->sent_seq); |
t1 | 1144 | net/inet/tcp.c | t1->ack = 1; |
t1 | 1145 | net/inet/tcp.c | t1->res1 = 0; |
t1 | 1146 | net/inet/tcp.c | t1->res2 = 0; |
t1 | 1147 | net/inet/tcp.c | t1->rst = 0; |
t1 | 1148 | net/inet/tcp.c | t1->urg = 0; |
t1 | 1149 | net/inet/tcp.c | t1->syn = 0; |
t1 | 1150 | net/inet/tcp.c | t1->psh = 0; |
t1 | 1154 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
t1 | 1155 | net/inet/tcp.c | t1->ack_seq = ntohl(sk->acked_seq); |
t1 | 1156 | net/inet/tcp.c | t1->doff = sizeof(*t1)/4; |
t1 | 1157 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
t1 | 1454 | net/inet/tcp.c | struct tcphdr *t1, *th; |
t1 | 1486 | net/inet/tcp.c | buff->len = sizeof(*t1); |
t1 | 1487 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
t1 | 1506 | net/inet/tcp.c | t1 =(struct tcphdr *)((char *)t1 +tmp); |
t1 | 1509 | net/inet/tcp.c | memcpy(t1, th, sizeof(*t1)); |
t1 | 1510 | net/inet/tcp.c | t1->seq = ntohl(sk->write_seq); |
t1 | 1513 | net/inet/tcp.c | t1->ack = 1; |
t1 | 1514 | net/inet/tcp.c | t1->ack_seq = ntohl(sk->acked_seq); |
t1 | 1515 | net/inet/tcp.c | t1->window = ntohs(sk->window=tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
t1 | 1516 | net/inet/tcp.c | t1->fin = 1; |
t1 | 1517 | net/inet/tcp.c | t1->rst = 0; |
t1 | 1518 | net/inet/tcp.c | t1->doff = sizeof(*t1)/4; |
t1 | 1519 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
t1 | 1586 | net/inet/tcp.c | struct tcphdr *t1; |
t1 | 1600 | net/inet/tcp.c | buff->len = sizeof(*t1); |
t1 | 1604 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
t1 | 1614 | net/inet/tcp.c | t1 =(struct tcphdr *)((char *)t1 +tmp); |
t1 | 1616 | net/inet/tcp.c | memcpy(t1, th, sizeof(*t1)); |
t1 | 1619 | net/inet/tcp.c | t1->dest = th->source; |
t1 | 1620 | net/inet/tcp.c | t1->source = th->dest; |
t1 | 1621 | net/inet/tcp.c | t1->rst = 1; |
t1 | 1622 | net/inet/tcp.c | t1->window = 0; |
t1 | 1626 | net/inet/tcp.c | t1->ack = 0; |
t1 | 1627 | net/inet/tcp.c | t1->seq = th->ack_seq; |
t1 | 1628 | net/inet/tcp.c | t1->ack_seq = 0; |
t1 | 1632 | net/inet/tcp.c | t1->ack = 1; |
t1 | 1634 | net/inet/tcp.c | t1->ack_seq=htonl(th->seq); |
t1 | 1636 | net/inet/tcp.c | t1->ack_seq=htonl(th->seq+1); |
t1 | 1637 | net/inet/tcp.c | t1->seq=0; |
t1 | 1640 | net/inet/tcp.c | t1->syn = 0; |
t1 | 1641 | net/inet/tcp.c | t1->urg = 0; |
t1 | 1642 | net/inet/tcp.c | t1->fin = 0; |
t1 | 1643 | net/inet/tcp.c | t1->psh = 0; |
t1 | 1644 | net/inet/tcp.c | t1->doff = sizeof(*t1)/4; |
t1 | 1645 | net/inet/tcp.c | tcp_send_check(t1, saddr, daddr, sizeof(*t1), NULL); |
t1 | 1727 | net/inet/tcp.c | struct tcphdr *t1; |
t1 | 1873 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
t1 | 1892 | net/inet/tcp.c | t1 =(struct tcphdr *)((char *)t1 +tmp); |
t1 | 1894 | net/inet/tcp.c | memcpy(t1, skb->h.th, sizeof(*t1)); |
t1 | 1898 | net/inet/tcp.c | t1->dest = skb->h.th->source; |
t1 | 1899 | net/inet/tcp.c | t1->source = newsk->dummy_th.source; |
t1 | 1900 | net/inet/tcp.c | t1->seq = ntohl(newsk->write_seq++); |
t1 | 1901 | net/inet/tcp.c | t1->ack = 1; |
t1 | 1904 | net/inet/tcp.c | t1->window = ntohs(newsk->window); |
t1 | 1905 | net/inet/tcp.c | t1->res1 = 0; |
t1 | 1906 | net/inet/tcp.c | t1->res2 = 0; |
t1 | 1907 | net/inet/tcp.c | t1->rst = 0; |
t1 | 1908 | net/inet/tcp.c | t1->urg = 0; |
t1 | 1909 | net/inet/tcp.c | t1->psh = 0; |
t1 | 1910 | net/inet/tcp.c | t1->syn = 1; |
t1 | 1911 | net/inet/tcp.c | t1->ack_seq = ntohl(skb->h.th->seq+1); |
t1 | 1912 | net/inet/tcp.c | t1->doff = sizeof(*t1)/4+1; |
t1 | 1914 | net/inet/tcp.c | ptr =(unsigned char *)(t1+1); |
t1 | 1920 | net/inet/tcp.c | tcp_send_check(t1, daddr, saddr, sizeof(*t1)+4, newsk); |
t1 | 1941 | net/inet/tcp.c | struct tcphdr *t1, *th; |
t1 | 2027 | net/inet/tcp.c | buff->len = sizeof(*t1); |
t1 | 2028 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
t1 | 2048 | net/inet/tcp.c | t1 =(struct tcphdr *)((char *)t1 +tmp); |
t1 | 2051 | net/inet/tcp.c | memcpy(t1, th, sizeof(*t1)); |
t1 | 2052 | net/inet/tcp.c | t1->seq = ntohl(sk->write_seq); |
t1 | 2055 | net/inet/tcp.c | t1->ack = 1; |
t1 | 2059 | net/inet/tcp.c | t1->ack_seq = ntohl(sk->acked_seq); |
t1 | 2060 | net/inet/tcp.c | t1->window = ntohs(sk->window=tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
t1 | 2061 | net/inet/tcp.c | t1->fin = 1; |
t1 | 2062 | net/inet/tcp.c | t1->rst = need_reset; |
t1 | 2063 | net/inet/tcp.c | t1->doff = sizeof(*t1)/4; |
t1 | 2064 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |
t1 | 2963 | net/inet/tcp.c | struct tcphdr *t1; |
t1 | 3008 | net/inet/tcp.c | t1 = (struct tcphdr *) buff->data; |
t1 | 3020 | net/inet/tcp.c | t1 = (struct tcphdr *)((char *)t1 +tmp); |
t1 | 3022 | net/inet/tcp.c | memcpy(t1,(void *)&(sk->dummy_th), sizeof(*t1)); |
t1 | 3023 | net/inet/tcp.c | t1->seq = ntohl(sk->write_seq++); |
t1 | 3026 | net/inet/tcp.c | t1->ack = 0; |
t1 | 3027 | net/inet/tcp.c | t1->window = 2; |
t1 | 3028 | net/inet/tcp.c | t1->res1=0; |
t1 | 3029 | net/inet/tcp.c | t1->res2=0; |
t1 | 3030 | net/inet/tcp.c | t1->rst = 0; |
t1 | 3031 | net/inet/tcp.c | t1->urg = 0; |
t1 | 3032 | net/inet/tcp.c | t1->psh = 0; |
t1 | 3033 | net/inet/tcp.c | t1->syn = 1; |
t1 | 3034 | net/inet/tcp.c | t1->urg_ptr = 0; |
t1 | 3035 | net/inet/tcp.c | t1->doff = 6; |
t1 | 3054 | net/inet/tcp.c | ptr = (unsigned char *)(t1+1); |
t1 | 3059 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, |
t1 | 3574 | net/inet/tcp.c | struct tcphdr *t1; |
t1 | 3594 | net/inet/tcp.c | t1 = (struct tcphdr *) buff->data; |
t1 | 3605 | net/inet/tcp.c | t1 = (struct tcphdr *)((char *)t1 +tmp); |
t1 | 3607 | net/inet/tcp.c | memcpy(t1,(void *) &sk->dummy_th, sizeof(*t1)); |
t1 | 3613 | net/inet/tcp.c | t1->seq = htonl(sk->sent_seq-1); |
t1 | 3614 | net/inet/tcp.c | t1->ack = 1; |
t1 | 3615 | net/inet/tcp.c | t1->res1= 0; |
t1 | 3616 | net/inet/tcp.c | t1->res2= 0; |
t1 | 3617 | net/inet/tcp.c | t1->rst = 0; |
t1 | 3618 | net/inet/tcp.c | t1->urg = 0; |
t1 | 3619 | net/inet/tcp.c | t1->psh = 0; |
t1 | 3620 | net/inet/tcp.c | t1->fin = 0; |
t1 | 3621 | net/inet/tcp.c | t1->syn = 0; |
t1 | 3622 | net/inet/tcp.c | t1->ack_seq = ntohl(sk->acked_seq); |
t1 | 3623 | net/inet/tcp.c | t1->window = ntohs(tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
t1 | 3624 | net/inet/tcp.c | t1->doff = sizeof(*t1)/4; |
t1 | 3625 | net/inet/tcp.c | tcp_send_check(t1, sk->saddr, sk->daddr, sizeof(*t1), sk); |