tag | line | file | source code |
skb2 | 566 | net/inet/dev.c | struct sk_buff *skb2; |
skb2 | 569 | net/inet/dev.c | skb2 = alloc_skb(skb->mem_len, GFP_ATOMIC); |
skb2 | 570 | net/inet/dev.c | if (skb2 == NULL) |
skb2 | 572 | net/inet/dev.c | memcpy(skb2, (const void *) skb, skb->mem_len); |
skb2 | 573 | net/inet/dev.c | skb2->mem_addr = skb2; |
skb2 | 574 | net/inet/dev.c | skb2->h.raw = (unsigned char *)( |
skb2 | 575 | net/inet/dev.c | (unsigned long) skb2 + |
skb2 | 579 | net/inet/dev.c | skb2->free = 1; |
skb2 | 581 | net/inet/dev.c | skb2 = skb; |
skb2 | 591 | net/inet/dev.c | ptype->func(skb2, skb->dev, ptype); |
skb2 | 240 | net/inet/icmp.c | struct sk_buff *skb2; |
skb2 | 244 | net/inet/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
skb2 | 245 | net/inet/icmp.c | if (skb2 == NULL) { |
skb2 | 250 | net/inet/icmp.c | skb2->sk = NULL; |
skb2 | 251 | net/inet/icmp.c | skb2->mem_addr = skb2; |
skb2 | 252 | net/inet/icmp.c | skb2->mem_len = size; |
skb2 | 253 | net/inet/icmp.c | skb2->free = 1; |
skb2 | 256 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &dev, |
skb2 | 260 | net/inet/icmp.c | kfree_skb(skb2,FREE_WRITE); |
skb2 | 267 | net/inet/icmp.c | skb2->len = offset + len; |
skb2 | 270 | net/inet/icmp.c | icmphr = (struct icmphdr *) ((char *) (skb2 + 1) + offset); |
skb2 | 278 | net/inet/icmp.c | ip_queue_xmit((struct sock *)NULL, dev, skb2, 1); |
skb2 | 304 | net/inet/icmp.c | struct sk_buff *skb2; |
skb2 | 308 | net/inet/icmp.c | skb2 = alloc_skb(size, GFP_ATOMIC); |
skb2 | 309 | net/inet/icmp.c | if (skb2 == NULL) { |
skb2 | 314 | net/inet/icmp.c | skb2->sk = NULL; |
skb2 | 315 | net/inet/icmp.c | skb2->mem_addr = skb2; |
skb2 | 316 | net/inet/icmp.c | skb2->mem_len = size; |
skb2 | 317 | net/inet/icmp.c | skb2->free = 1; |
skb2 | 320 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &dev, |
skb2 | 324 | net/inet/icmp.c | kfree_skb(skb2,FREE_WRITE); |
skb2 | 331 | net/inet/icmp.c | skb2->len = offset + len; |
skb2 | 334 | net/inet/icmp.c | icmphr = (struct icmphdr *) ((char *) (skb2 + 1) + offset); |
skb2 | 345 | net/inet/icmp.c | ip_queue_xmit((struct sock *)NULL, dev, skb2, 1); |
skb2 | 804 | net/inet/ip.c | struct sk_buff *skb2; |
skb2 | 935 | net/inet/ip.c | skb2 = ip_glue(qp); /* glue together the fragments */ |
skb2 | 936 | net/inet/ip.c | return(skb2); |
skb2 | 955 | net/inet/ip.c | struct sk_buff *skb2; |
skb2 | 1011 | net/inet/ip.c | if ((skb2 = alloc_skb(sizeof(struct sk_buff) + len + hlen,GFP_KERNEL)) == NULL) |
skb2 | 1016 | net/inet/ip.c | skb2->arp = skb->arp; |
skb2 | 1017 | net/inet/ip.c | skb2->free = skb->free; |
skb2 | 1018 | net/inet/ip.c | skb2->len = len + hlen; |
skb2 | 1019 | net/inet/ip.c | skb2->h.raw=(char *)(skb2+1); |
skb2 | 1022 | net/inet/ip.c | sk->wmem_alloc += skb2->mem_len; |
skb2 | 1025 | net/inet/ip.c | memcpy(skb2->h.raw, raw, hlen); |
skb2 | 1028 | net/inet/ip.c | memcpy(skb2->h.raw + hlen, ptr, len); |
skb2 | 1031 | net/inet/ip.c | skb2->h.raw+=dev->hard_header_len; |
skb2 | 1033 | net/inet/ip.c | iph = (struct iphdr *)(skb2->h.raw/*+dev->hard_header_len*/); |
skb2 | 1044 | net/inet/ip.c | ip_queue_xmit(sk, dev, skb2, 1); |
skb2 | 1059 | net/inet/ip.c | struct sk_buff *skb2; |
skb2 | 1138 | net/inet/ip.c | skb2 = (struct sk_buff *) alloc_skb(sizeof(struct sk_buff) + |
skb2 | 1140 | net/inet/ip.c | if (skb2 == NULL) { |
skb2 | 1144 | net/inet/ip.c | ptr = (unsigned char *)(skb2 + 1); |
skb2 | 1145 | net/inet/ip.c | skb2->sk = NULL; |
skb2 | 1146 | net/inet/ip.c | skb2->free = 1; |
skb2 | 1147 | net/inet/ip.c | skb2->len = skb->len + dev2->hard_header_len; |
skb2 | 1148 | net/inet/ip.c | skb2->mem_addr = skb2; |
skb2 | 1149 | net/inet/ip.c | skb2->mem_len = sizeof(struct sk_buff) + skb2->len; |
skb2 | 1150 | net/inet/ip.c | skb2->next = NULL; |
skb2 | 1151 | net/inet/ip.c | skb2->h.raw = ptr; |
skb2 | 1157 | net/inet/ip.c | (void) ip_send(skb2, raddr, skb->len, dev2, dev2->pa_addr); |
skb2 | 1159 | net/inet/ip.c | if(skb2->len > dev2->mtu) |
skb2 | 1161 | net/inet/ip.c | ip_fragment(NULL,skb2,dev2, is_frag); |
skb2 | 1162 | net/inet/ip.c | kfree_skb(skb2,FREE_WRITE); |
skb2 | 1165 | net/inet/ip.c | dev2->queue_xmit(skb2, dev2, SOPRI_NORMAL); |
skb2 | 1266 | net/inet/ip.c | struct sk_buff *skb2; |
skb2 | 1278 | net/inet/ip.c | skb2 = alloc_skb(skb->mem_len, GFP_ATOMIC); |
skb2 | 1279 | net/inet/ip.c | if (skb2 == NULL) |
skb2 | 1281 | net/inet/ip.c | memcpy(skb2, skb, skb->mem_len); |
skb2 | 1282 | net/inet/ip.c | skb2->mem_addr = skb2; |
skb2 | 1283 | net/inet/ip.c | skb2->h.raw = (unsigned char *)( |
skb2 | 1284 | net/inet/ip.c | (unsigned long)skb2 + |
skb2 | 1287 | net/inet/ip.c | skb2->free=1; |
skb2 | 1289 | net/inet/ip.c | skb2 = skb; |
skb2 | 1298 | net/inet/ip.c | ipprot->handler(skb2, dev, opts_p ? &opt : 0, iph->daddr, |
skb2 | 330 | net/inet/sock.c | struct sk_buff *skb2; |
skb2 | 332 | net/inet/sock.c | skb2=(struct sk_buff *)skb->next; |
skb2 | 340 | net/inet/sock.c | skb = skb2; |
skb2 | 369 | net/inet/sock.c | struct sk_buff *skb2; |
skb2 | 386 | net/inet/sock.c | skb2 = (struct sk_buff *)skb->link3; |
skb2 | 388 | net/inet/sock.c | skb = skb2; |
skb2 | 401 | net/inet/sock.c | struct sk_buff *skb2; |
skb2 | 403 | net/inet/sock.c | skb2 = (struct sk_buff *)skb->next; |
skb2 | 405 | net/inet/sock.c | skb = skb2; |
skb2 | 1922 | net/inet/tcp.c | struct sk_buff *skb2; |
skb2 | 1925 | net/inet/tcp.c | skb2 =(struct sk_buff *)skb->next; |
skb2 | 1931 | net/inet/tcp.c | skb = skb2; |
skb2 | 2107 | net/inet/tcp.c | struct sk_buff *skb,*skb2,*skb3; |
skb2 | 2109 | net/inet/tcp.c | for (skb = sk->send_head; skb != NULL; skb = skb2) { |
skb2 | 2110 | net/inet/tcp.c | skb2 = (struct sk_buff *)skb->link3; |
skb2 | 2111 | net/inet/tcp.c | if (list == NULL || before (skb2->h.seq, list->h.seq)) { |
skb2 | 2169 | net/inet/tcp.c | struct sk_buff *skb2; |
skb2 | 2172 | net/inet/tcp.c | skb2 = sk->send_head; |
skb2 | 2180 | net/inet/tcp.c | while (skb2 != NULL) { |
skb2 | 2181 | net/inet/tcp.c | skb = skb2; |
skb2 | 2182 | net/inet/tcp.c | skb2 = (struct sk_buff *)skb->link3; |
skb2 | 2403 | net/inet/tcp.c | struct sk_buff *skb1, *skb2; |
skb2 | 2530 | net/inet/tcp.c | for(skb2 = (struct sk_buff *)skb->next; |
skb2 | 2531 | net/inet/tcp.c | skb2 !=(struct sk_buff *) sk->rqueue; |
skb2 | 2532 | net/inet/tcp.c | skb2 = (struct sk_buff *)skb2->next) { |
skb2 | 2533 | net/inet/tcp.c | if (before(skb2->h.th->seq, sk->acked_seq+1)) { |
skb2 | 2534 | net/inet/tcp.c | if (after(skb2->h.th->ack_seq, sk->acked_seq)) |
skb2 | 2535 | net/inet/tcp.c | sk->acked_seq = skb2->h.th->ack_seq; |
skb2 | 2536 | net/inet/tcp.c | skb2->acked = 1; |
skb2 | 2542 | net/inet/tcp.c | if (skb2->h.th->fin) { |