taglinefilesource code
newsk1614net/tcp/tcp.cvolatile struct sock *newsk;
newsk1650net/tcp/tcp.cnewsk = kmalloc(sizeof (struct sock), GFP_ATOMIC);
newsk1651net/tcp/tcp.cif (newsk == NULL) 
newsk1659net/tcp/tcp.cPRINTK (("newsk = %X\n", newsk));
newsk1660net/tcp/tcp.cmemcpy ((void *)newsk, (void *)sk, sizeof (*newsk));
newsk1661net/tcp/tcp.cnewsk->wback = NULL;
newsk1662net/tcp/tcp.cnewsk->wfront = NULL;
newsk1663net/tcp/tcp.cnewsk->rqueue = NULL;
newsk1664net/tcp/tcp.cnewsk->send_head = NULL;
newsk1665net/tcp/tcp.cnewsk->send_tail = NULL;
newsk1666net/tcp/tcp.cnewsk->back_log = NULL;
newsk1667net/tcp/tcp.cnewsk->rtt = TCP_CONNECT_TIME;
newsk1668net/tcp/tcp.cnewsk->blog = 0;
newsk1669net/tcp/tcp.cnewsk->intr = 0;
newsk1670net/tcp/tcp.cnewsk->proc = 0;
newsk1671net/tcp/tcp.cnewsk->done = 0;
newsk1672net/tcp/tcp.cnewsk->send_tmp = NULL;
newsk1673net/tcp/tcp.cnewsk->pair = NULL;
newsk1674net/tcp/tcp.cnewsk->wmem_alloc = 0;
newsk1675net/tcp/tcp.cnewsk->rmem_alloc = 0;
newsk1677net/tcp/tcp.cnewsk->max_unacked = MAX_WINDOW - TCP_WINDOW_DIFF;
newsk1679net/tcp/tcp.cnewsk->err = 0;
newsk1680net/tcp/tcp.cnewsk->shutdown = 0;
newsk1681net/tcp/tcp.cnewsk->ack_backlog = 0;
newsk1682net/tcp/tcp.cnewsk->acked_seq = skb->h.th->seq+1;
newsk1683net/tcp/tcp.cnewsk->fin_seq = skb->h.th->seq;
newsk1684net/tcp/tcp.cnewsk->copied_seq = skb->h.th->seq;
newsk1685net/tcp/tcp.cnewsk->state = TCP_SYN_RECV;
newsk1686net/tcp/tcp.cnewsk->timeout = 0;
newsk1687net/tcp/tcp.cnewsk->send_seq = timer_seq*SEQ_TICK-seq_offset;
newsk1688net/tcp/tcp.cnewsk->rcv_ack_seq = newsk->send_seq;
newsk1689net/tcp/tcp.cnewsk->urg =0;
newsk1690net/tcp/tcp.cnewsk->retransmits = 0;
newsk1691net/tcp/tcp.cnewsk->destroy = 0;
newsk1692net/tcp/tcp.cnewsk->time_wait.sk = newsk;
newsk1693net/tcp/tcp.cnewsk->time_wait.next = NULL;
newsk1694net/tcp/tcp.cnewsk->dummy_th.source = skb->h.th->dest;
newsk1695net/tcp/tcp.cnewsk->dummy_th.dest = skb->h.th->source;
newsk1697net/tcp/tcp.cnewsk->daddr=saddr;
newsk1698net/tcp/tcp.cnewsk->saddr=daddr;
newsk1700net/tcp/tcp.cput_sock (newsk->num,newsk);
newsk1701net/tcp/tcp.cnewsk->dummy_th.res1=0;
newsk1702net/tcp/tcp.cnewsk->dummy_th.doff=6;
newsk1703net/tcp/tcp.cnewsk->dummy_th.fin=0;
newsk1704net/tcp/tcp.cnewsk->dummy_th.syn=0;
newsk1705net/tcp/tcp.cnewsk->dummy_th.rst=0;
newsk1706net/tcp/tcp.cnewsk->dummy_th.psh=0;
newsk1707net/tcp/tcp.cnewsk->dummy_th.ack=0;
newsk1708net/tcp/tcp.cnewsk->dummy_th.urg=0;
newsk1709net/tcp/tcp.cnewsk->dummy_th.res2=0;
newsk1710net/tcp/tcp.cnewsk->acked_seq = skb->h.th->seq+1;
newsk1711net/tcp/tcp.cnewsk->copied_seq = skb->h.th->seq;
newsk1715net/tcp/tcp.cnewsk->mtu=576-HEADER_SIZE;
newsk1722net/tcp/tcp.cnewsk->mtu=576-HEADER_SIZE;
newsk1726net/tcp/tcp.cnewsk->mtu = min (ptr[2]*256+ptr[3]-HEADER_SIZE,
newsk1731net/tcp/tcp.cbuff=newsk->prot->wmalloc(newsk,MAX_SYN_SIZE,1, GFP_ATOMIC);
newsk1735net/tcp/tcp.cnewsk->dead = 1;
newsk1736net/tcp/tcp.crelease_sock (newsk);
newsk1745net/tcp/tcp.cbuff->sk = newsk;
newsk1750net/tcp/tcp.ctmp = sk->prot->build_header (buff, newsk->saddr, newsk->daddr, &dev,
newsk1757net/tcp/tcp.csk->prot->wfree(newsk, buff->mem_addr, buff->mem_len);
newsk1758net/tcp/tcp.cnewsk->dead = 1;
newsk1759net/tcp/tcp.crelease_sock (newsk);
newsk1769net/tcp/tcp.cbuff->h.seq = newsk->send_seq;
newsk1772net/tcp/tcp.ct1->source = newsk->dummy_th.source;
newsk1773net/tcp/tcp.ct1->seq = net32(newsk->send_seq++);
newsk1775net/tcp/tcp.cnewsk->window = newsk->prot->rspace(newsk);
newsk1776net/tcp/tcp.ct1->window = net16(newsk->window);
newsk1792net/tcp/tcp.ctcp_send_check (t1, daddr, saddr, sizeof (*t1)+4, newsk);
newsk1793net/tcp/tcp.cnewsk->prot->queue_xmit(newsk, dev, buff, 0);
newsk1795net/tcp/tcp.cnewsk->time_wait.len = TCP_CONNECT_TIME;
newsk1796net/tcp/tcp.cPRINTK (("newsk->time_wait.sk = %X\n", newsk->time_wait.sk));
newsk1797net/tcp/tcp.creset_timer ((struct timer *)&newsk->time_wait);
newsk1798net/tcp/tcp.cskb->sk = newsk;
newsk1801net/tcp/tcp.cnewsk->rmem_alloc += skb->mem_len;
newsk1817net/tcp/tcp.crelease_sock (newsk);
newsk2653net/tcp/tcp.cvolatile struct sock *newsk;
newsk2693net/tcp/tcp.cnewsk = skb->sk;
newsk2698net/tcp/tcp.creturn (newsk);