tag | line | file | source code |
newsk | 1614 | net/tcp/tcp.c | volatile struct sock *newsk; |
newsk | 1650 | net/tcp/tcp.c | newsk = kmalloc(sizeof (struct sock), GFP_ATOMIC); |
newsk | 1651 | net/tcp/tcp.c | if (newsk == NULL) |
newsk | 1659 | net/tcp/tcp.c | PRINTK (("newsk = %X\n", newsk)); |
newsk | 1660 | net/tcp/tcp.c | memcpy ((void *)newsk, (void *)sk, sizeof (*newsk)); |
newsk | 1661 | net/tcp/tcp.c | newsk->wback = NULL; |
newsk | 1662 | net/tcp/tcp.c | newsk->wfront = NULL; |
newsk | 1663 | net/tcp/tcp.c | newsk->rqueue = NULL; |
newsk | 1664 | net/tcp/tcp.c | newsk->send_head = NULL; |
newsk | 1665 | net/tcp/tcp.c | newsk->send_tail = NULL; |
newsk | 1666 | net/tcp/tcp.c | newsk->back_log = NULL; |
newsk | 1667 | net/tcp/tcp.c | newsk->rtt = TCP_CONNECT_TIME; |
newsk | 1668 | net/tcp/tcp.c | newsk->blog = 0; |
newsk | 1669 | net/tcp/tcp.c | newsk->intr = 0; |
newsk | 1670 | net/tcp/tcp.c | newsk->proc = 0; |
newsk | 1671 | net/tcp/tcp.c | newsk->done = 0; |
newsk | 1672 | net/tcp/tcp.c | newsk->send_tmp = NULL; |
newsk | 1673 | net/tcp/tcp.c | newsk->pair = NULL; |
newsk | 1674 | net/tcp/tcp.c | newsk->wmem_alloc = 0; |
newsk | 1675 | net/tcp/tcp.c | newsk->rmem_alloc = 0; |
newsk | 1677 | net/tcp/tcp.c | newsk->max_unacked = MAX_WINDOW - TCP_WINDOW_DIFF; |
newsk | 1679 | net/tcp/tcp.c | newsk->err = 0; |
newsk | 1680 | net/tcp/tcp.c | newsk->shutdown = 0; |
newsk | 1681 | net/tcp/tcp.c | newsk->ack_backlog = 0; |
newsk | 1682 | net/tcp/tcp.c | newsk->acked_seq = skb->h.th->seq+1; |
newsk | 1683 | net/tcp/tcp.c | newsk->fin_seq = skb->h.th->seq; |
newsk | 1684 | net/tcp/tcp.c | newsk->copied_seq = skb->h.th->seq; |
newsk | 1685 | net/tcp/tcp.c | newsk->state = TCP_SYN_RECV; |
newsk | 1686 | net/tcp/tcp.c | newsk->timeout = 0; |
newsk | 1687 | net/tcp/tcp.c | newsk->send_seq = timer_seq*SEQ_TICK-seq_offset; |
newsk | 1688 | net/tcp/tcp.c | newsk->rcv_ack_seq = newsk->send_seq; |
newsk | 1689 | net/tcp/tcp.c | newsk->urg =0; |
newsk | 1690 | net/tcp/tcp.c | newsk->retransmits = 0; |
newsk | 1691 | net/tcp/tcp.c | newsk->destroy = 0; |
newsk | 1692 | net/tcp/tcp.c | newsk->time_wait.sk = newsk; |
newsk | 1693 | net/tcp/tcp.c | newsk->time_wait.next = NULL; |
newsk | 1694 | net/tcp/tcp.c | newsk->dummy_th.source = skb->h.th->dest; |
newsk | 1695 | net/tcp/tcp.c | newsk->dummy_th.dest = skb->h.th->source; |
newsk | 1697 | net/tcp/tcp.c | newsk->daddr=saddr; |
newsk | 1698 | net/tcp/tcp.c | newsk->saddr=daddr; |
newsk | 1700 | net/tcp/tcp.c | put_sock (newsk->num,newsk); |
newsk | 1701 | net/tcp/tcp.c | newsk->dummy_th.res1=0; |
newsk | 1702 | net/tcp/tcp.c | newsk->dummy_th.doff=6; |
newsk | 1703 | net/tcp/tcp.c | newsk->dummy_th.fin=0; |
newsk | 1704 | net/tcp/tcp.c | newsk->dummy_th.syn=0; |
newsk | 1705 | net/tcp/tcp.c | newsk->dummy_th.rst=0; |
newsk | 1706 | net/tcp/tcp.c | newsk->dummy_th.psh=0; |
newsk | 1707 | net/tcp/tcp.c | newsk->dummy_th.ack=0; |
newsk | 1708 | net/tcp/tcp.c | newsk->dummy_th.urg=0; |
newsk | 1709 | net/tcp/tcp.c | newsk->dummy_th.res2=0; |
newsk | 1710 | net/tcp/tcp.c | newsk->acked_seq = skb->h.th->seq+1; |
newsk | 1711 | net/tcp/tcp.c | newsk->copied_seq = skb->h.th->seq; |
newsk | 1715 | net/tcp/tcp.c | newsk->mtu=576-HEADER_SIZE; |
newsk | 1722 | net/tcp/tcp.c | newsk->mtu=576-HEADER_SIZE; |
newsk | 1726 | net/tcp/tcp.c | newsk->mtu = min (ptr[2]*256+ptr[3]-HEADER_SIZE, |
newsk | 1731 | net/tcp/tcp.c | buff=newsk->prot->wmalloc(newsk,MAX_SYN_SIZE,1, GFP_ATOMIC); |
newsk | 1735 | net/tcp/tcp.c | newsk->dead = 1; |
newsk | 1736 | net/tcp/tcp.c | release_sock (newsk); |
newsk | 1745 | net/tcp/tcp.c | buff->sk = newsk; |
newsk | 1750 | net/tcp/tcp.c | tmp = sk->prot->build_header (buff, newsk->saddr, newsk->daddr, &dev, |
newsk | 1757 | net/tcp/tcp.c | sk->prot->wfree(newsk, buff->mem_addr, buff->mem_len); |
newsk | 1758 | net/tcp/tcp.c | newsk->dead = 1; |
newsk | 1759 | net/tcp/tcp.c | release_sock (newsk); |
newsk | 1769 | net/tcp/tcp.c | buff->h.seq = newsk->send_seq; |
newsk | 1772 | net/tcp/tcp.c | t1->source = newsk->dummy_th.source; |
newsk | 1773 | net/tcp/tcp.c | t1->seq = net32(newsk->send_seq++); |
newsk | 1775 | net/tcp/tcp.c | newsk->window = newsk->prot->rspace(newsk); |
newsk | 1776 | net/tcp/tcp.c | t1->window = net16(newsk->window); |
newsk | 1792 | net/tcp/tcp.c | tcp_send_check (t1, daddr, saddr, sizeof (*t1)+4, newsk); |
newsk | 1793 | net/tcp/tcp.c | newsk->prot->queue_xmit(newsk, dev, buff, 0); |
newsk | 1795 | net/tcp/tcp.c | newsk->time_wait.len = TCP_CONNECT_TIME; |
newsk | 1796 | net/tcp/tcp.c | PRINTK (("newsk->time_wait.sk = %X\n", newsk->time_wait.sk)); |
newsk | 1797 | net/tcp/tcp.c | reset_timer ((struct timer *)&newsk->time_wait); |
newsk | 1798 | net/tcp/tcp.c | skb->sk = newsk; |
newsk | 1801 | net/tcp/tcp.c | newsk->rmem_alloc += skb->mem_len; |
newsk | 1817 | net/tcp/tcp.c | release_sock (newsk); |
newsk | 2653 | net/tcp/tcp.c | volatile struct sock *newsk; |
newsk | 2693 | net/tcp/tcp.c | newsk = skb->sk; |
newsk | 2698 | net/tcp/tcp.c | return (newsk); |