taglinefilesource code
skb65drivers/net/3c501.cstatic int  el_start_xmit(struct sk_buff *skb, struct device *dev);
skb268drivers/net/3c501.cel_start_xmit(struct sk_buff *skb, struct device *dev)
skb293drivers/net/3c501.cif (skb == NULL) {
skb299drivers/net/3c501.cif (!skb->arp  &&  dev->rebuild_header(skb+1, dev)) {
skb300drivers/net/3c501.cskb->dev = dev;
skb301drivers/net/3c501.carp_queue (skb);
skb304drivers/net/3c501.cskb->arp=1;
skb306drivers/net/3c501.cif (skb->len <= 0)
skb310drivers/net/3c501.cprintk("%s: el_start_xmit(%d)...", dev->name, skb->len);
skb316drivers/net/3c501.cint gp_start = 0x800 - (ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
skb317drivers/net/3c501.cunsigned char *buf = (void *)(skb+1);
skb327drivers/net/3c501.cport_write_b(DATAPORT,buf,skb->len);
skb335drivers/net/3c501.cif (skb->free)
skb336drivers/net/3c501.ckfree_skb (skb, FREE_WRITE);
skb442drivers/net/3c501.cstruct sk_buff *skb;
skb458drivers/net/3c501.cskb = alloc_skb(sksize, GFP_ATOMIC);
skb460drivers/net/3c501.cif (skb == NULL) {
skb465drivers/net/3c501.cskb->mem_len = sksize;
skb466drivers/net/3c501.cskb->mem_addr = skb;
skb467drivers/net/3c501.cskb->len = pkt_len;
skb468drivers/net/3c501.cskb->dev = dev;
skb470drivers/net/3c501.cport_read_b(DATAPORT, (void *)(skb+1), pkt_len);
skb473drivers/net/3c501.cnetif_rx(skb);
skb475drivers/net/3c501.cskb->lock = 0;
skb476drivers/net/3c501.cif (dev_rint((unsigned char*)skb, pkt_len, IN_SKBUFF, dev) != 0) {
skb477drivers/net/3c501.ckfree_skbmem(skb, sksize);
skb263drivers/net/3c507.cstatic int  el16_send_packet(struct sk_buff *skb, struct device *dev);
skb446drivers/net/3c507.cel16_send_packet(struct sk_buff *skb, struct device *dev)
skb481drivers/net/3c507.cif (skb == NULL) {
skb488drivers/net/3c507.cif (!skb->arp  &&  dev->rebuild_header(skb+1, dev)) {
skb489drivers/net/3c507.cskb->dev = dev;
skb490drivers/net/3c507.carp_queue (skb);
skb493drivers/net/3c507.cskb->arp=1;
skb499drivers/net/3c507.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb500drivers/net/3c507.cunsigned char *buf = (void *)(skb+1);
skb510drivers/net/3c507.cif (skb->free)
skb511drivers/net/3c507.ckfree_skb (skb, FREE_WRITE);
skb844drivers/net/3c507.cstruct sk_buff *skb;
skb848drivers/net/3c507.cskb = alloc_skb(sksize, GFP_ATOMIC);
skb849drivers/net/3c507.cif (skb == NULL) {
skb854drivers/net/3c507.cskb->mem_len = sksize;
skb855drivers/net/3c507.cskb->mem_addr = skb;
skb856drivers/net/3c507.cskb->len = pkt_len;
skb857drivers/net/3c507.cskb->dev = dev;
skb860drivers/net/3c507.cmemcpy((unsigned char *) (skb + 1), data_frame + 5, pkt_len);
skb863drivers/net/3c507.cnetif_rx(skb);
skb865drivers/net/3c507.cskb->lock = 0;
skb866drivers/net/3c507.cif (dev_rint((unsigned char*)skb, pkt_len, IN_SKBUFF, dev) != 0) {
skb867drivers/net/3c507.ckfree_skbmem(skb, sksize);
skb86drivers/net/3c509.cstatic int el3_start_xmit(struct sk_buff *skb, struct device *dev);
skb355drivers/net/3c509.cel3_start_xmit(struct sk_buff *skb, struct device *dev)
skb374drivers/net/3c509.cif (skb == NULL) {
skb380drivers/net/3c509.cif (!skb->arp  &&  dev->rebuild_header(skb+1, dev)) {
skb381drivers/net/3c509.cskb->dev = dev;
skb382drivers/net/3c509.carp_queue (skb);
skb385drivers/net/3c509.cskb->arp=1;
skb387drivers/net/3c509.cif (skb->len <= 0)
skb392drivers/net/3c509.cdev->name, skb->len, inw(ioaddr + EL3_STATUS));
skb415drivers/net/3c509.coutw(skb->len, ioaddr + TX_FIFO);
skb418drivers/net/3c509.cport_write_l(ioaddr + TX_FIFO, (void *)(skb+1), (skb->len + 3) >> 2);
skb428drivers/net/3c509.cif (skb->free)
skb429drivers/net/3c509.ckfree_skb (skb, FREE_WRITE);
skb578drivers/net/3c509.cstruct sk_buff *skb;
skb580drivers/net/3c509.cskb = alloc_skb(sksize, GFP_ATOMIC);
skb584drivers/net/3c509.cif (skb != NULL) {
skb585drivers/net/3c509.cskb->mem_len = sksize;
skb586drivers/net/3c509.cskb->mem_addr = skb;
skb587drivers/net/3c509.cskb->len = pkt_len;
skb588drivers/net/3c509.cskb->dev = dev;
skb591drivers/net/3c509.cport_read_l(ioaddr+RX_FIFO, (void *)(skb+1),
skb595drivers/net/3c509.cnetif_rx(skb);
skb599drivers/net/3c509.cskb->lock = 0;
skb600drivers/net/3c509.cif (dev_rint((unsigned char *)skb, pkt_len,
skb615drivers/net/3c509.ckfree_s(skb, sksize);
skb127drivers/net/8390.cstatic int ei_start_xmit(struct sk_buff *skb, struct device *dev)
skb159drivers/net/8390.cif (skb == NULL) {
skb164drivers/net/8390.cif (!skb->arp  &&  dev->rebuild_header(skb+1, dev)) {
skb165drivers/net/8390.cskb->dev = dev;
skb166drivers/net/8390.carp_queue (skb);
skb169drivers/net/8390.cskb->arp=1;
skb171drivers/net/8390.cif (skb->len <= 0)
skb173drivers/net/8390.clength = skb->len;
skb223drivers/net/8390.cei_block_output(dev, length, (unsigned char *)(skb+1), output_page);
skb237drivers/net/8390.cei_block_output(dev, length, (unsigned char *)(skb+1),
skb243drivers/net/8390.cif (skb->free)
skb244drivers/net/8390.ckfree_skb (skb, FREE_WRITE);
skb484drivers/net/8390.cstruct sk_buff *skb;
skb486drivers/net/8390.cskb = alloc_skb(sksize, GFP_ATOMIC);
skb487drivers/net/8390.cif (skb == NULL) {
skb494drivers/net/8390.cskb->mem_len = sksize;
skb495drivers/net/8390.cskb->mem_addr = skb;
skb496drivers/net/8390.cskb->len = pkt_len;
skb497drivers/net/8390.cskb->dev = dev;
skb500drivers/net/8390.cei_block_input(dev, pkt_len, (char *)(skb+1),
skb503drivers/net/8390.cnetif_rx(skb);
skb505drivers/net/8390.cskb->lock = 0;
skb506drivers/net/8390.cif (dev_rint((unsigned char*)skb, pkt_len, IN_SKBUFF, dev)) {
skb507drivers/net/8390.ckfree_skbmem(skb, sksize);
skb117drivers/net/at1700.cstatic int  net_send_packet(struct sk_buff *skb, struct device *dev);
skb368drivers/net/at1700.cnet_send_packet(struct sk_buff *skb, struct device *dev)
skb399drivers/net/at1700.cif (skb == NULL) {
skb406drivers/net/at1700.cif (!skb->arp  &&  dev->rebuild_header(skb+1, dev)) {
skb407drivers/net/at1700.cskb->dev = dev;
skb408drivers/net/at1700.carp_queue (skb);
skb411drivers/net/at1700.cskb->arp=1;
skb418drivers/net/at1700.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb419drivers/net/at1700.cunsigned char *buf = (void *)(skb+1);
skb423drivers/net/at1700.cskb->len);
skb447drivers/net/at1700.cif (skb->free)
skb448drivers/net/at1700.ckfree_skb (skb, FREE_WRITE);
skb533drivers/net/at1700.cstruct sk_buff *skb;
skb542drivers/net/at1700.cskb = alloc_skb(sksize, GFP_ATOMIC);
skb543drivers/net/at1700.cif (skb == NULL) {
skb550drivers/net/at1700.cskb->mem_len = sksize;
skb551drivers/net/at1700.cskb->mem_addr = skb;
skb552drivers/net/at1700.cskb->len = pkt_len;
skb553drivers/net/at1700.cskb->dev = dev;
skb556drivers/net/at1700.cport_read(ioaddr + DATAPORT, (void *)(skb+1), (pkt_len + 1) >> 1);
skb562drivers/net/at1700.cprintk(" %02x", ((unsigned char*)(skb + 1))[i]);
skb567drivers/net/at1700.cnetif_rx(skb);
skb569drivers/net/at1700.cskb->lock = 0;
skb570drivers/net/at1700.cif (dev_rint((unsigned char*)skb, pkt_len, IN_SKBUFF, dev) != 0) {
skb571drivers/net/at1700.ckfree_s(skb, sksize);
skb226drivers/net/d_link.cstatic int  d_link_start_xmit(struct sk_buff *skb, struct device *dev);
skb384drivers/net/d_link.cd_link_start_xmit(struct sk_buff *skb, struct device *dev)
skb389drivers/net/d_link.cunsigned char  *buffer = (unsigned char *)(skb + 1);
skb397drivers/net/d_link.cif (skb == NULL) {
skb403drivers/net/d_link.cif (!skb->arp)
skb404drivers/net/d_link.cif(dev->rebuild_header(skb + 1, dev)) {
skb405drivers/net/d_link.cskb->dev = dev;
skb406drivers/net/d_link.carp_queue (skb);
skb409drivers/net/d_link.cskb->arp = 1;
skb428drivers/net/d_link.cPRINTK(("d_link_start_xmit:len=%d, page %d/%d\n", skb->len, tx_fifo_in, free_tx_pages));
skb430drivers/net/d_link.cif ((len = skb->len) < RUNT)
skb457drivers/net/d_link.cif (skb->free)
skb458drivers/net/d_link.ckfree_skb (skb, FREE_WRITE);
skb558drivers/net/d_link.cstruct sk_buff  *skb;
skb581drivers/net/d_link.cskb = alloc_skb(sksize, GFP_ATOMIC);
skb583drivers/net/d_link.cif (skb == NULL) {
skb590drivers/net/d_link.cskb->lock = 0;
skb591drivers/net/d_link.cskb->mem_len = sksize;
skb592drivers/net/d_link.cskb->mem_addr = skb;
skb594drivers/net/d_link.cbuffer = (unsigned char *)(skb + 1);
skb603drivers/net/d_link.cif (dev_rint((unsigned char *)skb, size, IN_SKBUFF, dev))
skb290drivers/net/eexpress.cstatic int  eexp_send_packet(struct sk_buff *skb, struct device *dev);
skb473drivers/net/eexpress.ceexp_send_packet(struct sk_buff *skb, struct device *dev)
skb508drivers/net/eexpress.cif (skb == NULL) {
skb515drivers/net/eexpress.cif (!skb->arp  &&  dev->rebuild_header(skb+1, dev)) {
skb516drivers/net/eexpress.cskb->dev = dev;
skb517drivers/net/eexpress.carp_queue (skb);
skb520drivers/net/eexpress.cskb->arp=1;
skb526drivers/net/eexpress.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb527drivers/net/eexpress.cunsigned char *buf = (void *)(skb+1);
skb537drivers/net/eexpress.cif (skb->free)
skb538drivers/net/eexpress.ckfree_skb (skb, FREE_WRITE);
skb947drivers/net/eexpress.cstruct sk_buff *skb;
skb951drivers/net/eexpress.cskb = alloc_skb(sksize, GFP_ATOMIC);
skb952drivers/net/eexpress.cif (skb == NULL) {
skb957drivers/net/eexpress.cskb->mem_len = sksize;
skb958drivers/net/eexpress.cskb->mem_addr = skb;
skb959drivers/net/eexpress.cskb->len = pkt_len;
skb960drivers/net/eexpress.cskb->dev = dev;
skb964drivers/net/eexpress.cport_read(ioaddr, (void *)(skb+1), (pkt_len + 1) >> 1);
skb967drivers/net/eexpress.cnetif_rx(skb);
skb969drivers/net/eexpress.cskb->lock = 0;
skb970drivers/net/eexpress.cif (dev_rint((unsigned char*)skb, pkt_len, IN_SKBUFF, dev) != 0) {
skb971drivers/net/eexpress.ckfree_s(skb, sksize);
skb212drivers/net/lance.cstatic int lance_start_xmit(struct sk_buff *skb, struct device *dev);
skb469drivers/net/lance.clance_start_xmit(struct sk_buff *skb, struct device *dev)
skb510drivers/net/lance.cif (skb == NULL) {
skb516drivers/net/lance.cif (!skb->arp  &&  dev->rebuild_header(skb+1, dev)) {
skb517drivers/net/lance.cskb->dev = dev;
skb518drivers/net/lance.carp_queue (skb);
skb521drivers/net/lance.cskb->arp=1;
skb523drivers/net/lance.cif (skb->len <= 0)
skb549drivers/net/lance.c-(ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
skb551drivers/net/lance.clp->tx_ring[entry].length = -skb->len;
skb557drivers/net/lance.cif ((int)(skb+1) + skb->len > 0x01000000) {
skb560drivers/net/lance.cdev->name, (int)(skb+1));
skb561drivers/net/lance.cmemcpy(&lp->tx_bounce_buffs[entry], skb+1, skb->len);
skb564drivers/net/lance.cif (skb->free)
skb565drivers/net/lance.ckfree_skb (skb, FREE_WRITE);
skb567drivers/net/lance.clp->tx_ring[entry].base = (int)(skb+1) | 0x83000000;
skb656drivers/net/lance.cstruct sk_buff *skb = ((struct sk_buff *)databuff) - 1;
skb657drivers/net/lance.cif (skb->free)
skb658drivers/net/lance.ckfree_skb(skb, FREE_WRITE);
skb712drivers/net/lance.cstruct sk_buff *skb;
skb714drivers/net/lance.cskb = alloc_skb(sksize, GFP_ATOMIC);
skb715drivers/net/lance.cif (skb == NULL) {
skb720drivers/net/lance.cskb->mem_len = sksize;
skb721drivers/net/lance.cskb->mem_addr = skb;
skb722drivers/net/lance.cskb->len = pkt_len;
skb723drivers/net/lance.cskb->dev = dev;
skb724drivers/net/lance.cmemcpy((unsigned char *) (skb + 1),
skb728drivers/net/lance.cnetif_rx(skb);
skb730drivers/net/lance.cskb->lock = 0;
skb731drivers/net/lance.cif (dev_rint((unsigned char*)skb, pkt_len, IN_SKBUFF, dev) != 0) {
skb732drivers/net/lance.ckfree_skbmem(skb, sksize);
skb139drivers/net/plip.cstatic int plip_tx_packet(struct sk_buff *skb, struct device *dev);
skb264drivers/net/plip.cplip_tx_packet(struct sk_buff *skb, struct device *dev)
skb281drivers/net/plip.cif (skb == NULL) {
skb288drivers/net/plip.cif (!skb->arp  &&  dev->rebuild_header(skb+1, dev)) {
skb289drivers/net/plip.cskb->dev = dev;
skb290drivers/net/plip.carp_queue (skb);
skb293drivers/net/plip.cskb->arp=1;
skb296drivers/net/plip.cret_val = plip_send_packet(dev, (unsigned char *)(skb+1), skb->len);
skb297drivers/net/plip.cif (skb->free)
skb298drivers/net/plip.ckfree_skb (skb, FREE_WRITE);
skb424drivers/net/plip.cstruct sk_buff *skb;
skb474drivers/net/plip.cskb = alloc_skb(sksize, GFP_ATOMIC);
skb475drivers/net/plip.cif (skb == NULL) {
skb480drivers/net/plip.cskb->lock = 0;
skb481drivers/net/plip.cskb->mem_len = sksize;
skb482drivers/net/plip.cskb->mem_addr = skb;
skb487drivers/net/plip.cunsigned char *buf = (unsigned char *) (skb+1);
skb504drivers/net/plip.c} else if(dev_rint((unsigned char *)skb, length, IN_SKBUFF, dev)) {
skb110drivers/net/skeleton.cstatic int  net_send_packet(struct sk_buff *skb, struct device *dev);
skb291drivers/net/skeleton.cnet_send_packet(struct sk_buff *skb, struct device *dev)
skb313drivers/net/skeleton.cif (skb == NULL) {
skb320drivers/net/skeleton.cif (!skb->arp  &&  dev->rebuild_header(skb+1, dev)) {
skb321drivers/net/skeleton.cskb->dev = dev;
skb322drivers/net/skeleton.carp_queue (skb);
skb325drivers/net/skeleton.cskb->arp=1;
skb332drivers/net/skeleton.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb333drivers/net/skeleton.cunsigned char *buf = (void *)(skb+1);
skb338drivers/net/skeleton.cif (skb->free)
skb339drivers/net/skeleton.ckfree_skb (skb, FREE_WRITE);
skb411drivers/net/skeleton.cstruct sk_buff *skb;
skb413drivers/net/skeleton.cskb = alloc_skb(sksize, GFP_ATOMIC);
skb414drivers/net/skeleton.cif (skb == NULL) {
skb419drivers/net/skeleton.cskb->mem_len = sksize;
skb420drivers/net/skeleton.cskb->mem_addr = skb;
skb421drivers/net/skeleton.cskb->len = pkt_len;
skb422drivers/net/skeleton.cskb->dev = dev;
skb425drivers/net/skeleton.cmemcpy((unsigned char *) (skb + 1), (void*)dev->rmem_start,
skb428drivers/net/skeleton.cport_read(ioaddr, (void *)(skb+1), (pkt_len + 1) >> 1);
skb431drivers/net/skeleton.cnetif_rx(skb);
skb433drivers/net/skeleton.cskb->lock = 0;
skb434drivers/net/skeleton.cif (dev_rint((unsigned char*)skb, pkt_len, IN_SKBUFF, dev) != 0) {
skb435drivers/net/skeleton.ckfree_s(skb, sksize);
skb486drivers/net/slip.csl_xmit(struct sk_buff *skb, struct device *dev)
skb495drivers/net/slip.cdev->name, skb, sl->sending));
skb509drivers/net/slip.cif (skb != NULL) {
skb511drivers/net/slip.csl_encaps(sl, (unsigned char *) (skb + 1), skb->len);
skb512drivers/net/slip.cif (skb->free) kfree_skb(skb, FREE_WRITE);
skb520drivers/net/slip.csl_type_trans (struct sk_buff *skb, struct device *dev)
skb537drivers/net/slip.csl_add_arp(unsigned long addr, struct sk_buff *skb, struct device *dev)
skb198net/inet/arp.cstruct sk_buff *skb;
skb205net/inet/arp.cwhile((skb=skb_dequeue(&work_q))!=NULL)
skb207net/inet/arp.cIS_SKB(skb);
skb208net/inet/arp.cskb->magic = 0;
skb209net/inet/arp.cskb->next = NULL;
skb210net/inet/arp.cskb->prev = NULL;
skb214net/inet/arp.cskb->tries--;
skb215net/inet/arp.cif (skb->tries == 0) {
skb225net/inet/arp.cskb->sk = NULL;
skb226net/inet/arp.cif(skb->free)
skb227net/inet/arp.ckfree_skb(skb, FREE_WRITE);
skb236net/inet/arp.cif (skb->arp || !skb->dev->rebuild_header(skb+1, skb->dev)) {
skb237net/inet/arp.cskb->arp  = 1;
skb238net/inet/arp.cskb->dev->queue_xmit(skb, skb->dev, 0);
skb241net/inet/arp.cskb->magic = ARP_QUEUE_MAGIC;      
skb242net/inet/arp.cskb_queue_head(&arp_q,skb);
skb253net/inet/arp.cstruct sk_buff *skb;
skb272net/inet/arp.cskb = alloc_skb(sizeof(struct sk_buff) +
skb276net/inet/arp.cif (skb == NULL) {
skb281net/inet/arp.cskb->mem_addr = skb;
skb282net/inet/arp.cskb->len      = sizeof(struct arphdr) + (2 * arp1->ar_hln) + 
skb284net/inet/arp.cskb->mem_len  = sizeof(struct sk_buff) + skb->len;
skb285net/inet/arp.chlen = dev->hard_header((unsigned char *)(skb+1), dev,
skb286net/inet/arp.cETH_P_ARP, src, dst, skb->len);
skb289net/inet/arp.ckfree_skb(skb, FREE_WRITE);
skb298net/inet/arp.carp2 = (struct arphdr *) ((unsigned char *) (skb+1) + hlen);
skb316net/inet/arp.cskb->free = 1;
skb317net/inet/arp.cskb->arp = 1;
skb318net/inet/arp.cskb->sk = NULL;
skb319net/inet/arp.cskb->next = NULL;
skb325net/inet/arp.cdev->queue_xmit(skb, dev, 0);
skb463net/inet/arp.carp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb473net/inet/arp.carp = skb->h.arp;
skb480net/inet/arp.ckfree_skb(skb, FREE_READ);
skb489net/inet/arp.ckfree_skb(skb, FREE_READ);
skb510net/inet/arp.ckfree_skb(skb, FREE_READ);
skb515net/inet/arp.ckfree_skb(skb, FREE_READ);
skb533net/inet/arp.ckfree_skb(skb, FREE_READ);
skb543net/inet/arp.ckfree_skb(skb, FREE_READ);
skb550net/inet/arp.ckfree_skb(skb, FREE_READ);
skb559net/inet/arp.ckfree_skb(skb, FREE_READ);
skb568net/inet/arp.cstruct sk_buff *skb;
skb577net/inet/arp.cskb = alloc_skb(sizeof(struct sk_buff) +
skb581net/inet/arp.cif (skb == NULL) {
skb587net/inet/arp.cskb->sk = NULL;
skb588net/inet/arp.cskb->mem_addr = skb;
skb589net/inet/arp.cskb->len = sizeof(struct arphdr) +
skb591net/inet/arp.cskb->mem_len = sizeof(struct sk_buff) + skb->len;
skb592net/inet/arp.cskb->arp = 1;
skb593net/inet/arp.cskb->dev = dev;
skb594net/inet/arp.cskb->next = NULL;
skb595net/inet/arp.cskb->free = 1;
skb596net/inet/arp.ctmp = dev->hard_header((unsigned char *)(skb+1), dev,
skb597net/inet/arp.cETH_P_ARP, 0, saddr, skb->len);
skb599net/inet/arp.ckfree_skb(skb,FREE_WRITE);
skb602net/inet/arp.carp = (struct arphdr *) ((unsigned char *) (skb+1) + tmp);
skb621net/inet/arp.cdev->queue_xmit(skb, dev, 0);
skb721net/inet/arp.carp_queue(struct sk_buff *skb)
skb724net/inet/arp.cskb->tries = ARP_MAX_TRIES;
skb726net/inet/arp.cif (skb->next != NULL) {
skb728net/inet/arp.cprintk("ARP: arp_queue skb already on queue magic=%X.\n", skb->magic);
skb731net/inet/arp.cskb_queue_tail(&arp_q,skb);
skb732net/inet/arp.cskb->magic = ARP_QUEUE_MAGIC;
skb52net/inet/arp.hextern int  arp_rcv(struct sk_buff *skb, struct device *dev,
skb59net/inet/arp.hextern void  arp_queue(struct sk_buff *skb);
skb48net/inet/datagram.cstruct sk_buff *skb;
skb102net/inet/datagram.cskb=skb_dequeue(&sk->rqueue);
skb103net/inet/datagram.cif(skb!=NULL)
skb104net/inet/datagram.cskb->users++;
skb111net/inet/datagram.cskb=skb_peek(&sk->rqueue);
skb112net/inet/datagram.cif(skb!=NULL)
skb113net/inet/datagram.cskb->users++;
skb115net/inet/datagram.cif(skb==NULL)  /* shouldn't happen but .. */
skb118net/inet/datagram.creturn skb;
skb121net/inet/datagram.cvoid skb_free_datagram(struct sk_buff *skb)
skb127net/inet/datagram.cskb->users--;
skb128net/inet/datagram.cif(skb->users>0)
skb134net/inet/datagram.cif(skb->list == NULL)  /* Been dequeued by someone - ie its read */
skb135net/inet/datagram.ckfree_skb(skb,FREE_READ);
skb139net/inet/datagram.cvoid skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size)
skb143net/inet/datagram.cmemcpy_tofs(to,skb->h.raw+offset,size);
skb337net/inet/dev.cstruct sk_buff *skb;
skb338net/inet/dev.cwhile((skb=skb_dequeue(&dev->buffs[ct]))!=NULL)
skb339net/inet/dev.cif(skb->free)
skb340net/inet/dev.ckfree_skb(skb,FREE_WRITE);
skb351net/inet/dev.cdev_queue_xmit(struct sk_buff *skb, struct device *dev, int pri)
skb358net/inet/dev.cskb, dev, pri));
skb365net/inet/dev.cIS_SKB(skb);
skb367net/inet/dev.cskb->dev = dev;
skb368net/inet/dev.cif (skb->next != NULL) {
skb384net/inet/dev.cif (dev->hard_start_xmit(skb, dev) == 0) {
skb394net/inet/dev.cskb->magic = DEV_QUEUE_MAGIC;
skb396net/inet/dev.cskb_queue_head(&dev->buffs[pri],skb);
skb398net/inet/dev.cskb_queue_tail(&dev->buffs[pri],skb);
skb399net/inet/dev.cskb->magic = DEV_QUEUE_MAGIC;
skb408net/inet/dev.cnetif_rx(struct sk_buff *skb)
skb411net/inet/dev.cskb->sk = NULL;
skb412net/inet/dev.cskb->free = 1;
skb415net/inet/dev.cIS_SKB(skb);
skb416net/inet/dev.cskb_queue_tail(&backlog,skb);
skb439net/inet/dev.cstruct sk_buff *skb = NULL;
skb446net/inet/dev.cskb = (struct sk_buff *) buff;
skb455net/inet/dev.cskb = alloc_skb(sizeof(*skb) + len, GFP_ATOMIC);
skb456net/inet/dev.cif (skb == NULL) {
skb462net/inet/dev.cskb->mem_len = sizeof(*skb) + len;
skb463net/inet/dev.cskb->mem_addr = (struct sk_buff *) skb;
skb466net/inet/dev.cto = (unsigned char *) (skb + 1);
skb481net/inet/dev.cskb->len = len;
skb482net/inet/dev.cskb->dev = dev;
skb483net/inet/dev.cskb->free = 1;
skb485net/inet/dev.cnetif_rx(skb);
skb519net/inet/dev.cstruct sk_buff *skb;
skb533net/inet/dev.cwhile((skb=skb_dequeue(&backlog))!=NULL)
skb543net/inet/dev.cskb->h.raw = (unsigned char *) (skb + 1) + skb->dev->hard_header_len;
skb544net/inet/dev.cskb->len -= skb->dev->hard_header_len;
skb556net/inet/dev.ctype = skb->dev->type_trans(skb, skb->dev);
skb569net/inet/dev.cskb2 = alloc_skb(skb->mem_len, GFP_ATOMIC);
skb572net/inet/dev.cmemcpy(skb2, (const void *) skb, skb->mem_len);
skb576net/inet/dev.c(unsigned long) skb->h.raw -
skb577net/inet/dev.c(unsigned long) skb
skb581net/inet/dev.cskb2 = skb;
skb591net/inet/dev.cptype->func(skb2, skb->dev, ptype);
skb602net/inet/dev.cskb->sk = NULL;
skb603net/inet/dev.ckfree_skb(skb, FREE_WRITE);
skb624net/inet/dev.cstruct sk_buff *skb;
skb627net/inet/dev.cwhile((skb=skb_dequeue(&dev->buffs[i]))!=NULL)
skb629net/inet/dev.cskb->magic = 0;
skb630net/inet/dev.cskb->next = NULL;
skb631net/inet/dev.cskb->prev = NULL;
skb632net/inet/dev.cdev->queue_xmit(skb,dev,-i - 1);
skb119net/inet/dev.hint        (*hard_start_xmit) (struct sk_buff *skb,
skb128net/inet/dev.hstruct sk_buff *skb,
skb130net/inet/dev.hvoid        (*queue_xmit)(struct sk_buff *skb,
skb133net/inet/dev.hunsigned short    (*type_trans) (struct sk_buff *skb,
skb173net/inet/dev.hextern void    dev_queue_xmit(struct sk_buff *skb, struct device *dev,
skb176net/inet/dev.hextern void    netif_rx(struct sk_buff *skb);
skb166net/inet/eth.ceth_add_arp(unsigned long addr, struct sk_buff *skb, struct device *dev)
skb170net/inet/eth.ceth = (struct ethhdr *) (skb + 1);
skb177net/inet/eth.ceth_type_trans(struct sk_buff *skb, struct device *dev)
skb181net/inet/eth.ceth = (struct ethhdr *) (skb + 1);
skb31net/inet/eth.hextern void    eth_add_arp(unsigned long addr, struct sk_buff *skb,
skb33net/inet/eth.hextern unsigned short  eth_type_trans(struct sk_buff *skb, struct device *dev);
skb81net/inet/icmp.cstruct sk_buff *skb;
skb95net/inet/icmp.cskb = (struct sk_buff *) alloc_skb(len, GFP_ATOMIC);
skb96net/inet/icmp.cif (skb == NULL) 
skb99net/inet/icmp.cskb->sk = NULL;
skb100net/inet/icmp.cskb->mem_addr = skb;
skb101net/inet/icmp.cskb->mem_len = len;
skb109net/inet/icmp.coffset = ip_build_header(skb, iph->daddr, iph->saddr,
skb112net/inet/icmp.cskb->sk = NULL;
skb113net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb118net/inet/icmp.cskb->len = offset + sizeof(struct icmphdr) + sizeof(struct iphdr) + 8;
skb119net/inet/icmp.cicmph = (struct icmphdr *) ((unsigned char *) (skb + 1) + offset);
skb133net/inet/icmp.cip_queue_xmit(NULL, dev, skb, 1);
skb139net/inet/icmp.cicmp_unreach(struct icmphdr *icmph, struct sk_buff *skb)
skb196net/inet/icmp.cskb->sk = NULL;
skb197net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb203net/inet/icmp.cicmp_redirect(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev)
skb228net/inet/icmp.cskb->sk = NULL;
skb229net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb235net/inet/icmp.cicmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb246net/inet/icmp.cskb->sk = NULL;
skb247net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb261net/inet/icmp.cskb->sk = NULL;
skb262net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb280net/inet/icmp.cskb->sk = NULL;
skb281net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb287net/inet/icmp.cicmp_info(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb292net/inet/icmp.cskb->sk = NULL;
skb293net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb299net/inet/icmp.cicmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb310net/inet/icmp.cskb->sk = NULL;
skb311net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb325net/inet/icmp.cskb->sk = NULL;
skb326net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb347net/inet/icmp.cskb->sk = NULL;
skb348net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb170net/inet/ip.cip_send(struct sk_buff *skb, unsigned long daddr, int len, struct device *dev,
skb176net/inet/ip.cptr = (unsigned char *)(skb + 1);
skb178net/inet/ip.cskb->arp = 1;
skb184net/inet/ip.cskb->arp = 0;
skb186net/inet/ip.cskb->dev = dev;
skb198net/inet/ip.cip_build_header(struct sk_buff *skb, unsigned long saddr, unsigned long daddr,
skb214net/inet/ip.cskb, saddr, daddr, *dev, type, opt, len));
skb216net/inet/ip.cbuff = (unsigned char *)(skb + 1);
skb240net/inet/ip.ctmp = ip_send(skb, raddr, len, *dev, saddr);
skb244net/inet/ip.cskb->dev = *dev;
skb245net/inet/ip.cskb->saddr = saddr;
skb246net/inet/ip.cif (skb->sk) skb->sk->saddr = saddr;
skb512net/inet/ip.cstatic struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr)
skb528net/inet/ip.cfp->skb = skb;
skb597net/inet/ip.cIS_SKB(fp->skb);
skb598net/inet/ip.ckfree_skb(fp->skb,FREE_READ);
skb633net/inet/ip.cicmp_send(qp->fragments->skb,ICMP_TIME_EXCEEDED,
skb648net/inet/ip.cstatic struct ipq *ip_create(struct sk_buff *skb, struct iphdr *iph, struct device *dev)
skb663net/inet/ip.cmaclen = ((unsigned long) iph) - ((unsigned long) (skb + 1));
skb684net/inet/ip.cmemcpy(qp->mac, (skb + 1), maclen);
skb740net/inet/ip.cstruct sk_buff *skb;
skb748net/inet/ip.cif ((skb = alloc_skb(len,GFP_ATOMIC)) == NULL) 
skb756net/inet/ip.cskb->len = (len - qp->maclen);
skb757net/inet/ip.cskb->h.raw = (unsigned char *) (skb + 1);
skb758net/inet/ip.cskb->free = 1;
skb759net/inet/ip.cskb->lock = 1;
skb762net/inet/ip.cptr = (unsigned char *) skb->h.raw;
skb769net/inet/ip.cskb->h.raw += qp->maclen;
skb778net/inet/ip.cif(count+fp->len>skb->len)
skb781net/inet/ip.ckfree_skb(skb,FREE_WRITE);
skb794net/inet/ip.ciph = skb->h.iph;
skb797net/inet/ip.creturn(skb);
skb802net/inet/ip.cstatic struct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev)
skb823net/inet/ip.creturn(skb);
skb842net/inet/ip.cif ((qp = ip_create(skb, iph, dev)) == NULL) 
skb851net/inet/ip.cptr = ((unsigned char *) (skb + 1)) + dev->hard_header_len + ihl;
skb919net/inet/ip.ctfp = ip_frag_create(offset, end, skb, ptr);
skb953net/inet/ip.cvoid ip_fragment(struct sock *sk, struct sk_buff *skb, struct device *dev, int is_frag)
skb963net/inet/ip.craw = (unsigned char *) (skb + 1);
skb991net/inet/ip.cicmp_send(skb,ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, dev); 
skb1019net/inet/ip.cskb2->arp = skb->arp;
skb1020net/inet/ip.cskb2->free = skb->free;
skb1058net/inet/ip.cip_forward(struct sk_buff *skb, struct device *dev, int is_frag)
skb1074net/inet/ip.cif(memcmp((char *)&skb[1],dev->dev_addr,dev->addr_len))
skb1083net/inet/ip.ciph = skb->h.iph;
skb1091net/inet/ip.cicmp_send(skb, ICMP_TIME_EXCEEDED, ICMP_EXC_TTL, dev);
skb1107net/inet/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_NET_UNREACH, dev);
skb1125net/inet/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_UNREACH, dev);
skb1140net/inet/ip.cin_ntoa(raddr), dev2->name, skb->len));
skb1144net/inet/ip.cdev2->hard_header_len + skb->len, GFP_ATOMIC);
skb1152net/inet/ip.cskb2->len = skb->len + dev2->hard_header_len;
skb1159net/inet/ip.cmemcpy(ptr + dev2->hard_header_len, skb->h.raw, skb->len);
skb1162net/inet/ip.c(void) ip_send(skb2, raddr, skb->len, dev2, dev2->pa_addr);
skb1179net/inet/ip.cip_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb1181net/inet/ip.cstruct iphdr *iph = skb->h.iph;
skb1198net/inet/ip.cskb->sk = NULL;
skb1199net/inet/ip.ckfree_skb(skb, FREE_WRITE);
skb1219net/inet/ip.cip_forward(skb, dev, is_frag);
skb1224net/inet/ip.cskb->sk = NULL;
skb1225net/inet/ip.ckfree_skb(skb, FREE_WRITE);
skb1236net/inet/ip.cskb=ip_defrag(iph,skb,dev);
skb1237net/inet/ip.cif(skb==NULL)
skb1241net/inet/ip.ciph=skb->h.iph;
skb1246net/inet/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PROT_UNREACH, dev);
skb1247net/inet/ip.cskb->sk = NULL;
skb1248net/inet/ip.ckfree_skb(skb, FREE_WRITE);
skb1259net/inet/ip.cskb->sk=NULL;
skb1260net/inet/ip.ckfree_skb(skb,FREE_WRITE);
skb1265net/inet/ip.cskb->h.raw += iph->ihl*4;
skb1283net/inet/ip.cskb2 = alloc_skb(skb->mem_len, GFP_ATOMIC);
skb1286net/inet/ip.cmemcpy(skb2, skb, skb->mem_len);
skb1290net/inet/ip.c(unsigned long) skb->h.raw -
skb1291net/inet/ip.c(unsigned long)skb);
skb1294net/inet/ip.cskb2 = skb;
skb1317net/inet/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PROT_UNREACH, dev);
skb1318net/inet/ip.cskb->sk = NULL;
skb1319net/inet/ip.ckfree_skb(skb, FREE_WRITE);
skb1335net/inet/ip.cstruct sk_buff *skb, int free)
skb1345net/inet/ip.cIS_SKB(skb);
skb1346net/inet/ip.cskb->free = free;
skb1347net/inet/ip.cskb->dev = dev;
skb1348net/inet/ip.cskb->when = jiffies;
skb1351net/inet/ip.cptr = (unsigned char *)(skb + 1);
skb1354net/inet/ip.ciph->tot_len = ntohs(skb->len-dev->hard_header_len);
skb1356net/inet/ip.cif(skb->len > dev->mtu)
skb1359net/inet/ip.cip_fragment(sk,skb,dev,0);
skb1360net/inet/ip.cIS_SKB(skb);
skb1361net/inet/ip.ckfree_skb(skb,FREE_WRITE);
skb1367net/inet/ip.cskb->next = NULL;
skb1370net/inet/ip.cskb->magic = 1;
skb1372net/inet/ip.cskb->link3 = NULL;
skb1376net/inet/ip.csk->send_tail = skb;
skb1377net/inet/ip.csk->send_head = skb;
skb1384net/inet/ip.csk->send_tail->link3 = skb;
skb1385net/inet/ip.csk->send_tail = skb;
skb1392net/inet/ip.cskb->sk = sk;
skb1398net/inet/ip.cdev->queue_xmit(skb, dev, sk->priority);
skb1401net/inet/ip.cdev->queue_xmit(skb, dev, SOPRI_NORMAL);
skb1404net/inet/ip.cif (free) kfree_skb(skb, FREE_WRITE);
skb1412net/inet/ip.cstruct sk_buff * skb;
skb1417net/inet/ip.cskb = sk->send_head;
skb1418net/inet/ip.cwhile (skb != NULL) {
skb1419net/inet/ip.cdev = skb->dev;
skb1427net/inet/ip.cIS_SKB(skb);
skb1437net/inet/ip.cif (!skb->arp) {
skb1438net/inet/ip.cif (dev->rebuild_header(skb+1, dev)) {
skb1441net/inet/ip.cskb = (struct sk_buff *)skb->link3;
skb1445net/inet/ip.cskb->arp = 1;
skb1447net/inet/ip.cskb->when = jiffies;
skb1451net/inet/ip.cif (sk) dev->queue_xmit(skb, dev, sk->priority);
skb1461net/inet/ip.cskb = (struct sk_buff *)skb->link3;
skb41net/inet/ip.hstruct sk_buff *skb;      /* complete received fragment    */
skb68net/inet/ip.hextern int    ip_build_header(struct sk_buff *skb,
skb74net/inet/ip.hextern int    ip_rcv(struct sk_buff *skb, struct device *dev,
skb77net/inet/ip.hstruct device *dev, struct sk_buff *skb,
skb47net/inet/loopback.cloopback_xmit(struct sk_buff *skb, struct device *dev)
skb52net/inet/loopback.cDPRINTF((DBG_LOOPB, "loopback_xmit(dev=%X, skb=%X)\n", dev, skb));
skb53net/inet/loopback.cif (skb == NULL || dev == NULL) return(0);
skb64net/inet/loopback.cdone = dev_rint((unsigned char *)(skb+1), skb->len, 0, dev);
skb65net/inet/loopback.cif (skb->free) kfree_skb(skb, FREE_WRITE);
skb58net/inet/packet.cpacket_rcv(struct sk_buff *skb, struct device *dev,  struct packet_type *pt)
skb63net/inet/packet.cskb->dev = dev;
skb64net/inet/packet.cskb->len += dev->hard_header_len;
skb66net/inet/packet.cskb->sk = sk;
skb69net/inet/packet.cif (sk->rmem_alloc + skb->mem_len >= sk->rcvbuf) {
skb70net/inet/packet.cskb->sk = NULL;
skb71net/inet/packet.ckfree_skb(skb, FREE_READ);
skb74net/inet/packet.csk->rmem_alloc += skb->mem_len;
skb75net/inet/packet.cskb_queue_tail(&sk->rqueue,skb);
skb88net/inet/packet.cstruct sk_buff *skb;
skb121net/inet/packet.cskb = (struct sk_buff *) sk->prot->wmalloc(sk, len+sizeof(*skb), 0, GFP_KERNEL);
skb124net/inet/packet.cif (skb == NULL) {
skb129net/inet/packet.cskb->mem_addr = skb;
skb130net/inet/packet.cskb->mem_len = len + sizeof(*skb);
skb131net/inet/packet.cskb->sk = sk;
skb132net/inet/packet.cskb->free = 1;
skb133net/inet/packet.cmemcpy_fromfs (skb+1, from, len);
skb134net/inet/packet.cskb->len = len;
skb135net/inet/packet.cskb->next = NULL;
skb136net/inet/packet.cif (dev->flags & IFF_UP) dev->queue_xmit(skb, dev, sk->priority);
skb137net/inet/packet.celse kfree_skb(skb, FREE_WRITE);
skb192net/inet/packet.cstruct sk_buff *skb;
skb211net/inet/packet.cskb=skb_recv_datagram(sk,flags,noblock,&err);
skb212net/inet/packet.cif(skb==NULL)
skb214net/inet/packet.ccopied = min(len, skb->len);
skb216net/inet/packet.cmemcpy_tofs(to, skb+1, copied);  /* Don't use skb_copy_datagram here: We can't get frag chains */
skb222net/inet/packet.caddr.sa_family = skb->dev->type;
skb223net/inet/packet.cmemcpy(addr.sa_data,skb->dev->name, 14);
skb228net/inet/packet.cskb_free_datagram(skb);    /* Its either been used up, or its a peek_copy anyway */
skb31net/inet/protocol.hint      (*handler)(struct sk_buff *skb, struct device *dev,
skb35net/inet/protocol.hint      (*frag_handler)(struct sk_buff *skb, struct device *dev,
skb89net/inet/raw.craw_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb97net/inet/raw.cskb, dev, opt, daddr, len, saddr, redo, protocol));
skb99net/inet/raw.cif (skb == NULL) return(0);
skb101net/inet/raw.ckfree_skb(skb, FREE_READ);
skb106net/inet/raw.ckfree_skb(skb, FREE_READ);
skb111net/inet/raw.cskb->sk = sk;
skb112net/inet/raw.cskb->len = len;
skb113net/inet/raw.cskb->dev = dev;
skb114net/inet/raw.cskb->saddr = daddr;
skb115net/inet/raw.cskb->daddr = saddr;
skb118net/inet/raw.cif (sk->rmem_alloc + skb->mem_len >= sk->rcvbuf) {
skb119net/inet/raw.cskb->sk = NULL;
skb120net/inet/raw.ckfree_skb(skb, FREE_READ);
skb123net/inet/raw.csk->rmem_alloc += skb->mem_len;
skb124net/inet/raw.cskb_queue_tail(&sk->rqueue,skb);
skb137net/inet/raw.cstruct sk_buff *skb;
skb174net/inet/raw.cskb = NULL;
skb175net/inet/raw.cwhile (skb == NULL) {
skb184net/inet/raw.cskb = (struct sk_buff *) sk->prot->wmalloc(sk,
skb185net/inet/raw.clen+sizeof(*skb) + sk->prot->max_header,
skb187net/inet/raw.cif (skb == NULL) {
skb207net/inet/raw.cskb->mem_addr = skb;
skb208net/inet/raw.cskb->mem_len = len + sizeof(*skb) +sk->prot->max_header;
skb209net/inet/raw.cskb->sk = sk;
skb211net/inet/raw.cskb->free = 1; /* these two should be unecessary. */
skb212net/inet/raw.cskb->arp = 0;
skb214net/inet/raw.ctmp = sk->prot->build_header(skb, sk->saddr, 
skb216net/inet/raw.csk->protocol, sk->opt, skb->mem_len);
skb219net/inet/raw.ckfree_skb(skb,FREE_WRITE);
skb225net/inet/raw.cmemcpy_fromfs ((unsigned char *)(skb+1)+tmp, from, len);
skb234net/inet/raw.cbuff = (unsigned char *)(skb + 1);
skb240net/inet/raw.cskb->len = tmp + len;
skb242net/inet/raw.cif(dev!=NULL && skb->len > 4095)
skb244net/inet/raw.ckfree_skb(skb, FREE_WRITE);
skb249net/inet/raw.csk->prot->queue_xmit(sk, dev, skb, 1);
skb315net/inet/raw.cstruct sk_buff *skb;
skb336net/inet/raw.cskb=skb_recv_datagram(sk,flags,noblock,&err);
skb337net/inet/raw.cif(skb==NULL)
skb340net/inet/raw.ccopied = min(len, skb->len);
skb342net/inet/raw.cskb_copy_datagram(skb, 0, to, copied);
skb349net/inet/raw.caddr.sin_addr.s_addr = skb->daddr;
skb354net/inet/raw.cskb_free_datagram(skb);
skb26net/inet/raw.hextern int  raw_rcv(struct sk_buff *skb, struct device *dev,
skb55net/inet/skbuff.cvoid skb_check(struct sk_buff *skb, int line, char *file)
skb57net/inet/skbuff.cif(skb->magic_debug_cookie==SK_FREED_SKB)
skb62net/inet/skbuff.cskb,skb->truesize,skb->mem_len,skb->magic,skb->list,skb->free);
skb64net/inet/skbuff.cif(skb->magic_debug_cookie!=SK_GOOD_SKB)
skb68net/inet/skbuff.cskb,skb->truesize,skb->mem_len,skb->magic,skb->list,skb->free);
skb70net/inet/skbuff.cif(skb->mem_len!=skb->truesize)
skb74net/inet/skbuff.cskb,skb->truesize,skb->mem_len,skb->magic,skb->list);
skb245net/inet/skbuff.cvoid skb_unlink(struct sk_buff *skb)
skb251net/inet/skbuff.cIS_SKB(skb);
skb253net/inet/skbuff.cif(skb->list)
skb255net/inet/skbuff.cskb->next->prev=skb->prev;
skb256net/inet/skbuff.cskb->prev->next=skb->next;
skb257net/inet/skbuff.cif(*skb->list==skb)
skb259net/inet/skbuff.cif(skb->next==skb)
skb260net/inet/skbuff.c*skb->list=NULL;
skb262net/inet/skbuff.c*skb->list=skb->next;
skb264net/inet/skbuff.cskb->next=0;
skb265net/inet/skbuff.cskb->prev=0;
skb266net/inet/skbuff.cskb->list=0;
skb279net/inet/skbuff.cstruct sk_buff *skb=skb_peek(list);
skb280net/inet/skbuff.cif(skb!=NULL)
skb284net/inet/skbuff.cIS_SKB(skb);
skb285net/inet/skbuff.cskb->list=list;
skb286net/inet/skbuff.cskb=skb->next;
skb288net/inet/skbuff.cwhile(skb!=*list);
skb375net/inet/skbuff.cvoid kfree_skb(struct sk_buff *skb, int rw)
skb377net/inet/skbuff.cif (skb == NULL) {
skb381net/inet/skbuff.cIS_SKB(skb);
skb382net/inet/skbuff.cif(skb->free == 2)
skb384net/inet/skbuff.cif(skb->list)
skb386net/inet/skbuff.cskb->magic = 0;
skb387net/inet/skbuff.cif (skb->sk) {
skb389net/inet/skbuff.cskb->sk->prot->rfree(skb->sk, skb->mem_addr, skb->mem_len);
skb391net/inet/skbuff.cskb->sk->prot->wfree(skb->sk, skb->mem_addr, skb->mem_len);
skb394net/inet/skbuff.ckfree_skbmem(skb->mem_addr, skb->mem_len);
skb405net/inet/skbuff.cstruct sk_buff *skb=(struct sk_buff *)kmalloc(size,priority);
skb406net/inet/skbuff.cif(skb==NULL)
skb408net/inet/skbuff.cskb->free= 2;  /* Invalid so we pick up forgetful users */
skb409net/inet/skbuff.cskb->list= 0;  /* Not on a list */
skb410net/inet/skbuff.cskb->truesize=size;
skb411net/inet/skbuff.cskb->mem_len=size;
skb412net/inet/skbuff.cskb->mem_addr=skb;
skb413net/inet/skbuff.cskb->fraglist=NULL;
skb416net/inet/skbuff.cskb->magic_debug_cookie=SK_GOOD_SKB;
skb417net/inet/skbuff.cskb->users=0;
skb418net/inet/skbuff.creturn skb;
skb87net/inet/skbuff.hextern void      kfree_skb(struct sk_buff *skb, int rw);
skb100net/inet/skbuff.hextern void       skb_check(struct sk_buff *skb,int, char *);
skb101net/inet/skbuff.h#define IS_SKB(skb)  skb_check((skb),__LINE__,__FILE__)
skb106net/inet/skbuff.hextern void      skb_free_datagram(struct sk_buff *skb);
skb132net/inet/sock.cprint_skb(struct sk_buff *skb)
skb134net/inet/sock.cif (!skb) {
skb138net/inet/sock.cprintk("  prev = %p, next = %p\n", skb->prev, skb->next);
skb139net/inet/sock.cprintk("  sk = %p link3 = %p\n", skb->sk, skb->link3);
skb140net/inet/sock.cprintk("  mem_addr = %p, mem_len = %lu\n", skb->mem_addr, skb->mem_len);
skb141net/inet/sock.cprintk("  used = %d free = %d\n", skb->used,skb->free);
skb306net/inet/sock.cstruct sk_buff *skb;
skb328net/inet/sock.cfor(skb = sk->wfront; skb != NULL; ) 
skb332net/inet/sock.cskb2=(struct sk_buff *)skb->next;
skb333net/inet/sock.cif (skb->magic != TCP_WRITE_QUEUE_MAGIC) {
skb335net/inet/sock.cskb->magic);
skb338net/inet/sock.cIS_SKB(skb);
skb339net/inet/sock.ckfree_skb(skb, FREE_WRITE);
skb340net/inet/sock.cskb = skb2;
skb348net/inet/sock.cwhile((skb=skb_dequeue(&sk->rqueue))!=NULL)
skb354net/inet/sock.cif (skb->sk != NULL && skb->sk != sk) 
skb356net/inet/sock.cIS_SKB(skb);
skb357net/inet/sock.cskb->sk->dead = 1;
skb358net/inet/sock.cskb->sk->prot->close(skb->sk, 0);
skb360net/inet/sock.cIS_SKB(skb);
skb361net/inet/sock.ckfree_skb(skb, FREE_READ);
skb367net/inet/sock.cfor(skb = sk->send_head; skb != NULL; ) 
skb379net/inet/sock.cif (skb->next != NULL) 
skb381net/inet/sock.cIS_SKB(skb);
skb382net/inet/sock.cskb_unlink(skb);
skb384net/inet/sock.cskb->dev = NULL;
skb386net/inet/sock.cskb2 = (struct sk_buff *)skb->link3;
skb387net/inet/sock.ckfree_skb(skb, FREE_WRITE);
skb388net/inet/sock.cskb = skb2;
skb398net/inet/sock.cskb = (struct sk_buff *)sk->back_log;
skb403net/inet/sock.cskb2 = (struct sk_buff *)skb->next;
skb404net/inet/sock.ckfree_skb(skb, FREE_READ);
skb405net/inet/sock.cskb = skb2;
skb407net/inet/sock.cwhile(skb != sk->back_log);
skb1663net/inet/sock.cstruct sk_buff *skb;
skb1666net/inet/sock.cskb =(struct sk_buff *)sk->back_log;
skb1667net/inet/sock.cDPRINTF((DBG_INET, "release_sock: skb = %X:\n", skb));
skb1668net/inet/sock.cif (skb->next != skb) {
skb1669net/inet/sock.csk->back_log = skb->next;
skb1670net/inet/sock.cskb->prev->next = skb->next;
skb1671net/inet/sock.cskb->next->prev = skb->prev;
skb1677net/inet/sock.cif (sk->prot->rcv) sk->prot->rcv(skb, skb->dev, sk->opt,
skb1678net/inet/sock.cskb->saddr, skb->len, skb->daddr, 1,
skb154net/inet/sock.hint      (*build_header)(struct sk_buff *skb,
skb163net/inet/sock.hstruct device *dev, struct sk_buff *skb,
skb257net/inet/tcp.cstruct sk_buff *skb;
skb278net/inet/tcp.cskb =(struct sk_buff *)sk->rqueue;
skb292net/inet/tcp.cif (before(counted, skb->h.th->seq))   /* Found a hole so stops here */
skb294net/inet/tcp.csum = skb->len -(counted - skb->h.th->seq);  /* Length - header but start from where we are up to (avoid overlaps) */
skb295net/inet/tcp.cif (skb->h.th->syn) sum++;
skb296net/inet/tcp.cif (skb->h.th->urg) {
skb297net/inet/tcp.csum -= ntohs(skb->h.th->urg_ptr);  /* Dont count urg data */
skb301net/inet/tcp.cif (skb->h.th->syn) amount--;
skb305net/inet/tcp.cskb =(struct sk_buff *)skb->next;    /* Move along */
skb306net/inet/tcp.c} while(skb != sk->rqueue);
skb440net/inet/tcp.cstruct sk_buff *skb;
skb448net/inet/tcp.cif ((skb=skb_peek(&sk->rqueue)) != NULL) 
skb450net/inet/tcp.cif (sk->copied_seq+1 == skb->h.th->seq && skb->h.th->urg) 
skb556net/inet/tcp.cstruct sk_buff *skb;
skb560net/inet/tcp.cskb = sk->send_tmp;
skb563net/inet/tcp.ctcp_send_check(skb->h.th, sk->saddr, sk->daddr,
skb564net/inet/tcp.cskb->len-(unsigned long)skb->h.th +
skb565net/inet/tcp.c(unsigned long)(skb+1), sk);
skb567net/inet/tcp.cskb->h.seq = sk->send_seq;
skb574net/inet/tcp.cskb->next = NULL;
skb575net/inet/tcp.cskb->magic = TCP_WRITE_QUEUE_MAGIC;
skb577net/inet/tcp.csk->wfront=skb;
skb579net/inet/tcp.csk->wback->next = skb;
skb581net/inet/tcp.csk->wback = skb;
skb583net/inet/tcp.csk->prot->queue_xmit(sk, skb->dev, skb,0);
skb703net/inet/tcp.cstruct sk_buff *skb;
skb788net/inet/tcp.cskb = sk->send_tmp;
skb790net/inet/tcp.ccopy = min(sk->mss - skb->len + 128 +
skb799net/inet/tcp.cmemcpy_fromfs((unsigned char *)(skb+1) + skb->len, from, copy);
skb800net/inet/tcp.cskb->len += copy;
skb807net/inet/tcp.cif (skb->len -(unsigned long)skb->h.th +
skb808net/inet/tcp.c(unsigned long)(skb+1) >= sk->mss ||(flags & MSG_OOB)) {
skb830net/inet/tcp.cskb = (struct sk_buff *) prot->wmalloc(sk,
skb832net/inet/tcp.csizeof(*skb), 0, GFP_KERNEL);
skb834net/inet/tcp.csk->send_tmp = skb;
skb835net/inet/tcp.cif (skb != NULL)
skb836net/inet/tcp.cskb->mem_len = sk->mss + 128 + prot->max_header + sizeof(*skb);
skb840net/inet/tcp.cskb = (struct sk_buff *) prot->wmalloc(sk,
skb842net/inet/tcp.csizeof(*skb), 0, GFP_KERNEL);
skb844net/inet/tcp.cif (skb != NULL)
skb845net/inet/tcp.cskb->mem_len = copy+prot->max_header + sizeof(*skb);
skb849net/inet/tcp.cif (skb == NULL) {
skb878net/inet/tcp.cskb->mem_addr = skb;
skb879net/inet/tcp.cskb->len = 0;
skb880net/inet/tcp.cskb->sk = sk;
skb881net/inet/tcp.cskb->free = 0;
skb883net/inet/tcp.cbuff =(unsigned char *)(skb+1);
skb889net/inet/tcp.ctmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev,
skb890net/inet/tcp.cIPPROTO_TCP, sk->opt, skb->mem_len);
skb892net/inet/tcp.cprot->wfree(sk, skb->mem_addr, skb->mem_len);
skb898net/inet/tcp.cskb->len += tmp;
skb899net/inet/tcp.cskb->dev = dev;
skb901net/inet/tcp.cskb->h.th =(struct tcphdr *) buff;
skb904net/inet/tcp.cprot->wfree(sk, skb->mem_addr, skb->mem_len);
skb915net/inet/tcp.cskb->len += tmp;
skb921net/inet/tcp.cskb->len += copy;
skb922net/inet/tcp.cskb->free = 0;
skb930net/inet/tcp.cskb->h.seq = sk->send_seq;
skb937net/inet/tcp.cskb->next = NULL;
skb938net/inet/tcp.cskb->magic = TCP_WRITE_QUEUE_MAGIC;
skb940net/inet/tcp.csk->wfront = skb;
skb942net/inet/tcp.csk->wback->next = skb;
skb944net/inet/tcp.csk->wback = skb;
skb946net/inet/tcp.cprot->queue_xmit(sk, dev, skb,0);
skb1052net/inet/tcp.cstruct sk_buff *skb;
skb1066net/inet/tcp.cwhile((skb=skb_peek(&sk->rqueue)) != NULL ) 
skb1068net/inet/tcp.cif (!skb->used) 
skb1070net/inet/tcp.cskb_unlink(skb);
skb1071net/inet/tcp.cskb->sk = sk;
skb1072net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb1123net/inet/tcp.cstruct sk_buff *skb;
skb1181net/inet/tcp.cskb = skb_peek(&sk->rqueue);
skb1185net/inet/tcp.cif (skb->h.th->urg && !skb->urg_used) {
skb1186net/inet/tcp.cif (skb->h.th->urg_ptr == 0) {
skb1187net/inet/tcp.cskb->h.th->urg_ptr = ntohs(skb->len);
skb1189net/inet/tcp.camt = min(ntohs(skb->h.th->urg_ptr),len);
skb1193net/inet/tcp.cmemcpy_tofs(to,(unsigned char *)(skb->h.th) +
skb1194net/inet/tcp.cskb->h.th->doff*4, amt);
skb1198net/inet/tcp.cskb->urg_used = 1;
skb1205net/inet/tcp.cskb =(struct sk_buff *)skb->next;
skb1206net/inet/tcp.c} while(skb != sk->rqueue);
skb1220net/inet/tcp.cstruct sk_buff *skb;
skb1244net/inet/tcp.cskb=skb_peek(&sk->rqueue);
skb1253net/inet/tcp.cwhile(skb == NULL ||
skb1254net/inet/tcp.cbefore(sk->copied_seq+1, skb->h.th->seq) || skb->used) {
skb1255net/inet/tcp.cDPRINTF((DBG_TCP, "skb = %X:\n", skb));
skb1354net/inet/tcp.cskb=skb_peek(&sk->rqueue);
skb1362net/inet/tcp.coffset = sk->copied_seq+1 - skb->h.th->seq;
skb1364net/inet/tcp.cif (skb->h.th->syn) offset--;
skb1365net/inet/tcp.cif (offset < skb->len) /* Some of the packet is useful */
skb1371net/inet/tcp.cif (skb->h.th->urg) 
skb1373net/inet/tcp.cif (skb->urg_used) 
skb1375net/inet/tcp.csk->copied_seq += ntohs(skb->h.th->urg_ptr);
skb1376net/inet/tcp.coffset += ntohs(skb->h.th->urg_ptr);
skb1377net/inet/tcp.cif (offset >= skb->len) 
skb1379net/inet/tcp.cskb->used = 1;
skb1380net/inet/tcp.cskb =(struct sk_buff *)skb->next;
skb1394net/inet/tcp.cused = min(skb->len - offset, len);
skb1396net/inet/tcp.cmemcpy_tofs(to,((unsigned char *)skb->h.th) +
skb1397net/inet/tcp.cskb->h.th->doff*4 + offset, used);
skb1412net/inet/tcp.c(!skb->h.th->urg || skb->urg_used) &&
skb1413net/inet/tcp.c(used + offset >= skb->len)) 
skb1414net/inet/tcp.cskb->used = 1;
skb1420net/inet/tcp.cif (/*skb->h.th->psh || */skb->h.th->urg) 
skb1427net/inet/tcp.cskb->used = 1;
skb1430net/inet/tcp.cskb =(struct sk_buff *)skb->next;
skb1698net/inet/tcp.ctcp_conn_request(struct sock *sk, struct sk_buff *skb,
skb1711net/inet/tcp.csk, skb, daddr, saddr, opt, dev));
skb1713net/inet/tcp.cth = skb->h.th;
skb1721net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb1730net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb1744net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb1773net/inet/tcp.cnewsk->acked_seq = skb->h.th->seq+1;
skb1774net/inet/tcp.cnewsk->fin_seq = skb->h.th->seq;
skb1775net/inet/tcp.cnewsk->copied_seq = skb->h.th->seq;
skb1785net/inet/tcp.cnewsk->dummy_th.source = skb->h.th->dest;
skb1786net/inet/tcp.cnewsk->dummy_th.dest = skb->h.th->source;
skb1802net/inet/tcp.cnewsk->acked_seq = skb->h.th->seq + 1;
skb1803net/inet/tcp.cnewsk->copied_seq = skb->h.th->seq;
skb1806net/inet/tcp.cif (skb->h.th->doff == 5) {
skb1809net/inet/tcp.cptr =(unsigned char *)(skb->h.th + 1);
skb1818net/inet/tcp.ctcp_options(newsk,skb->h.th);
skb1825net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb1847net/inet/tcp.cskb->sk = sk;
skb1848net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb1855net/inet/tcp.cmemcpy(t1, skb->h.th, sizeof(*t1));
skb1859net/inet/tcp.ct1->dest = skb->h.th->source;
skb1871net/inet/tcp.ct1->ack_seq = ntohl(skb->h.th->seq+1);
skb1884net/inet/tcp.cskb->sk = newsk;
skb1887net/inet/tcp.csk->rmem_alloc -= skb->mem_len;
skb1888net/inet/tcp.cnewsk->rmem_alloc += skb->mem_len;
skb1890net/inet/tcp.cskb_queue_tail(&sk->rqueue,skb);
skb1920net/inet/tcp.cstruct sk_buff *skb;
skb1923net/inet/tcp.cskb = skb_peek(&sk->rqueue);
skb1925net/inet/tcp.cskb2 =(struct sk_buff *)skb->next;
skb1927net/inet/tcp.cif (skb->len > 0 &&
skb1928net/inet/tcp.cafter(skb->h.th->seq + skb->len + 1, sk->copied_seq))
skb1930net/inet/tcp.ckfree_skb(skb, FREE_WRITE);
skb1931net/inet/tcp.cskb = skb2;
skb1932net/inet/tcp.c} while(skb != sk->rqueue);
skb1936net/inet/tcp.cwhile((skb=skb_dequeue(&sk->rqueue))!=NULL)
skb1938net/inet/tcp.cif(skb->len > 0 && after(skb->h.th->seq + skb->len + 1 , sk->copied_seq))
skb1940net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb2060net/inet/tcp.cstruct sk_buff *skb;
skb2072net/inet/tcp.cskb = sk->wfront;
skb2073net/inet/tcp.cIS_SKB(skb);
skb2074net/inet/tcp.csk->wfront =(struct sk_buff *)skb->next;
skb2076net/inet/tcp.cskb->next = NULL;
skb2077net/inet/tcp.cif (skb->magic != TCP_WRITE_QUEUE_MAGIC) {
skb2079net/inet/tcp.c"queue\n", skb->magic);
skb2084net/inet/tcp.cskb->magic = 0;
skb2088net/inet/tcp.cif (before(skb->h.seq, sk->rcv_ack_seq +1)) {
skb2090net/inet/tcp.ckfree_skb(skb, FREE_WRITE);
skb2093net/inet/tcp.csk->prot->queue_xmit(sk, skb->dev, skb, skb->free);
skb2107net/inet/tcp.cstruct sk_buff *skb,*skb2,*skb3;
skb2109net/inet/tcp.cfor (skb = sk->send_head; skb != NULL; skb = skb2) {
skb2110net/inet/tcp.cskb2 = (struct sk_buff *)skb->link3;
skb2112net/inet/tcp.cskb->link3 = list;
skb2113net/inet/tcp.csk->send_tail = skb;
skb2114net/inet/tcp.clist = skb;
skb2118net/inet/tcp.cbefore(skb->h.seq, skb3->link3->h.seq)) {
skb2119net/inet/tcp.cskb->link3 = skb3->link3;
skb2120net/inet/tcp.cskb3->link3 = skb;
skb2121net/inet/tcp.cif (skb->link3 == NULL) sk->send_tail = skb;
skb2168net/inet/tcp.cstruct sk_buff *skb;
skb2181net/inet/tcp.cskb = skb2;
skb2182net/inet/tcp.cskb2 = (struct sk_buff *)skb->link3;
skb2183net/inet/tcp.cskb->link3 = NULL;
skb2184net/inet/tcp.cif (after(skb->h.seq, sk->window_seq)) {
skb2187net/inet/tcp.cif (skb->next != NULL) {
skb2191net/inet/tcp.cif (skb->next != skb) {
skb2192net/inet/tcp.cskb->next->prev = skb->prev;
skb2193net/inet/tcp.cskb->prev->next = skb->next;
skb2197net/inet/tcp.cif (skb->dev->buffs[i] == skb) {
skb2198net/inet/tcp.cif (skb->next == skb)
skb2199net/inet/tcp.cskb->dev->buffs[i] = NULL;
skb2201net/inet/tcp.cskb->dev->buffs[i] = skb->next;
skb2205net/inet/tcp.cif (arp_q == skb) {
skb2206net/inet/tcp.cif (skb->next == skb) arp_q = NULL;
skb2207net/inet/tcp.celse arp_q = skb->next;
skb2210net/inet/tcp.cskb_unlink(skb);        
skb2214net/inet/tcp.cskb->magic = TCP_WRITE_QUEUE_MAGIC;
skb2216net/inet/tcp.cskb->next = sk->wfront;
skb2217net/inet/tcp.csk->wfront = skb;
skb2219net/inet/tcp.cskb->next = wskb->next;
skb2220net/inet/tcp.cwskb->next = skb;
skb2222net/inet/tcp.cif (sk->wback == wskb) sk->wback = skb;
skb2223net/inet/tcp.cwskb = skb;
skb2226net/inet/tcp.csk->send_head = skb;
skb2227net/inet/tcp.csk->send_tail = skb;
skb2229net/inet/tcp.csk->send_tail->link3 = skb;
skb2230net/inet/tcp.csk->send_tail = skb;
skb2232net/inet/tcp.cskb->link3 = NULL;
skb2400net/inet/tcp.ctcp_data(struct sk_buff *skb, struct sock *sk, 
skb2407net/inet/tcp.cth = skb->h.th;
skb2409net/inet/tcp.cskb->len = len -(th->doff*4);
skb2411net/inet/tcp.cDPRINTF((DBG_TCP, "tcp_data len = %d sk = %X:\n", skb->len, sk));
skb2413net/inet/tcp.csk->bytes_rcv += skb->len;
skb2414net/inet/tcp.cif (skb->len == 0 && !th->fin && !th->urg && !th->psh) {
skb2417net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb2422net/inet/tcp.csk->acked_seq = th->seq + skb->len + th->syn + th->fin;
skb2423net/inet/tcp.ctcp_reset(sk->saddr, sk->daddr, skb->h.th,
skb2424net/inet/tcp.csk->prot, NULL, skb->dev);
skb2429net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb2444net/inet/tcp.cDPRINTF((DBG_TCP, "tcp_data: skb = %X:\n", skb));
skb2446net/inet/tcp.csk->rqueue = skb;
skb2447net/inet/tcp.cskb->next = skb;
skb2448net/inet/tcp.cskb->prev = skb;
skb2449net/inet/tcp.cskb->list = &sk->rqueue;
skb2451net/inet/tcp.cskb_queue_head(&sk->rqueue,skb);
skb2461net/inet/tcp.cprintk("skb->h.th->seq = %ld\n",skb->h.th->seq);
skb2467net/inet/tcp.cskb->prev = skb1;
skb2468net/inet/tcp.cskb->next = skb1->next;
skb2469net/inet/tcp.cskb->next->prev = skb;
skb2470net/inet/tcp.cskb1->next = skb;
skb2471net/inet/tcp.cif (skb1 == sk->rqueue) sk->rqueue = skb;
skb2475net/inet/tcp.cskb->next= skb1;
skb2476net/inet/tcp.cskb->prev = skb1->prev;
skb2477net/inet/tcp.cskb->prev->next = skb;
skb2478net/inet/tcp.cskb1->prev = skb;
skb2484net/inet/tcp.cif (th->seq==skb1->h.th->seq && skb->len>= skb1->len)
skb2486net/inet/tcp.cskb_append(skb1,skb);
skb2495net/inet/tcp.cskb_append(skb1,skb);
skb2500net/inet/tcp.cskb_queue_head(&sk->rqueue, skb);    
skb2505net/inet/tcp.cDPRINTF((DBG_TCP, "skb = %X:\n", skb));
skb2508net/inet/tcp.cth->ack_seq = th->seq + skb->len;
skb2522net/inet/tcp.cskb->acked = 1;
skb2525net/inet/tcp.cif (skb->h.th->fin) {
skb2530net/inet/tcp.cfor(skb2 = (struct sk_buff *)skb->next;
skb2575net/inet/tcp.cif (!skb->acked) {
skb2716net/inet/tcp.cstruct sk_buff *skb;
skb2733net/inet/tcp.cwhile((skb = get_firstr(sk)) == NULL) {
skb2753net/inet/tcp.cnewsk = skb->sk;
skb2755net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb2912net/inet/tcp.ctcp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb2919net/inet/tcp.cif (!skb) {
skb2937net/inet/tcp.cth = skb->h.th;
skb2942net/inet/tcp.cDPRINTF((DBG_TCP, "len = %d, redo = %d, skb=%X\n", len, redo, skb));
skb2955net/inet/tcp.cskb->sk = NULL;
skb2958net/inet/tcp.ckfree_skb(skb,FREE_READ);
skb2974net/inet/tcp.cskb->sk = NULL;
skb2975net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb2979net/inet/tcp.cskb->len = len;
skb2980net/inet/tcp.cskb->sk = sk;
skb2981net/inet/tcp.cskb->acked = 0;
skb2982net/inet/tcp.cskb->used = 0;
skb2983net/inet/tcp.cskb->free = 0;
skb2984net/inet/tcp.cskb->urg_used = 0;
skb2985net/inet/tcp.cskb->saddr = daddr;
skb2986net/inet/tcp.cskb->daddr = saddr;
skb2994net/inet/tcp.csk->back_log = skb;
skb2995net/inet/tcp.cskb->next = skb;
skb2996net/inet/tcp.cskb->prev = skb;
skb2998net/inet/tcp.cskb->next = sk->back_log;
skb2999net/inet/tcp.cskb->prev = sk->back_log->prev;
skb3000net/inet/tcp.cskb->prev->next = skb;
skb3001net/inet/tcp.cskb->next->prev = skb;
skb3021net/inet/tcp.cif (sk->rmem_alloc + skb->mem_len >= sk->rcvbuf) {
skb3022net/inet/tcp.cskb->sk = NULL;
skb3024net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3028net/inet/tcp.csk->rmem_alloc += skb->mem_len;
skb3047net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3062net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3087net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3102net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3109net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3116net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3123net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3128net/inet/tcp.cif (tcp_data(skb, sk, saddr, len)) {
skb3129net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3140net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3150net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3156net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3162net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3182net/inet/tcp.ctcp_conn_request(sk, skb, daddr, saddr, opt, dev);
skb3187net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3193net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3207net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3220net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3230net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3240net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3250net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3265net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3289net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3294net/inet/tcp.cif (tcp_data(skb, sk, saddr, len))
skb3295net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3304net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3310net/inet/tcp.cif (tcp_data(skb, sk, saddr, len)) {
skb3311net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb140net/inet/tcp.hextern int  tcp_rcv(struct sk_buff *skb, struct device *dev,
skb218net/inet/udp.cstruct sk_buff *skb;
skb236net/inet/udp.cskb = (struct sk_buff *) sk->prot->wmalloc(sk, size, 0, GFP_KERNEL);
skb237net/inet/udp.cif (skb == NULL) return(-ENOMEM);
skb239net/inet/udp.cskb->mem_addr = skb;
skb240net/inet/udp.cskb->mem_len  = size;
skb241net/inet/udp.cskb->sk       = NULL;  /* to avoid changing sk->saddr */
skb242net/inet/udp.cskb->free     = 1;
skb243net/inet/udp.cskb->arp      = 0;
skb246net/inet/udp.cbuff = (unsigned char *) (skb+1);
skb250net/inet/udp.csaddr, sin->sin_addr.s_addr, dev, IPPROTO_UDP, skb->mem_len));
skb251net/inet/udp.ctmp = sk->prot->build_header(skb, saddr, sin->sin_addr.s_addr,
skb252net/inet/udp.c&dev, IPPROTO_UDP, sk->opt, skb->mem_len);
skb253net/inet/udp.cskb->sk=sk;  /* So memory is freed correctly */
skb256net/inet/udp.csk->prot->wfree(sk, skb->mem_addr, skb->mem_len);
skb263net/inet/udp.cskb->len = tmp + sizeof(struct udphdr) + len;  /* len + UDP + IP + MAC */
skb264net/inet/udp.cskb->dev = dev;
skb273net/inet/udp.cif (skb->len > 4095)
skb277net/inet/udp.csk->prot->wfree(sk, skb->mem_addr, skb->mem_len);
skb292net/inet/udp.cudp_send_check(uh, saddr, sin->sin_addr.s_addr, skb->len - tmp, sk);
skb295net/inet/udp.csk->prot->queue_xmit(sk, dev, skb, 1);
skb400net/inet/udp.cstruct sk_buff *skb;
skb405net/inet/udp.cskb = sk->rqueue;
skb406net/inet/udp.cif (skb != NULL) {
skb412net/inet/udp.camount = skb->len;
skb439net/inet/udp.cstruct sk_buff *skb;
skb475net/inet/udp.cskb=skb_recv_datagram(sk,flags,noblock,&er);
skb476net/inet/udp.cif(skb==NULL)
skb478net/inet/udp.ccopied = min(len, skb->len);
skb481net/inet/udp.cskb_copy_datagram(skb,sizeof(struct udphdr),to,copied);
skb488net/inet/udp.caddr.sin_port = skb->h.uh->source;
skb489net/inet/udp.caddr.sin_addr.s_addr = skb->daddr;
skb493net/inet/udp.cskb_free_datagram(skb);
skb546net/inet/udp.cudp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb553net/inet/udp.cuh = (struct udphdr *) skb->h.uh;
skb559net/inet/udp.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, dev);
skb566net/inet/udp.cskb->sk = NULL;
skb567net/inet/udp.ckfree_skb(skb, FREE_WRITE);
skb573net/inet/udp.cskb->sk = NULL;
skb574net/inet/udp.ckfree_skb(skb, FREE_WRITE);
skb578net/inet/udp.cskb->sk = sk;
skb579net/inet/udp.cskb->dev = dev;
skb580net/inet/udp.cskb->len = len;
skb583net/inet/udp.cskb->daddr = saddr;
skb584net/inet/udp.cskb->saddr = daddr;
skb588net/inet/udp.cif (sk->rmem_alloc + skb->mem_len >= sk->rcvbuf) 
skb590net/inet/udp.cskb->sk = NULL;
skb591net/inet/udp.ckfree_skb(skb, FREE_WRITE);
skb595net/inet/udp.csk->rmem_alloc += skb->mem_len;
skb603net/inet/udp.cskb_queue_tail(&sk->rqueue,skb);
skb605net/inet/udp.cskb->len = len - sizeof(*uh);
skb43net/inet/udp.hextern int  udp_rcv(struct sk_buff *skb, struct device *dev,