taglinefilesource code
skb64drivers/net/3c501.cstatic int  el_start_xmit(struct sk_buff *skb, struct device *dev);
skb271drivers/net/3c501.cel_start_xmit(struct sk_buff *skb, struct device *dev)
skb294drivers/net/3c501.cif (skb == NULL) {
skb303drivers/net/3c501.cint gp_start = 0x800 - (ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
skb304drivers/net/3c501.cunsigned char *buf = skb->data;
skb314drivers/net/3c501.coutsb(DATAPORT,buf,skb->len);
skb322drivers/net/3c501.cdev_kfree_skb (skb, FREE_WRITE);
skb430drivers/net/3c501.cstruct sk_buff *skb;
skb445drivers/net/3c501.cskb = alloc_skb(pkt_len, GFP_ATOMIC);
skb447drivers/net/3c501.cif (skb == NULL) {
skb452drivers/net/3c501.cskb->len = pkt_len;
skb453drivers/net/3c501.cskb->dev = dev;
skb455drivers/net/3c501.cinsb(DATAPORT, skb->data, pkt_len);
skb457drivers/net/3c501.cnetif_rx(skb);
skb130drivers/net/3c505.cextern void  skb_check(struct sk_buff *skb,int, char *);
skb132drivers/net/3c505.c#define IS_SKB(skb)  skb_check((skb),__LINE__,filename)
skb136drivers/net/3c505.c#define IS_SKB(skb)  skb_check((skb),0,__LINE__,filename)
skb161drivers/net/3c505.c#define  SKB_DATA  (skb+1)
skb163drivers/net/3c505.c#define  SKB_DATA  (skb->data) 
skb553drivers/net/3c505.cstruct sk_buff *skb;
skb573drivers/net/3c505.cskb = alloc_skb(sksize, GFP_ATOMIC);
skb575drivers/net/3c505.cskb = alloc_skb(rlen, GFP_ATOMIC);
skb586drivers/net/3c505.cif (skb == NULL) {
skb600drivers/net/3c505.cskb->lock     = 0;
skb601drivers/net/3c505.cskb->len = rlen;
skb602drivers/net/3c505.cskb->dev = dev;
skb608drivers/net/3c505.cskb->mem_len = sksize;
skb609drivers/net/3c505.cskb->mem_addr = skb;
skb626drivers/net/3c505.ckfree_s(skb, sksize);
skb628drivers/net/3c505.ckfree_s(skb, rlen);
skb643drivers/net/3c505.cIS_SKB(skb);
skb650drivers/net/3c505.cif (dev_rint((unsigned char *)skb, rlen, IN_SKBUFF, dev) != 0) {
skb652drivers/net/3c505.ckfree_s(skb, sksize);
skb655drivers/net/3c505.cnetif_rx(skb);
skb1032drivers/net/3c505.cstatic int elp_start_xmit(struct sk_buff *skb, struct device *dev)
skb1042drivers/net/3c505.cif (skb == NULL) {
skb1052drivers/net/3c505.cIS_SKB(skb);
skb1053drivers/net/3c505.cif (!skb->arp && dev->rebuild_header(SKB_DATA, dev)) {
skb1054drivers/net/3c505.cskb->dev = dev;
skb1055drivers/net/3c505.cIS_SKB(skb);
skb1056drivers/net/3c505.carp_queue (skb);
skb1064drivers/net/3c505.cif (skb->len <= 0)
skb1068drivers/net/3c505.cprintk("%s: request to send packet of length %d\n", dev->name, (int)skb->len);
skb1088drivers/net/3c505.cif (!send_packet(adapter, (unsigned char *)SKB_DATA, skb->len)) {
skb1094drivers/net/3c505.cprintk("%s: packet of length %d sent\n", dev->name, (int)skb->len);
skb1111drivers/net/3c505.cif (skb->free)
skb1113drivers/net/3c505.cIS_SKB(skb);
skb1114drivers/net/3c505.ckfree_skb(skb, FREE_WRITE);
skb1117drivers/net/3c505.cdev_kfree_skb(skb, FREE_WRITE);
skb284drivers/net/3c507.cstatic int  el16_send_packet(struct sk_buff *skb, struct device *dev);
skb447drivers/net/3c507.cel16_send_packet(struct sk_buff *skb, struct device *dev)
skb482drivers/net/3c507.cif (skb == NULL) {
skb491drivers/net/3c507.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb492drivers/net/3c507.cunsigned char *buf = skb->data;
skb502drivers/net/3c507.cdev_kfree_skb (skb, FREE_WRITE);
skb836drivers/net/3c507.cstruct sk_buff *skb;
skb839drivers/net/3c507.cskb = alloc_skb(pkt_len, GFP_ATOMIC);
skb840drivers/net/3c507.cif (skb == NULL) {
skb845drivers/net/3c507.cskb->len = pkt_len;
skb846drivers/net/3c507.cskb->dev = dev;
skb849drivers/net/3c507.cmemcpy(skb->data, data_frame + 5, pkt_len);
skb851drivers/net/3c507.cnetif_rx(skb);
skb104drivers/net/3c509.cstatic int el3_start_xmit(struct sk_buff *skb, struct device *dev);
skb378drivers/net/3c509.cel3_start_xmit(struct sk_buff *skb, struct device *dev)
skb397drivers/net/3c509.cif (skb == NULL) {
skb402drivers/net/3c509.cif (skb->len <= 0)
skb407drivers/net/3c509.cdev->name, skb->len, inw(ioaddr + EL3_STATUS));
skb431drivers/net/3c509.coutw(skb->len, ioaddr + TX_FIFO);
skb434drivers/net/3c509.coutsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
skb444drivers/net/3c509.cdev_kfree_skb (skb, FREE_WRITE);
skb593drivers/net/3c509.cstruct sk_buff *skb;
skb595drivers/net/3c509.cskb = alloc_skb(pkt_len+3, GFP_ATOMIC);
skb599drivers/net/3c509.cif (skb != NULL) {
skb600drivers/net/3c509.cskb->len = pkt_len;
skb601drivers/net/3c509.cskb->dev = dev;
skb604drivers/net/3c509.cinsl(ioaddr+RX_FIFO, skb->data,
skb607drivers/net/3c509.cnetif_rx(skb);
skb124drivers/net/8390.cstatic int ei_start_xmit(struct sk_buff *skb, struct device *dev)
skb162drivers/net/8390.cif (skb == NULL) {
skb167drivers/net/8390.clength = skb->len;
skb168drivers/net/8390.cif (skb->len <= 0)
skb208drivers/net/8390.cei_block_output(dev, length, skb->data, output_page);
skb222drivers/net/8390.cei_block_output(dev, length, skb->data, ei_local->tx_start_page);
skb232drivers/net/8390.cdev_kfree_skb (skb, FREE_WRITE);
skb441drivers/net/8390.cstruct sk_buff *skb;
skb443drivers/net/8390.cskb = alloc_skb(pkt_len, GFP_ATOMIC);
skb444drivers/net/8390.cif (skb == NULL) {
skb451drivers/net/8390.cskb->len = pkt_len;
skb452drivers/net/8390.cskb->dev = dev;
skb454drivers/net/8390.cei_block_input(dev, pkt_len, (char *) skb->data,
skb456drivers/net/8390.cnetif_rx(skb);
skb186drivers/net/apricot.cstatic int i596_start_xmit(struct sk_buff *skb, struct device *dev);
skb324drivers/net/apricot.cstruct sk_buff *skb = alloc_skb(pkt_len, GFP_ATOMIC);
skb328drivers/net/apricot.cif (skb == NULL)
skb335drivers/net/apricot.cskb->len = pkt_len;
skb336drivers/net/apricot.cskb->dev=dev;    
skb337drivers/net/apricot.cmemcpy(skb->data, lp->scb.rfd->data, pkt_len);
skb339drivers/net/apricot.cnetif_rx(skb);
skb342drivers/net/apricot.cif (i596_debug > 4) print_eth(skb->data);
skb390drivers/net/apricot.cstruct sk_buff *skb = ((struct sk_buff *)(tx_cmd->tbd->data)) -1;
skb392drivers/net/apricot.cdev_kfree_skb(skb, FREE_WRITE);
skb540drivers/net/apricot.ci596_start_xmit(struct sk_buff *skb, struct device *dev)
skb578drivers/net/apricot.cif (skb == NULL) {
skb584drivers/net/apricot.cif (skb->len <= 0) return 0;
skb594drivers/net/apricot.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb603drivers/net/apricot.cdev_kfree_skb(skb, FREE_WRITE);
skb617drivers/net/apricot.ctx_cmd->tbd->data = skb->data;
skb619drivers/net/apricot.cif (i596_debug > 3) print_eth(skb->data);
skb772drivers/net/apricot.cstruct sk_buff *skb = ((struct sk_buff *)(tx_cmd->tbd->data)) -1;
skb774drivers/net/apricot.cdev_kfree_skb(skb, FREE_WRITE);
skb778drivers/net/apricot.cif (i596_debug >2) print_eth(skb->data);
skb122drivers/net/at1700.cstatic int  net_send_packet(struct sk_buff *skb, struct device *dev);
skb362drivers/net/at1700.cnet_send_packet(struct sk_buff *skb, struct device *dev)
skb393drivers/net/at1700.cif (skb == NULL) {
skb403drivers/net/at1700.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb404drivers/net/at1700.cunsigned char *buf = skb->data;
skb430drivers/net/at1700.cdev_kfree_skb (skb, FREE_WRITE);
skb516drivers/net/at1700.cstruct sk_buff *skb;
skb525drivers/net/at1700.cskb = alloc_skb(pkt_len+1, GFP_ATOMIC);
skb526drivers/net/at1700.cif (skb == NULL) {
skb533drivers/net/at1700.cskb->len = pkt_len;
skb534drivers/net/at1700.cskb->dev = dev;
skb536drivers/net/at1700.cinsw(ioaddr + DATAPORT, skb->data, (pkt_len + 1) >> 1);
skb542drivers/net/at1700.cprintk(" %02x", skb->data[i]);
skb546drivers/net/at1700.cnetif_rx(skb);
skb140drivers/net/atp.cstatic int  net_send_packet(struct sk_buff *skb, struct device *dev);
skb411drivers/net/atp.cnet_send_packet(struct sk_buff *skb, struct device *dev)
skb435drivers/net/atp.cif (skb == NULL) {
skb445drivers/net/atp.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb446drivers/net/atp.cunsigned char *buf = skb->data;
skb474drivers/net/atp.cdev_kfree_skb (skb, FREE_WRITE);
skb629drivers/net/atp.cstruct sk_buff *skb;
skb631drivers/net/atp.cskb = alloc_skb(pkt_len, GFP_ATOMIC);
skb632drivers/net/atp.cif (skb == NULL) {
skb637drivers/net/atp.cskb->len = pkt_len;
skb638drivers/net/atp.cskb->dev = dev;
skb640drivers/net/atp.cread_block(ioaddr, pkt_len, skb->data, dev->if_port);
skb643drivers/net/atp.cunsigned char *data = skb->data;
skb651drivers/net/atp.cnetif_rx(skb);
skb250drivers/net/de600.cstatic int  de600_start_xmit(struct sk_buff *skb, struct device *dev);
skb405drivers/net/de600.cde600_start_xmit(struct sk_buff *skb, struct device *dev)
skb410drivers/net/de600.cbyte  *buffer = skb->data;
skb418drivers/net/de600.cif (skb == NULL) {
skb442drivers/net/de600.cPRINTK(("de600_start_xmit:len=%d, page %d/%d\n", skb->len, tx_fifo_in, free_tx_pages));
skb444drivers/net/de600.cif ((len = skb->len) < RUNT)
skb484drivers/net/de600.cif (skb->sk && (skb->sk->protocol == IPPROTO_TCP) &&
skb485drivers/net/de600.c(skb->sk->prot->rspace != &de600_rspace))
skb486drivers/net/de600.cskb->sk->prot->rspace = de600_rspace; /* Ugh! */
skb489drivers/net/de600.cdev_kfree_skb (skb, FREE_WRITE);
skb589drivers/net/de600.cstruct sk_buff  *skb;
skb614drivers/net/de600.cskb = alloc_skb(size, GFP_ATOMIC);
skb616drivers/net/de600.cif (skb == NULL) {
skb623drivers/net/de600.cskb->lock = 0;
skb625drivers/net/de600.cbuffer = skb->data;
skb634drivers/net/de600.cif (dev_rint((unsigned char *)skb, size, IN_SKBUFF, dev))
skb479drivers/net/de620.cde620_start_xmit(struct sk_buff *skb, struct device *dev)
skb484drivers/net/de620.cbyte *buffer = skb->data;
skb493drivers/net/de620.cif (skb == NULL) {
skb518drivers/net/de620.cif ((len = skb->len) < RUNT)
skb528drivers/net/de620.c(int)skb->len, using_txbuf));
skb558drivers/net/de620.cdev_kfree_skb (skb, FREE_WRITE);
skb621drivers/net/de620.cstruct sk_buff *skb;
skb676drivers/net/de620.cskb = alloc_skb(size, GFP_ATOMIC);
skb677drivers/net/de620.cif (skb == NULL) { /* Yeah, but no place to put it... */
skb683drivers/net/de620.cskb->len = size; skb->dev = dev; skb->free = 1;
skb685drivers/net/de620.cbuffer = skb->data;
skb689drivers/net/de620.cnetif_rx(skb); /* deliver it "upstairs" */
skb314drivers/net/depca.cstatic int depca_start_xmit(struct sk_buff *skb, struct device *dev);
skb799drivers/net/depca.cdepca_start_xmit(struct sk_buff *skb, struct device *dev)
skb824drivers/net/depca.cif (skb == NULL) {
skb829drivers/net/depca.cif (skb->len <= 0) {
skb853drivers/net/depca.clong skbL = skb->len;
skb854drivers/net/depca.cchar *p = (char *) skb->data;
skb876drivers/net/depca.cmemcpy((unsigned char *)(buf), skb->data, len);
skb901drivers/net/depca.cmemcpy((unsigned char *)buf, skb->data, PKT_HDR_LEN);
skb939drivers/net/depca.cdev_kfree_skb (skb, FREE_WRITE);
skb1048drivers/net/depca.cstruct sk_buff *skb;
skb1050drivers/net/depca.cskb = alloc_skb(pkt_len, GFP_ATOMIC);
skb1051drivers/net/depca.cif (skb == NULL) {
skb1056drivers/net/depca.cskb->len = pkt_len;
skb1057drivers/net/depca.cskb->dev = dev;
skb1058drivers/net/depca.cmemcpy(skb->data,
skb1066drivers/net/depca.cnetif_rx(skb);
skb55drivers/net/dummy.cstatic int dummy_xmit(struct sk_buff *skb, struct device *dev);
skb83drivers/net/dummy.cdummy_xmit(struct sk_buff *skb, struct device *dev)
skb89drivers/net/dummy.cif (skb == NULL || dev == NULL)
skb92drivers/net/dummy.cdev_kfree_skb(skb, FREE_WRITE);
skb291drivers/net/eexpress.cstatic int  eexp_send_packet(struct sk_buff *skb, struct device *dev);
skb451drivers/net/eexpress.ceexp_send_packet(struct sk_buff *skb, struct device *dev)
skb486drivers/net/eexpress.cif (skb == NULL) {
skb495drivers/net/eexpress.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb496drivers/net/eexpress.cunsigned char *buf = skb->data;
skb506drivers/net/eexpress.cdev_kfree_skb (skb, FREE_WRITE);
skb938drivers/net/eexpress.cstruct sk_buff *skb;
skb941drivers/net/eexpress.cskb = alloc_skb(pkt_len, GFP_ATOMIC);
skb942drivers/net/eexpress.cif (skb == NULL) {
skb947drivers/net/eexpress.cskb->len = pkt_len;
skb948drivers/net/eexpress.cskb->dev = dev;
skb952drivers/net/eexpress.cinsw(ioaddr, skb->data, (pkt_len + 1) >> 1);
skb954drivers/net/eexpress.cnetif_rx(skb);
skb289drivers/net/ewrk3.cstatic int ewrk3_queue_pkt(struct sk_buff *skb, struct device *dev);
skb745drivers/net/ewrk3.cewrk3_queue_pkt(struct sk_buff *skb, struct device *dev)
skb781drivers/net/ewrk3.c} else if (skb == NULL) {
skb783drivers/net/ewrk3.c} else if (skb->len > 0) {
skb833drivers/net/ewrk3.cunsigned char *p = skb->data;
skb836drivers/net/ewrk3.coutb((char)(skb->len & 0xff), EWRK3_DATA);
skb837drivers/net/ewrk3.coutb((char)((skb->len >> 8) & 0xff), EWRK3_DATA);
skb839drivers/net/ewrk3.cfor (i=0; i<skb->len; i++) {
skb845drivers/net/ewrk3.c*buf++ = (char)(skb->len & 0xff);         /* length (16 bit xfer)*/
skb847drivers/net/ewrk3.c*buf++ = (char)(((skb->len >> 8) & 0xff) | XCT);
skb849drivers/net/ewrk3.c*(buf + skb->len) = 0x00;               /* Write the XCT flag */
skb850drivers/net/ewrk3.cmemcpy(buf, skb->data, PRELOAD);        /* Write PRELOAD bytes */
skb852drivers/net/ewrk3.cmemcpy(buf + PRELOAD, skb->data + PRELOAD, skb->len - PRELOAD);
skb853drivers/net/ewrk3.c*(buf + skb->len) = 0xff;               /* Write the XCT flag */
skb855drivers/net/ewrk3.c*buf++ = (char)((skb->len >> 8) & 0xff);
skb857drivers/net/ewrk3.cmemcpy(buf, skb->data, skb->len);       /* Write data bytes */
skb864drivers/net/ewrk3.cdev_kfree_skb (skb, FREE_WRITE);
skb1022drivers/net/ewrk3.cstruct sk_buff *skb;
skb1024drivers/net/ewrk3.cif ((skb = alloc_skb(pkt_len, GFP_ATOMIC)) != NULL) {
skb1025drivers/net/ewrk3.cskb->len = pkt_len;
skb1026drivers/net/ewrk3.cskb->dev = dev;
skb1029drivers/net/ewrk3.cunsigned char *p = skb->data;
skb1032drivers/net/ewrk3.cfor (i=0; i<skb->len; i++) {
skb1036drivers/net/ewrk3.cmemcpy(skb->data, buf, pkt_len);
skb1043drivers/net/ewrk3.cnetif_rx(skb);
skb1055drivers/net/ewrk3.cbuf = skb->data;                  /* Look at the dest addr */
skb236drivers/net/lance.cstatic int lance_start_xmit(struct sk_buff *skb, struct device *dev);
skb630drivers/net/lance.clance_start_xmit(struct sk_buff *skb, struct device *dev)
skb672drivers/net/lance.cif (skb == NULL) {
skb677drivers/net/lance.cif (skb->len <= 0)
skb712drivers/net/lance.c-(ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
skb714drivers/net/lance.clp->tx_ring[entry].length = -skb->len;
skb720drivers/net/lance.cif ((int)(skb->data) + skb->len > 0x01000000) {
skb723drivers/net/lance.cdev->name, (int)(skb->data));
skb724drivers/net/lance.cmemcpy(&lp->tx_bounce_buffs[entry], skb->data, skb->len);
skb727drivers/net/lance.cdev_kfree_skb (skb, FREE_WRITE);
skb729drivers/net/lance.clp->tx_skbuff[entry] = skb;
skb730drivers/net/lance.clp->tx_ring[entry].base = (int)(skb->data) | 0x83000000;
skb897drivers/net/lance.cstruct sk_buff *skb;
skb899drivers/net/lance.cskb = alloc_skb(pkt_len, GFP_ATOMIC);
skb900drivers/net/lance.cif (skb == NULL) {
skb913drivers/net/lance.cskb->len = pkt_len;
skb914drivers/net/lance.cskb->dev = dev;
skb915drivers/net/lance.cmemcpy(skb->data,
skb918drivers/net/lance.cnetif_rx(skb);
skb44drivers/net/loopback.cloopback_xmit(struct sk_buff *skb, struct device *dev)
skb49drivers/net/loopback.cif (skb == NULL || dev == NULL) return(0);
skb63drivers/net/loopback.cdone = dev_rint(skb->data, skb->len, 0, dev);
skb64drivers/net/loopback.cdev_kfree_skb(skb, FREE_WRITE);
skb810drivers/net/ni52.cstruct sk_buff *skb;
skb867drivers/net/ni52.cskb = (struct sk_buff *) alloc_skb(totlen, GFP_ATOMIC);
skb869drivers/net/ni52.cif (skb != NULL) /* copy header */
skb871drivers/net/ni52.cskb->len = totlen;
skb872drivers/net/ni52.cskb->dev = dev;
skb877drivers/net/ni52.cmemcpy( (char *) skb->data,p->max_cbuff32-pnt,pnt);
skb878drivers/net/ni52.cmemcpy( (char *) skb->data+pnt,p->min_cbuff32,totlen-pnt);
skb881drivers/net/ni52.cmemcpy( (char *) skb->data,(char *) p->base+(unsigned long) rbd_first->buffer, totlen);
skb887drivers/net/ni52.cnetif_rx(skb);
skb999drivers/net/ni52.cstatic int ni52_send_packet(struct sk_buff *skb, struct device *dev)
skb1024drivers/net/ni52.cif(skb == NULL)
skb1030drivers/net/ni52.cif (skb->len <= 0)
skb1037drivers/net/ni52.cmemcpy((char *)p->xmit_cbuffs[p->xmit_count],(char *)(skb->data),skb->len);
skb1038drivers/net/ni52.clen = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN;
skb1089drivers/net/ni52.cdev_kfree_skb(skb,FREE_WRITE);
skb121drivers/net/ni65.cstatic int   ni65_send_packet(struct sk_buff *skb, struct device *dev);
skb454drivers/net/ni65.cstruct sk_buff *skb;
skb464drivers/net/ni65.cskb = (struct sk_buff *) p->tmdbufs[p->tmdlast];
skb465drivers/net/ni65.cdev_kfree_skb(skb,FREE_WRITE); 
skb502drivers/net/ni65.cstruct sk_buff *skb,*skb1;
skb531drivers/net/ni65.cskb = alloc_skb(R_BUF_SIZE,GFP_ATOMIC);
skb532drivers/net/ni65.cif(skb != NULL)
skb534drivers/net/ni65.cif( (unsigned long) (skb->data + R_BUF_SIZE) & 0xff000000) {
skb535drivers/net/ni65.cmemcpy(skb->data,p->recv_skb[p->rmdnum]->data,len);
skb536drivers/net/ni65.cskb1 = skb;
skb540drivers/net/ni65.cp->recv_skb[p->rmdnum] = skb;
skb541drivers/net/ni65.crmdp->u.buffer = (unsigned long) (skb->data);
skb566drivers/net/ni65.cstatic int ni65_send_packet(struct sk_buff *skb, struct device *dev)
skb583drivers/net/ni65.cif(skb == NULL)
skb589drivers/net/ni65.cif (skb->len <= 0)
skb604drivers/net/ni65.cshort len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb609drivers/net/ni65.ctmdp->u.buffer = (unsigned long) (skb->data);
skb610drivers/net/ni65.cp->tmdbufs[p->tmdnum] = skb;
skb612drivers/net/ni65.cmemcpy((char *) (tmdp->u.buffer & 0x00ffffff),(char *)skb->data,skb->len);
skb613drivers/net/ni65.cdev_kfree_skb (skb, FREE_WRITE);
skb118drivers/net/plip.cstatic int plip_tx_packet(struct sk_buff *skb, struct device *dev);
skb123drivers/net/plip.cunsigned long raddr, struct sk_buff *skb);
skb165drivers/net/plip.cstruct sk_buff *skb;
skb288drivers/net/plip.cstruct sk_buff *skb;
skb304drivers/net/plip.cskb = rcv->skb;
skb305drivers/net/plip.crcv->skb = NULL;
skb307drivers/net/plip.cnetif_rx(skb);
skb318drivers/net/plip.cif (rcv->skb)
skb319drivers/net/plip.cdev_kfree_skb(rcv->skb, FREE_WRITE);
skb321drivers/net/plip.crcv->skb = NULL;
skb322drivers/net/plip.cif (snd->skb)
skb323drivers/net/plip.cdev_kfree_skb(snd->skb, FREE_WRITE);
skb325drivers/net/plip.csnd->skb = NULL;
skb340drivers/net/plip.csnd->skb = NULL;
skb383drivers/net/plip.cif (snd->skb)
skb384drivers/net/plip.cdev_kfree_skb(snd->skb, FREE_WRITE);
skb391drivers/net/plip.cif (rcv->skb)
skb392drivers/net/plip.cdev_kfree_skb(rcv->skb, FREE_WRITE);
skb405drivers/net/plip.cplip_tx_packet(struct sk_buff *skb, struct device *dev)
skb416drivers/net/plip.cif (skb == NULL) {
skb426drivers/net/plip.cif (skb->len > dev->mtu) {
skb427drivers/net/plip.cprintk("%s: packet too big, %d.\n", dev->name, (int)skb->len);
skb435drivers/net/plip.csnd->skb = skb;
skb436drivers/net/plip.csnd->length = skb->len;
skb514drivers/net/plip.cstruct sk_buff *skb)
skb539drivers/net/plip.cnl->rcv_data.skb = NULL;
skb540drivers/net/plip.cnl->snd_data.skb = NULL;
skb642drivers/net/plip.crcv->skb = alloc_skb(rcv->length, GFP_ATOMIC);
skb643drivers/net/plip.cif (rcv->skb == NULL) {
skb647drivers/net/plip.crcv->skb->len = rcv->length;
skb648drivers/net/plip.crcv->skb->dev = dev;
skb654drivers/net/plip.clbuf = rcv->skb->data;
skb791drivers/net/plip.cunsigned char *lbuf = snd->skb->data;
skb857drivers/net/plip.cdev_kfree_skb(snd->skb, FREE_WRITE);
skb120drivers/net/ppp.cstatic void ppp_add_arp(unsigned long addr, struct sk_buff *skb,
skb1677drivers/net/ppp.cppp_xmit(struct sk_buff *skb, struct device *dev)
skb1686drivers/net/ppp.cif (skb == NULL) {
skb1694drivers/net/ppp.cp     = (unsigned char *) (skb + 1);
skb1695drivers/net/ppp.clen   = skb->len;
skb1699drivers/net/ppp.c(unsigned long int) skb, ppp->sending));
skb1720drivers/net/ppp.clen = ntohs( ((struct iphdr *)(skb->data)) -> tot_len );
skb1761drivers/net/ppp.cstruct iphdr *iph = (struct iphdr *) (skb + 1);
skb1808drivers/net/ppp.cdev_kfree_skb(skb, FREE_WRITE);
skb1813drivers/net/ppp.cppp_type_trans (struct sk_buff *skb, struct device *dev)
skb1833drivers/net/ppp.cppp_add_arp(unsigned long addr, struct sk_buff *skb, struct device *dev)
skb1841drivers/net/ppp.cvoid *daddr, void *saddr, unsigned len, struct sk_buff *skb)
skb1848drivers/net/ppp.cstruct sk_buff *skb)
skb490drivers/net/sk_g16.cstatic int   SK_send_packet(struct sk_buff *skb, struct device *dev);
skb1194drivers/net/sk_g16.cstatic int SK_send_packet(struct sk_buff *skb, struct device *dev)
skb1225drivers/net/sk_g16.cif (skb == NULL)
skb1251drivers/net/sk_g16.cshort len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; 
skb1259drivers/net/sk_g16.cmemcpy((char *) (tmdp->u.buffer & 0x00ffffff), (char *)skb->data,
skb1260drivers/net/sk_g16.cskb->len);
skb1291drivers/net/sk_g16.cdev_kfree_skb(skb, FREE_WRITE);
skb1573drivers/net/sk_g16.cstruct sk_buff *skb;
skb1575drivers/net/sk_g16.cskb = alloc_skb(len, GFP_ATOMIC); /* allocate socket buffer */ 
skb1577drivers/net/sk_g16.cif (skb == NULL)                /* Could not get mem ? */
skb1595drivers/net/sk_g16.cskb->len = len;
skb1596drivers/net/sk_g16.cskb->dev = dev;
skb1605drivers/net/sk_g16.cmemcpy(skb->data, (unsigned char *) (rmdp->u.buffer & 0x00ffffff),
skb1616drivers/net/sk_g16.cnetif_rx(skb);                 /* queue packet and mark it for processing */
skb99drivers/net/skeleton.cstatic int  net_send_packet(struct sk_buff *skb, struct device *dev);
skb308drivers/net/skeleton.cnet_send_packet(struct sk_buff *skb, struct device *dev)
skb330drivers/net/skeleton.cif (skb == NULL) {
skb340drivers/net/skeleton.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb341drivers/net/skeleton.cunsigned char *buf = skb->data;
skb346drivers/net/skeleton.cdev_kfree_skb (skb, FREE_WRITE);
skb418drivers/net/skeleton.cstruct sk_buff *skb;
skb420drivers/net/skeleton.cskb = alloc_skb(pkt_len, GFP_ATOMIC);
skb421drivers/net/skeleton.cif (skb == NULL) {
skb426drivers/net/skeleton.cskb->len = pkt_len;
skb427drivers/net/skeleton.cskb->dev = dev;
skb430drivers/net/skeleton.cmemcpy(skb->data, (void*)dev->rmem_start,
skb433drivers/net/skeleton.cinsw(ioaddr, skb->data, (pkt_len + 1) >> 1);
skb435drivers/net/skeleton.cnetif_rx(skb);
skb459drivers/net/slip.csl_xmit(struct sk_buff *skb, struct device *dev)
skb480drivers/net/slip.cif (skb != NULL) {
skb483drivers/net/slip.csize=skb->len;
skb484drivers/net/slip.csl_encaps(sl, skb->data, size);
skb485drivers/net/slip.cdev_kfree_skb(skb, FREE_WRITE);
skb493drivers/net/slip.csl_type_trans (struct sk_buff *skb, struct device *dev)
skb507drivers/net/slip.cvoid *daddr, void *saddr, unsigned len, struct sk_buff *skb)
skb513drivers/net/slip.creturn ax25_encapsulate(buff,dev,type,daddr,saddr,len,skb);
skb524drivers/net/slip.cstruct sk_buff *skb)
skb531drivers/net/slip.creturn ax25_rebuild_header(buff,dev,raddr, skb);
skb185drivers/net/znet.cstatic int  znet_send_packet(struct sk_buff *skb, struct device *dev);
skb318drivers/net/znet.cstatic int znet_send_packet(struct sk_buff *skb, struct device *dev)
skb344drivers/net/znet.cif (skb == NULL) {
skb361drivers/net/znet.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb362drivers/net/znet.cunsigned char *buf = (void *)(skb+1);
skb387drivers/net/znet.cmemcpy(zn.tx_cur, buf, skb->len);
skb401drivers/net/znet.cdev_kfree_skb(skb, FREE_WRITE); 
skb552drivers/net/znet.cstruct sk_buff *skb;
skb554drivers/net/znet.cskb = alloc_skb(sksize, GFP_ATOMIC);
skb555drivers/net/znet.cif (skb == NULL) {
skb561drivers/net/znet.cskb->mem_len = sksize;
skb562drivers/net/znet.cskb->mem_addr = skb;
skb563drivers/net/znet.cskb->len = pkt_len;
skb564drivers/net/znet.cskb->dev = dev;
skb568drivers/net/znet.cmemcpy((unsigned char *) (skb + 1), zn.rx_cur, semi_cnt);
skb569drivers/net/znet.cmemcpy((unsigned char *) (skb + 1) + semi_cnt, zn.rx_start,
skb572drivers/net/znet.cmemcpy((unsigned char *) (skb + 1), zn.rx_cur, pkt_len);
skb574drivers/net/znet.cunsigned int *packet = (unsigned int *) (skb + 1);
skb581drivers/net/znet.cnetif_rx(skb);
skb583drivers/net/znet.cskb->lock = 0;
skb584drivers/net/znet.cif (dev_rint((unsigned char*)skb, pkt_len, IN_SKBUFF, dev) != 0) {
skb585drivers/net/znet.ckfree_s(skb, sksize);
skb34include/linux/etherdevice.hstruct sk_buff *skb);
skb36include/linux/etherdevice.hunsigned long raddr, struct sk_buff *skb);
skb37include/linux/etherdevice.hextern unsigned short  eth_type_trans(struct sk_buff *skb, struct device *dev);
skb140include/linux/netdevice.hint        (*hard_start_xmit) (struct sk_buff *skb,
skb148include/linux/netdevice.hstruct sk_buff *skb);
skb150include/linux/netdevice.hunsigned long raddr, struct sk_buff *skb);
skb151include/linux/netdevice.hunsigned short    (*type_trans) (struct sk_buff *skb,
skb198include/linux/netdevice.hextern void    dev_queue_xmit(struct sk_buff *skb, struct device *dev,
skb201include/linux/netdevice.hextern void    netif_rx(struct sk_buff *skb);
skb103include/linux/skbuff.hextern void      kfree_skb(struct sk_buff *skb, int rw);
skb113include/linux/skbuff.hextern void      kfree_skbmem(struct sk_buff *skb, unsigned size);
skb114include/linux/skbuff.hextern struct sk_buff *    skb_clone(struct sk_buff *skb, int priority);
skb115include/linux/skbuff.hextern void      skb_device_lock(struct sk_buff *skb);
skb116include/linux/skbuff.hextern void      skb_device_unlock(struct sk_buff *skb);
skb117include/linux/skbuff.hextern void      dev_kfree_skb(struct sk_buff *skb, int mode);
skb118include/linux/skbuff.hextern int      skb_device_locked(struct sk_buff *skb);
skb132include/linux/skbuff.hextern int       skb_check(struct sk_buff *skb,int,int, char *);
skb133include/linux/skbuff.h#define IS_SKB(skb)    skb_check((skb), 0, __LINE__,__FILE__)
skb134include/linux/skbuff.h#define IS_SKB_HEAD(skb)  skb_check((skb), 1, __LINE__,__FILE__)
skb136include/linux/skbuff.h#define IS_SKB(skb)    
skb137include/linux/skbuff.h#define IS_SKB_HEAD(skb)  
skb259include/linux/skbuff.hextern __inline__ void skb_unlink(struct sk_buff *skb)
skb266include/linux/skbuff.hif(skb->prev && skb->next)
skb268include/linux/skbuff.hskb->next->prev = skb->prev;
skb269include/linux/skbuff.hskb->prev->next = skb->next;
skb270include/linux/skbuff.hskb->next = NULL;
skb271include/linux/skbuff.hskb->prev = NULL;
skb281include/linux/skbuff.hextern void      skb_free_datagram(struct sk_buff *skb);
skb246net/inet/af_inet.cstruct sk_buff *skb;
skb259net/inet/af_inet.cwhile ((skb = tcp_dequeue_partial(sk)) != NULL) {
skb260net/inet/af_inet.cIS_SKB(skb);
skb261net/inet/af_inet.ckfree_skb(skb, FREE_WRITE);
skb265net/inet/af_inet.cwhile((skb = skb_dequeue(&sk->write_queue)) != NULL) {
skb266net/inet/af_inet.cIS_SKB(skb);
skb267net/inet/af_inet.ckfree_skb(skb, FREE_WRITE);
skb277net/inet/af_inet.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL) 
skb283net/inet/af_inet.cif (skb->sk != NULL && skb->sk != sk) 
skb285net/inet/af_inet.cIS_SKB(skb);
skb286net/inet/af_inet.cskb->sk->dead = 1;
skb287net/inet/af_inet.cskb->sk->prot->close(skb->sk, 0);
skb289net/inet/af_inet.cIS_SKB(skb);
skb290net/inet/af_inet.ckfree_skb(skb, FREE_READ);
skb296net/inet/af_inet.cfor(skb = sk->send_head; skb != NULL; )
skb304net/inet/af_inet.cif (skb->next  && skb->prev) {
skb306net/inet/af_inet.cIS_SKB(skb);
skb307net/inet/af_inet.cskb_unlink(skb);
skb309net/inet/af_inet.cskb->dev = NULL;
skb310net/inet/af_inet.cskb2 = skb->link3;
skb311net/inet/af_inet.ckfree_skb(skb, FREE_WRITE);
skb312net/inet/af_inet.cskb = skb2;
skb318net/inet/af_inet.cwhile((skb=skb_dequeue(&sk->back_log))!=NULL) 
skb322net/inet/af_inet.ckfree_skb(skb, FREE_READ);
skb93net/inet/arp.cstruct sk_buff_head    skb;      /* list of queued packets   */
skb228net/inet/arp.cstruct sk_buff *skb;
skb234net/inet/arp.cwhile ((skb = skb_dequeue(&entry->skb)) != NULL)
skb236net/inet/arp.cskb_device_lock(skb);
skb238net/inet/arp.cdev_kfree_skb(skb, FREE_WRITE);
skb290net/inet/arp.cstruct sk_buff *skb;
skb305net/inet/arp.cskb = alloc_skb(sizeof(struct arphdr)+ 2*(dev->addr_len+4)
skb307net/inet/arp.cif (skb == NULL)
skb312net/inet/arp.cskb->len = sizeof(struct arphdr) + dev->hard_header_len + 2*(dev->addr_len+4);
skb313net/inet/arp.cskb->arp = 1;
skb314net/inet/arp.cskb->dev = dev;
skb315net/inet/arp.cskb->free = 1;
skb321net/inet/arp.cdev->hard_header(skb->data,dev,ptype,dest_hw?dest_hw:dev->broadcast,src_hw?src_hw:NULL,skb->len,skb);
skb324net/inet/arp.carp = (struct arphdr *) (skb->data + dev->hard_header_len);
skb348net/inet/arp.cdev_queue_xmit(skb, dev, 0);
skb436net/inet/arp.cstruct sk_buff *skb;
skb454net/inet/arp.cwhile((skb = skb_dequeue(&entry->skb)) != NULL)
skb456net/inet/arp.cIS_SKB(skb);
skb457net/inet/arp.cskb_device_lock(skb);
skb459net/inet/arp.cif(!skb->dev->rebuild_header(skb->data,skb->dev,skb->raddr,skb))
skb461net/inet/arp.cskb->arp  = 1;
skb462net/inet/arp.cif(skb->sk==NULL)
skb463net/inet/arp.cdev_queue_xmit(skb, skb->dev, 0);
skb465net/inet/arp.cdev_queue_xmit(skb,skb->dev,skb->sk->priority);
skb473net/inet/arp.cprintk("arp_send_q: failed to find %s\n",in_ntoa(skb->raddr));
skb526net/inet/arp.cint arp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb532net/inet/arp.cstruct arphdr *arp = (struct arphdr *)skb->h.raw;
skb554net/inet/arp.ckfree_skb(skb, FREE_READ);
skb570net/inet/arp.ckfree_skb(skb, FREE_READ);
skb579net/inet/arp.ckfree_skb(skb, FREE_READ);
skb586net/inet/arp.ckfree_skb(skb, FREE_READ);
skb610net/inet/arp.ckfree_skb(skb, FREE_READ);
skb640net/inet/arp.ckfree_skb(skb, FREE_READ);
skb682net/inet/arp.ckfree_skb(skb, FREE_READ);
skb688net/inet/arp.ckfree_skb(skb, FREE_READ);
skb754net/inet/arp.ckfree_skb(skb, FREE_READ);
skb766net/inet/arp.centry->dev = skb->dev;
skb767net/inet/arp.cskb_queue_head_init(&entry->skb);
skb776net/inet/arp.ckfree_skb(skb, FREE_READ);
skb786net/inet/arp.cunsigned long saddr, struct sk_buff *skb)
skb799net/inet/arp.cskb->arp = 1;
skb823net/inet/arp.cskb->arp = 1;
skb844net/inet/arp.cif (skb != NULL)
skb846net/inet/arp.cskb_queue_tail(&entry->skb, skb);
skb847net/inet/arp.cskb_device_unlock(skb);
skb859net/inet/arp.cif (skb)
skb860net/inet/arp.cskb->arp = 1;
skb889net/inet/arp.cskb_queue_head_init(&entry->skb);
skb890net/inet/arp.cif (skb != NULL)
skb892net/inet/arp.cskb_queue_tail(&entry->skb, skb);
skb893net/inet/arp.cskb_device_unlock(skb);
skb898net/inet/arp.cif (skb != NULL && skb->free)
skb899net/inet/arp.ckfree_skb(skb, FREE_WRITE);
skb1113net/inet/arp.cskb_queue_head_init(&entry->skb);
skb8net/inet/arp.hextern int  arp_rcv(struct sk_buff *skb, struct device *dev,
skb11net/inet/arp.hstruct device *dev, unsigned long saddr, struct sk_buff *skb);
skb55net/inet/datagram.cstruct sk_buff *skb;
skb125net/inet/datagram.cskb=skb_dequeue(&sk->receive_queue);
skb126net/inet/datagram.cif(skb!=NULL)
skb127net/inet/datagram.cskb->users++;
skb134net/inet/datagram.cskb=skb_peek(&sk->receive_queue);
skb135net/inet/datagram.cif(skb!=NULL)
skb136net/inet/datagram.cskb->users++;
skb138net/inet/datagram.cif(skb==NULL)  /* shouldn't happen but .. */
skb141net/inet/datagram.creturn skb;
skb144net/inet/datagram.cvoid skb_free_datagram(struct sk_buff *skb)
skb150net/inet/datagram.cskb->users--;
skb151net/inet/datagram.cif(skb->users>0)
skb157net/inet/datagram.cif(!skb->next && !skb->prev)  /* Been dequeued by someone - ie its read */
skb158net/inet/datagram.ckfree_skb(skb,FREE_READ);
skb162net/inet/datagram.cvoid skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size)
skb166net/inet/datagram.cmemcpy_tofs(to,skb->h.raw+offset,size);
skb332net/inet/dev.cstruct sk_buff *skb;
skb333net/inet/dev.cwhile((skb=skb_dequeue(&dev->buffs[ct]))!=NULL)
skb334net/inet/dev.cif(skb->free)
skb335net/inet/dev.ckfree_skb(skb,FREE_WRITE);
skb351net/inet/dev.cvoid dev_queue_xmit(struct sk_buff *skb, struct device *dev, int pri)
skb366net/inet/dev.cif(pri>=0 && !skb_device_locked(skb))
skb367net/inet/dev.cskb_device_lock(skb);  /* Shove a lock on the frame */
skb377net/inet/dev.cIS_SKB(skb);
skb379net/inet/dev.cskb->dev = dev;
skb385net/inet/dev.cif (skb->next != NULL) 
skb418net/inet/dev.cif (!skb->arp && dev->rebuild_header(skb->data, dev, skb->raddr, skb)) {
skb426net/inet/dev.cskb->in_dev_queue=1;
skb428net/inet/dev.cskb_queue_tail(dev->buffs + pri,skb);
skb429net/inet/dev.cskb_device_unlock(skb);    /* Buffer is on the device queue and can be freed safely */
skb430net/inet/dev.cskb = skb_dequeue(dev->buffs + pri);
skb431net/inet/dev.cskb_device_lock(skb);    /* New buffer needs locking down */
skb433net/inet/dev.cskb->in_dev_queue=0;
skb445net/inet/dev.cif ((skb2 = skb_clone(skb, GFP_ATOMIC)) == NULL)
skb447net/inet/dev.cptype->func(skb2, skb->dev, ptype);
skb452net/inet/dev.cif (dev->hard_start_xmit(skb, dev) == 0) {
skb465net/inet/dev.cskb->in_dev_queue=1;
skb468net/inet/dev.cskb_device_unlock(skb);
skb469net/inet/dev.cskb_queue_head(dev->buffs + pri,skb);
skb479net/inet/dev.cvoid netif_rx(struct sk_buff *skb)
skb488net/inet/dev.cskb->sk = NULL;
skb489net/inet/dev.cskb->free = 1;
skb490net/inet/dev.cif(skb->stamp.tv_sec==0)
skb491net/inet/dev.cskb->stamp = xtime;
skb504net/inet/dev.ckfree_skb(skb, FREE_READ);
skb512net/inet/dev.cIS_SKB(skb);
skb514net/inet/dev.cskb_queue_tail(&backlog,skb);
skb544net/inet/dev.cstruct sk_buff *skb = NULL;
skb554net/inet/dev.cskb = (struct sk_buff *) buff;
skb566net/inet/dev.cskb = alloc_skb(len, GFP_ATOMIC);
skb567net/inet/dev.cif (skb == NULL) 
skb580net/inet/dev.cto = skb->data;
skb602net/inet/dev.cskb->len = len;
skb603net/inet/dev.cskb->dev = dev;
skb604net/inet/dev.cskb->free = 1;
skb606net/inet/dev.cnetif_rx(skb);
skb663net/inet/dev.cstruct sk_buff *skb;
skb696net/inet/dev.cwhile((skb=skb_dequeue(&backlog))!=NULL)
skb714net/inet/dev.cskb->h.raw = skb->data + skb->dev->hard_header_len;
skb715net/inet/dev.cskb->len -= skb->dev->hard_header_len;
skb728net/inet/dev.ctype = skb->dev->type_trans(skb, skb->dev);
skb756net/inet/dev.cskb2 = alloc_skb(skb->len, GFP_ATOMIC);
skb759net/inet/dev.cmemcpy(skb2, skb, skb2->mem_len);
skb763net/inet/dev.c(unsigned long) skb->h.raw -
skb764net/inet/dev.c(unsigned long) skb
skb768net/inet/dev.cskb2=skb_clone(skb, GFP_ATOMIC);
skb775net/inet/dev.cskb2 = skb;
skb789net/inet/dev.cptype->func(skb2, skb->dev, ptype);
skb799net/inet/dev.ckfree_skb(skb, FREE_WRITE);
skb833net/inet/dev.cstruct sk_buff *skb;
skb849net/inet/dev.cwhile((skb=skb_dequeue(&dev->buffs[i]))!=NULL)
skb854net/inet/dev.cskb_device_lock(skb);
skb860net/inet/dev.cdev_queue_xmit(skb,dev,-i - 1);
skb84net/inet/eth.cstruct sk_buff *skb)
skb134net/inet/eth.cstruct sk_buff *skb)
skb153net/inet/eth.creturn arp_find(eth->h_dest, dst, dev, dev->pa_addr, skb)? 1 : 0;
skb166net/inet/eth.cunsigned short eth_type_trans(struct sk_buff *skb, struct device *dev)
skb168net/inet/eth.cstruct ethhdr *eth = (struct ethhdr *) skb->data;
skb174net/inet/eth.cskb->pkt_type=PACKET_BROADCAST;
skb176net/inet/eth.cskb->pkt_type=PACKET_MULTICAST;
skb182net/inet/eth.cskb->pkt_type=PACKET_OTHERHOST;
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);
skb98net/inet/icmp.cstruct sk_buff *skb;
skb194net/inet/icmp.cskb = (struct sk_buff *) alloc_skb(len, GFP_ATOMIC);
skb195net/inet/icmp.cif (skb == NULL) 
skb200net/inet/icmp.cskb->free = 1;
skb209net/inet/icmp.coffset = ip_build_header(skb, our_addr, iph->saddr,
skb215net/inet/icmp.cskb->sk = NULL;
skb216net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb224net/inet/icmp.cskb->len = offset + sizeof(struct icmphdr) + sizeof(struct iphdr) + 8;
skb230net/inet/icmp.cicmph = (struct icmphdr *) (skb->data + offset);
skb243net/inet/icmp.cip_queue_xmit(NULL, ndev, skb, 1);
skb251net/inet/icmp.cstatic void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb)
skb312net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb320net/inet/icmp.cstatic void icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb,
skb374net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb382net/inet/icmp.cstatic void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb400net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb407net/inet/icmp.cIPPROTO_ICMP, opt, len, skb->ip_hdr->tos,255);
skb413net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb442net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb449net/inet/icmp.cstatic void icmp_timestamp(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb476net/inet/icmp.cskb->sk = NULL;
skb477net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb488net/inet/icmp.cskb->ip_hdr->tos, 255);
skb493net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb528net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb538net/inet/icmp.cstatic void icmp_info(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb543net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb551net/inet/icmp.cstatic void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb568net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb578net/inet/icmp.cIPPROTO_ICMP, opt, len, skb->ip_hdr->tos,255);
skb584net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb611net/inet/icmp.cskb->sk = NULL;
skb612net/inet/icmp.ckfree_skb(skb, FREE_READ);
skb76net/inet/igmp.cstruct sk_buff *skb=alloc_skb(MAX_IGMP_SIZE, GFP_ATOMIC);
skb80net/inet/igmp.cif(skb==NULL)
skb82net/inet/igmp.ctmp=ip_build_header(skb, INADDR_ANY, address, &dev, IPPROTO_IGMP, NULL,
skb83net/inet/igmp.cskb->mem_len, 0, 1);
skb86net/inet/igmp.ckfree_skb(skb, FREE_WRITE);
skb89net/inet/igmp.cigh=(struct igmphdr *)(skb->data+tmp);
skb90net/inet/igmp.cskb->len=tmp+sizeof(*igh);
skb96net/inet/igmp.cip_queue_xmit(NULL,dev,skb,1);
skb189net/inet/igmp.cint igmp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb194net/inet/igmp.cstruct igmphdr *igh=(struct igmphdr *)skb->h.raw;
skb196net/inet/igmp.cif(skb->ip_hdr->ttl!=1 || ip_compute_csum((void *)igh,sizeof(*igh)))
skb198net/inet/igmp.ckfree_skb(skb, FREE_READ);
skb206net/inet/igmp.ckfree_skb(skb, FREE_READ);
skb179net/inet/ip.cstatic int ip_send(struct sk_buff *skb, unsigned long daddr, int len, struct device *dev, unsigned long saddr)
skb183net/inet/ip.cskb->dev = dev;
skb184net/inet/ip.cskb->arp = 1;
skb191net/inet/ip.cmac = dev->hard_header(skb->data, dev, ETH_P_IP, NULL, NULL, len, skb);
skb195net/inet/ip.cskb->arp = 0;
skb196net/inet/ip.cskb->raddr = daddr;  /* next routing address */
skb210net/inet/ip.cint ip_build_header(struct sk_buff *skb, unsigned long saddr, unsigned long daddr,
skb221net/inet/ip.cbuff = skb->data;
skb229net/inet/ip.cif(skb->localroute)
skb255net/inet/ip.cif(skb->localroute)
skb285net/inet/ip.ctmp = ip_send(skb, raddr, len, *dev, saddr);
skb293net/inet/ip.cskb->dev = *dev;
skb294net/inet/ip.cskb->saddr = saddr;
skb295net/inet/ip.cif (skb->sk)
skb296net/inet/ip.cskb->sk->saddr = saddr;
skb587net/inet/ip.cstatic struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr)
skb603net/inet/ip.cfp->skb = skb;
skb675net/inet/ip.cIS_SKB(fp->skb);
skb676net/inet/ip.ckfree_skb(fp->skb,FREE_READ);
skb711net/inet/ip.cicmp_send(qp->fragments->skb,ICMP_TIME_EXCEEDED,
skb728net/inet/ip.cstatic struct ipq *ip_create(struct sk_buff *skb, struct iphdr *iph, struct device *dev)
skb739net/inet/ip.cskb->dev = qp->dev;
skb750net/inet/ip.cmaclen = ((unsigned long) iph) - ((unsigned long) skb->data);
skb774net/inet/ip.cmemcpy(qp->mac, skb->data, maclen);
skb840net/inet/ip.cstruct sk_buff *skb;
skb852net/inet/ip.cif ((skb = alloc_skb(len,GFP_ATOMIC)) == NULL)
skb861net/inet/ip.cskb->len = (len - qp->maclen);
skb862net/inet/ip.cskb->h.raw = skb->data;
skb863net/inet/ip.cskb->free = 1;
skb866net/inet/ip.cptr = (unsigned char *) skb->h.raw;
skb871net/inet/ip.cskb->h.raw += qp->maclen;
skb879net/inet/ip.cif(count+fp->len>skb->len)
skb883net/inet/ip.ckfree_skb(skb,FREE_WRITE);
skb896net/inet/ip.ciph = skb->h.iph;
skb899net/inet/ip.cskb->ip_hdr = iph;
skb902net/inet/ip.creturn(skb);
skb910net/inet/ip.cstatic struct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev)
skb933net/inet/ip.creturn(skb);
skb957net/inet/ip.cif ((qp = ip_create(skb, iph, dev)) == NULL)
skb959net/inet/ip.cskb->sk = NULL;
skb960net/inet/ip.ckfree_skb(skb, FREE_READ);
skb977net/inet/ip.cptr = skb->data + dev->hard_header_len + ihl;
skb1042net/inet/ip.ckfree_skb(next->skb,FREE_READ);
skb1052net/inet/ip.ctfp = ip_frag_create(offset, end, skb, ptr);
skb1060net/inet/ip.cskb->sk = NULL;
skb1061net/inet/ip.ckfree_skb(skb, FREE_READ);
skb1102net/inet/ip.cvoid ip_fragment(struct sock *sk, struct sk_buff *skb, struct device *dev, int is_frag)
skb1116net/inet/ip.craw = skb->data;
skb1119net/inet/ip.cskb->ip_hdr = iph;
skb1138net/inet/ip.cicmp_send(skb,ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, dev);
skb1151net/inet/ip.cicmp_send(skb,ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED,dev);
skb1203net/inet/ip.cskb2->arp = skb->arp;
skb1204net/inet/ip.cif(skb->free==0)
skb1222net/inet/ip.cskb2->raddr = skb->raddr;  /* For rebuild_header - must be here */
skb1271net/inet/ip.cstatic void ip_forward(struct sk_buff *skb, struct device *dev, int is_frag)
skb1285net/inet/ip.cif(!ip_fw_chk(skb->h.iph, ip_fw_fwd_chain))
skb1301net/inet/ip.ciph = skb->h.iph;
skb1306net/inet/ip.cicmp_send(skb, ICMP_TIME_EXCEEDED, ICMP_EXC_TTL, dev);
skb1330net/inet/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_NET_UNREACH, dev);
skb1357net/inet/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_UNREACH, dev);
skb1396net/inet/ip.cskb2 = alloc_skb(dev2->hard_header_len + skb->len, GFP_ATOMIC);
skb1408net/inet/ip.cskb2->len = skb->len + dev2->hard_header_len;
skb1414net/inet/ip.cmemcpy(ptr + dev2->hard_header_len, skb->h.raw, skb->len);
skb1417net/inet/ip.c(void) ip_send(skb2, raddr, skb->len, dev2, dev2->pa_addr);
skb1464net/inet/ip.cint ip_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb1466net/inet/ip.cstruct iphdr *iph = skb->h.iph;
skb1483net/inet/ip.cskb->ip_hdr = iph;
skb1494net/inet/ip.cif (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0)
skb1497net/inet/ip.ckfree_skb(skb, FREE_WRITE);
skb1509net/inet/ip.ckfree_skb(skb, FREE_WRITE);
skb1520net/inet/ip.cskb->len=ntohs(iph->tot_len);
skb1563net/inet/ip.cif ( iph->daddr != skb->dev->pa_addr && (brd = ip_chk_addr(iph->daddr)) == 0)
skb1569net/inet/ip.cif(skb->pkt_type!=PACKET_HOST || brd==IS_BROADCAST)
skb1571net/inet/ip.ckfree_skb(skb,FREE_WRITE);
skb1580net/inet/ip.cip_forward(skb, dev, is_frag);
skb1591net/inet/ip.ckfree_skb(skb, FREE_WRITE);
skb1610net/inet/ip.cskb=ip_defrag(iph,skb,dev);
skb1611net/inet/ip.cif(skb==NULL)
skb1613net/inet/ip.ciph=skb->h.iph;
skb1622net/inet/ip.cskb->ip_hdr = iph;
skb1623net/inet/ip.cskb->h.raw += iph->ihl*4;
skb1644net/inet/ip.cskb1=skb_clone(skb, GFP_ATOMIC);
skb1676net/inet/ip.cskb2 = skb_clone(skb, GFP_ATOMIC);
skb1682net/inet/ip.cskb2 = skb;
skb1705net/inet/ip.craw_rcv(raw_sk, skb, dev, iph->saddr, iph->daddr);
skb1709net/inet/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PROT_UNREACH, dev);
skb1710net/inet/ip.ckfree_skb(skb, FREE_WRITE);
skb1727net/inet/ip.cstruct sk_buff *skb, int free)
skb1739net/inet/ip.cIS_SKB(skb);
skb1746net/inet/ip.cskb->dev = dev;
skb1747net/inet/ip.cskb->when = jiffies;
skb1757net/inet/ip.cptr = skb->data;
skb1760net/inet/ip.cskb->ip_hdr = iph;
skb1761net/inet/ip.ciph->tot_len = ntohs(skb->len-dev->hard_header_len);
skb1776net/inet/ip.cskb->free = free;
skb1784net/inet/ip.cif(skb->len > dev->mtu + dev->hard_header_len)
skb1786net/inet/ip.cip_fragment(sk,skb,dev,0);
skb1787net/inet/ip.cIS_SKB(skb);
skb1788net/inet/ip.ckfree_skb(skb,FREE_WRITE);
skb1806net/inet/ip.cif (skb->next != NULL)
skb1809net/inet/ip.cskb_unlink(skb);
skb1830net/inet/ip.cif (skb->link3 != NULL)
skb1833net/inet/ip.cskb->link3 = NULL;
skb1837net/inet/ip.csk->send_tail = skb;
skb1838net/inet/ip.csk->send_head = skb;
skb1842net/inet/ip.csk->send_tail->link3 = skb;
skb1843net/inet/ip.csk->send_tail = skb;
skb1855net/inet/ip.cskb->sk = sk;
skb1874net/inet/ip.cdev_queue_xmit(skb, dev, sk->priority);
skb1878net/inet/ip.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb1885net/inet/ip.ckfree_skb(skb, FREE_WRITE);
skb1897net/inet/ip.cstruct sk_buff * skb;
skb1902net/inet/ip.cskb = sk->send_head;
skb1904net/inet/ip.cwhile (skb != NULL)
skb1906net/inet/ip.cdev = skb->dev;
skb1907net/inet/ip.cIS_SKB(skb);
skb1908net/inet/ip.cskb->when = jiffies;
skb1925net/inet/ip.ciph = (struct iphdr *)(skb->data + dev->hard_header_len);
skb1927net/inet/ip.csize = skb->len - (((unsigned char *) th) - skb->data);
skb1951net/inet/ip.cif (sk && !skb_device_locked(skb))
skb1954net/inet/ip.cskb_unlink(skb);
skb1957net/inet/ip.cdev_queue_xmit(skb, dev, sk->priority);
skb1978net/inet/ip.cskb = skb->link3;
skb52net/inet/ip.hstruct sk_buff *skb;      /* complete received fragment    */
skb79net/inet/ip.hextern int    ip_build_header(struct sk_buff *skb,
skb86net/inet/ip.hextern int    ip_rcv(struct sk_buff *skb, struct device *dev,
skb89net/inet/ip.hstruct device *dev, struct sk_buff *skb,
skb135net/inet/ipx.cstruct sk_buff *skb;
skb138net/inet/ipx.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL)
skb140net/inet/ipx.ckfree_skb(skb,FREE_READ);
skb807net/inet/ipx.cint ipx_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb816net/inet/ipx.cipx=(ipx_packet *)skb->h.raw;
skb823net/inet/ipx.ckfree_skb(skb,FREE_READ);
skb830net/inet/ipx.ckfree_skb(skb,FREE_READ);
skb837net/inet/ipx.ckfree_skb(skb,FREE_READ);
skb845net/inet/ipx.ckfree_skb(skb,FREE_READ);
skb870net/inet/ipx.cif((ipx->ipx_tctrl==16) || (skb->pkt_type!=PACKET_HOST))
skb872net/inet/ipx.ckfree_skb(skb,FREE_READ);
skb882net/inet/ipx.ckfree_skb(skb,FREE_READ);
skb887net/inet/ipx.cincoming_size = skb->len - ntohs(ipx->ipx_pktsize);
skb897net/inet/ipx.ckfree_skb(skb,FREE_READ);
skb909net/inet/ipx.c(char *)(skb+1)+incoming_size,
skb914net/inet/ipx.cskb2=skb;
skb928net/inet/ipx.ckfree_skb(skb,FREE_READ);
skb942net/inet/ipx.ckfree_skb(skb,FREE_READ);
skb951net/inet/ipx.cif(sock_queue_rcv_skb(sock, skb)<0)
skb953net/inet/ipx.ckfree_skb(skb,FREE_READ);  /* Socket is full */
skb966net/inet/ipx.cstruct sk_buff *skb;
skb1055net/inet/ipx.cskb=alloc_skb(size,GFP_KERNEL);
skb1056net/inet/ipx.cif(skb==NULL)
skb1059net/inet/ipx.cskb->mem_addr=skb;
skb1060net/inet/ipx.cskb->sk=sk;
skb1061net/inet/ipx.cskb->free=1;
skb1062net/inet/ipx.cskb->arp=1;
skb1063net/inet/ipx.cskb->len=size;
skb1065net/inet/ipx.csk->wmem_alloc+=skb->mem_len;
skb1069net/inet/ipx.cskb->dev=rt->dev;
skb1072net/inet/ipx.cdl->datalink_header(dl, skb, 
skb1077net/inet/ipx.cmemcpy(IPXaddr+(6 - skb->dev->addr_len), skb->dev->dev_addr, 
skb1078net/inet/ipx.cskb->dev->addr_len);
skb1088net/inet/ipx.cipx=(ipx_packet *)skb->h.raw;
skb1109net/inet/ipx.csk->wmem_alloc-=skb->mem_len;
skb1110net/inet/ipx.cskb->sk = NULL;
skb1111net/inet/ipx.cipx_rcv(skb,dev,&pt);
skb1120net/inet/ipx.cskb2=alloc_skb(skb->len, GFP_ATOMIC);
skb1124net/inet/ipx.cskb2->len=skb->len;
skb1128net/inet/ipx.cmemcpy(skb2->data, skb->data, skb->len);
skb1131net/inet/ipx.cdev_queue_xmit(skb,dev,SOPRI_NORMAL);
skb1149net/inet/ipx.cstruct sk_buff *skb;
skb1162net/inet/ipx.cskb=skb_recv_datagram(sk,flags,noblock,&er);
skb1163net/inet/ipx.cif(skb==NULL)
skb1166net/inet/ipx.cipx = (ipx_packet *)(skb->h.raw);
skb1168net/inet/ipx.cskb_copy_datagram(skb,sizeof(struct ipx_packet),ubuf,copied);
skb1178net/inet/ipx.cskb_free_datagram(skb);
skb1235net/inet/ipx.cstruct sk_buff *skb;
skb1237net/inet/ipx.cif((skb=skb_peek(&sk->receive_queue))!=NULL)
skb1238net/inet/ipx.camount=skb->len;
skb66net/inet/ipx.hextern int ipx_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt);
skb23net/inet/p8022.cp8022_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb27net/inet/p8022.cproto = find_8022_client(*(skb->h.raw));
skb29net/inet/p8022.cskb->h.raw += 3;
skb30net/inet/p8022.creturn proto->rcvfunc(skb, dev, pt);
skb33net/inet/p8022.cskb->sk = NULL;
skb34net/inet/p8022.ckfree_skb(skb, FREE_READ);
skb40net/inet/p8022.cstruct sk_buff *skb, unsigned char *dest_node)
skb42net/inet/p8022.cstruct device  *dev = skb->dev;
skb43net/inet/p8022.cunsigned long  len = skb->len;
skb47net/inet/p8022.cdev->hard_header(skb->data, dev, len - hard_len,
skb48net/inet/p8022.cdest_node, NULL, len - hard_len, skb);
skb49net/inet/p8022.crawp = skb->data + hard_len;
skb56net/inet/p8022.cskb->h.raw = rawp;
skb9net/inet/p8023.cstruct sk_buff *skb, unsigned char *dest_node)
skb11net/inet/p8023.cstruct device  *dev = skb->dev;
skb12net/inet/p8023.cunsigned long  len = skb->len;
skb15net/inet/p8023.cdev->hard_header(skb->data, dev, len - hard_len,
skb16net/inet/p8023.cdest_node, NULL, len - hard_len, skb);
skb17net/inet/p8023.cskb->h.raw = skb->data + hard_len;
skb67net/inet/packet.cint packet_rcv(struct sk_buff *skb, struct device *dev,  struct packet_type *pt)
skb84net/inet/packet.cskb->dev = dev;
skb85net/inet/packet.cskb->len += dev->hard_header_len;
skb87net/inet/packet.cskb->sk = sk;
skb94net/inet/packet.cif (sk->rmem_alloc + skb->mem_len >= sk->rcvbuf) 
skb96net/inet/packet.cskb->sk = NULL;
skb97net/inet/packet.ckfree_skb(skb, FREE_READ);
skb100net/inet/packet.csk->rmem_alloc += skb->mem_len;  
skb106net/inet/packet.cskb_queue_tail(&sk->receive_queue,skb);
skb127net/inet/packet.cstruct sk_buff *skb;
skb169net/inet/packet.cskb = sk->prot->wmalloc(sk, len, 0, GFP_KERNEL);
skb176net/inet/packet.cif (skb == NULL) 
skb185net/inet/packet.cskb->sk = sk;
skb186net/inet/packet.cskb->free = 1;
skb187net/inet/packet.cmemcpy_fromfs(skb->data, from, len);
skb188net/inet/packet.cskb->len = len;
skb189net/inet/packet.cskb->arp = 1;    /* No ARP needs doing on this (complete) frame */
skb196net/inet/packet.cdev_queue_xmit(skb, dev, sk->priority);
skb198net/inet/packet.ckfree_skb(skb, FREE_WRITE);
skb271net/inet/packet.cstruct sk_buff *skb;
skb295net/inet/packet.cskb=skb_recv_datagram(sk,flags,noblock,&err);
skb303net/inet/packet.cif(skb==NULL)
skb311net/inet/packet.ctruesize = skb->len;
skb314net/inet/packet.cmemcpy_tofs(to, skb->data, copied);  /* We can't use skb_copy_datagram here */
skb322net/inet/packet.csaddr->sa_family = skb->dev->type;
skb323net/inet/packet.cmemcpy(saddr->sa_data,skb->dev->name, 14);
skb331net/inet/packet.cskb_free_datagram(skb);
skb9net/inet/pe2.cstruct sk_buff *skb, unsigned char *dest_node)
skb11net/inet/pe2.cstruct device  *dev = skb->dev;
skb12net/inet/pe2.cunsigned long  len = skb->len;
skb15net/inet/pe2.cdev->hard_header(skb->data, dev, ETH_P_IPX,
skb16net/inet/pe2.cdest_node, NULL, len - hard_len, skb);
skb17net/inet/pe2.cskb->h.raw = skb->data + hard_len;
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,
skb142net/inet/rarp.cint rarp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb147net/inet/rarp.cstruct arphdr *rarp = (struct arphdr *)skb->h.raw;
skb160net/inet/rarp.ckfree_skb(skb, FREE_READ);
skb169net/inet/rarp.ckfree_skb(skb, FREE_READ);
skb187net/inet/rarp.ckfree_skb(skb, FREE_READ);
skb223net/inet/rarp.ckfree_skb(skb, FREE_READ);
skb6net/inet/rarp.hextern int rarp_rcv(struct sk_buff *skb, 
skb97net/inet/raw.cint raw_rcv(struct sock *sk, struct sk_buff *skb, struct device *dev, long saddr, long daddr)
skb100net/inet/raw.cskb->sk = sk;
skb101net/inet/raw.cskb->len = ntohs(skb->ip_hdr->tot_len);
skb102net/inet/raw.cskb->h.raw = (unsigned char *) skb->ip_hdr;
skb103net/inet/raw.cskb->dev = dev;
skb104net/inet/raw.cskb->saddr = daddr;
skb105net/inet/raw.cskb->daddr = saddr;
skb109net/inet/raw.cif(sock_queue_rcv_skb(sk,skb)<0)
skb112net/inet/raw.cskb->sk=NULL;
skb113net/inet/raw.ckfree_skb(skb, FREE_READ);
skb129net/inet/raw.cstruct sk_buff *skb;
skb173net/inet/raw.cskb=sock_alloc_send_skb(sk, len+sk->prot->max_header, noblock, &err);
skb174net/inet/raw.cif(skb==NULL)
skb177net/inet/raw.cskb->sk = sk;
skb178net/inet/raw.cskb->free = 1;
skb179net/inet/raw.cskb->localroute = sk->localroute | (flags&MSG_DONTROUTE);
skb181net/inet/raw.ctmp = sk->prot->build_header(skb, sk->saddr, 
skb183net/inet/raw.csk->protocol, sk->opt, skb->mem_len, sk->ip_tos,sk->ip_ttl);
skb186net/inet/raw.ckfree_skb(skb,FREE_WRITE);
skb191net/inet/raw.cmemcpy_fromfs(skb->data + tmp, from, len);
skb203net/inet/raw.cbuff = skb->data;
skb210net/inet/raw.cskb->len = tmp + len;
skb212net/inet/raw.csk->prot->queue_xmit(sk, dev, skb, 1);
skb247net/inet/raw.cstruct sk_buff *skb;
skb260net/inet/raw.cskb=skb_recv_datagram(sk,flags,noblock,&err);
skb261net/inet/raw.cif(skb==NULL)
skb264net/inet/raw.ctruesize=skb->len;
skb267net/inet/raw.cskb_copy_datagram(skb, 0, to, copied);
skb268net/inet/raw.csk->stamp=skb->stamp;
skb274net/inet/raw.csin->sin_addr.s_addr = skb->daddr;
skb276net/inet/raw.cskb_free_datagram(skb);
skb70net/inet/skbuff.cint skb_check(struct sk_buff *skb, int head, int line, char *file)
skb73net/inet/skbuff.cif (skb->magic_debug_cookie != SK_HEAD_SKB) {
skb78net/inet/skbuff.cif (!skb->next || !skb->prev) {
skb82net/inet/skbuff.cif (skb->next->magic_debug_cookie != SK_HEAD_SKB
skb83net/inet/skbuff.c&& skb->next->magic_debug_cookie != SK_GOOD_SKB) {
skb88net/inet/skbuff.cif (skb->prev->magic_debug_cookie != SK_HEAD_SKB
skb89net/inet/skbuff.c&& skb->prev->magic_debug_cookie != SK_GOOD_SKB) {
skb96net/inet/skbuff.cstruct sk_buff *skb2 = skb->next;
skb98net/inet/skbuff.cwhile (skb2 != skb && i < 5) {
skb110net/inet/skbuff.cif (skb->next != NULL && skb->next->magic_debug_cookie != SK_HEAD_SKB
skb111net/inet/skbuff.c&& skb->next->magic_debug_cookie != SK_GOOD_SKB) {
skb116net/inet/skbuff.cif (skb->prev != NULL && skb->prev->magic_debug_cookie != SK_HEAD_SKB
skb117net/inet/skbuff.c&& skb->prev->magic_debug_cookie != SK_GOOD_SKB) {
skb124net/inet/skbuff.cif(skb->magic_debug_cookie==SK_FREED_SKB)
skb129net/inet/skbuff.cskb,skb->truesize,skb->mem_len,skb->free);
skb132net/inet/skbuff.cif(skb->magic_debug_cookie!=SK_GOOD_SKB)
skb136net/inet/skbuff.cskb,skb->truesize,skb->mem_len,skb->free);
skb139net/inet/skbuff.cif(skb->mem_len!=skb->truesize)
skb143net/inet/skbuff.cskb,skb->truesize,skb->mem_len);
skb302net/inet/skbuff.cvoid skb_unlink(struct sk_buff *skb)
skb309net/inet/skbuff.cIS_SKB(skb);
skb311net/inet/skbuff.cif(skb->prev && skb->next)
skb313net/inet/skbuff.cskb->next->prev = skb->prev;
skb314net/inet/skbuff.cskb->prev->next = skb->next;
skb315net/inet/skbuff.cskb->next = NULL;
skb316net/inet/skbuff.cskb->prev = NULL;
skb332net/inet/skbuff.cvoid kfree_skb(struct sk_buff *skb, int rw)
skb334net/inet/skbuff.cif (skb == NULL)
skb341net/inet/skbuff.cIS_SKB(skb);
skb343net/inet/skbuff.cif (skb->lock)
skb345net/inet/skbuff.cskb->free = 3;    /* Free when unlocked */
skb349net/inet/skbuff.cif (skb->free == 2)
skb352net/inet/skbuff.cif (skb->next)
skb355net/inet/skbuff.cif (skb->sk)
skb357net/inet/skbuff.cif(skb->sk->prot!=NULL)
skb360net/inet/skbuff.cskb->sk->prot->rfree(skb->sk, skb, skb->mem_len);
skb362net/inet/skbuff.cskb->sk->prot->wfree(skb->sk, skb, skb->mem_len);
skb369net/inet/skbuff.cskb->sk->rmem_alloc-=skb->mem_len;
skb371net/inet/skbuff.cskb->sk->wmem_alloc-=skb->mem_len;
skb372net/inet/skbuff.cif(!skb->sk->dead)
skb373net/inet/skbuff.cskb->sk->write_space(skb->sk);
skb377net/inet/skbuff.ckfree_skbmem(skb, skb->mem_len);
skb386net/inet/skbuff.cstruct sk_buff *skb;
skb399net/inet/skbuff.cskb=(struct sk_buff *)kmalloc(size,priority);
skb400net/inet/skbuff.cif (skb == NULL)
skb406net/inet/skbuff.cif(skb->magic_debug_cookie == SK_GOOD_SKB)
skb407net/inet/skbuff.cprintk("Kernel kmalloc handed us an existing skb (%p)\n",skb);
skb412net/inet/skbuff.cskb->free = 2;  /* Invalid so we pick up forgetful users */
skb413net/inet/skbuff.cskb->lock = 0;
skb414net/inet/skbuff.cskb->pkt_type = PACKET_HOST;  /* Default type */
skb415net/inet/skbuff.cskb->truesize = size;
skb416net/inet/skbuff.cskb->mem_len = size;
skb417net/inet/skbuff.cskb->mem_addr = skb;
skb419net/inet/skbuff.cskb->in_dev_queue = 0;
skb421net/inet/skbuff.cskb->fraglist = NULL;
skb422net/inet/skbuff.cskb->prev = skb->next = NULL;
skb423net/inet/skbuff.cskb->link3 = NULL;
skb424net/inet/skbuff.cskb->sk = NULL;
skb425net/inet/skbuff.cskb->localroute=0;
skb426net/inet/skbuff.cskb->stamp.tv_sec=0;  /* No idea about time */
skb427net/inet/skbuff.cskb->localroute = 0;
skb434net/inet/skbuff.cskb->magic_debug_cookie = SK_GOOD_SKB;
skb436net/inet/skbuff.cskb->users = 0;
skb437net/inet/skbuff.creturn skb;
skb444net/inet/skbuff.cvoid kfree_skbmem(struct sk_buff *skb,unsigned size)
skb450net/inet/skbuff.cif(skb->in_dev_queue && skb->dev!=NULL)
skb451net/inet/skbuff.cskb->dev->pkt_queue--;
skb455net/inet/skbuff.cIS_SKB(skb);
skb456net/inet/skbuff.cif(size!=skb->truesize)
skb459net/inet/skbuff.cif(skb->magic_debug_cookie == SK_GOOD_SKB)
skb463net/inet/skbuff.cIS_SKB(skb);
skb464net/inet/skbuff.cskb->magic_debug_cookie = SK_FREED_SKB;
skb465net/inet/skbuff.ckfree_s((void *)skb,size);
skb475net/inet/skbuff.ckfree_s((void *)skb,size);
skb487net/inet/skbuff.cstruct sk_buff *skb_clone(struct sk_buff *skb, int priority)
skb492net/inet/skbuff.cn=alloc_skb(skb->mem_len-sizeof(struct sk_buff),priority);
skb496net/inet/skbuff.coffset=((char *)n)-((char *)skb);
skb498net/inet/skbuff.cmemcpy(n->data,skb->data,skb->mem_len-sizeof(struct sk_buff));
skb499net/inet/skbuff.cn->len=skb->len;
skb502net/inet/skbuff.cn->when=skb->when;
skb503net/inet/skbuff.cn->dev=skb->dev;
skb504net/inet/skbuff.cn->h.raw=skb->h.raw+offset;
skb505net/inet/skbuff.cn->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset);
skb506net/inet/skbuff.cn->fraglen=skb->fraglen;
skb507net/inet/skbuff.cn->fraglist=skb->fraglist;
skb508net/inet/skbuff.cn->saddr=skb->saddr;
skb509net/inet/skbuff.cn->daddr=skb->daddr;
skb510net/inet/skbuff.cn->raddr=skb->raddr;
skb511net/inet/skbuff.cn->acked=skb->acked;
skb512net/inet/skbuff.cn->used=skb->used;
skb514net/inet/skbuff.cn->arp=skb->arp;
skb518net/inet/skbuff.cn->pkt_type=skb->pkt_type;
skb527net/inet/skbuff.cvoid skb_device_lock(struct sk_buff *skb)
skb529net/inet/skbuff.cif(skb->lock)
skb533net/inet/skbuff.cskb->lock++;
skb536net/inet/skbuff.cvoid skb_device_unlock(struct sk_buff *skb)
skb538net/inet/skbuff.cif(skb->lock==0)
skb540net/inet/skbuff.cskb->lock--;
skb541net/inet/skbuff.cif(skb->lock==0)
skb545net/inet/skbuff.cvoid dev_kfree_skb(struct sk_buff *skb, int mode)
skb551net/inet/skbuff.cif(skb->lock==1)
skb554net/inet/skbuff.cif (!--skb->lock && (skb->free == 1 || skb->free == 3))
skb557net/inet/skbuff.ckfree_skb(skb,mode);
skb563net/inet/skbuff.cint skb_device_locked(struct sk_buff *skb)
skb565net/inet/skbuff.creturn skb->lock? 1 : 0;
skb384net/inet/sock.cvoid sock_wfree(struct sock *sk, struct sk_buff *skb, unsigned long size)
skb387net/inet/sock.cIS_SKB(skb);
skb389net/inet/sock.ckfree_skbmem(skb, size);
skb401net/inet/sock.cvoid sock_rfree(struct sock *sk, struct sk_buff *skb, unsigned long size)
skb404net/inet/sock.cIS_SKB(skb);
skb406net/inet/sock.ckfree_skbmem(skb, size);
skb419net/inet/sock.cstruct sk_buff *skb;
skb442net/inet/sock.cskb = sock_wmalloc(sk, size, 0, GFP_KERNEL);
skb444net/inet/sock.cif(skb==NULL)
skb479net/inet/sock.cwhile(skb==NULL);
skb481net/inet/sock.creturn skb;
skb489net/inet/sock.cint sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
skb491net/inet/sock.cif(sk->rmem_alloc + skb->mem_len >= sk->rcvbuf)
skb493net/inet/sock.csk->rmem_alloc+=skb->mem_len;
skb494net/inet/sock.cskb->sk=sk;
skb495net/inet/sock.cskb_queue_tail(&sk->receive_queue,skb);
skb497net/inet/sock.csk->data_ready(sk,skb->len);
skb503net/inet/sock.cstruct sk_buff *skb;
skb527net/inet/sock.cwhile((skb = skb_dequeue(&sk->back_log)) != NULL) 
skb531net/inet/sock.csk->prot->rcv(skb, skb->dev, sk->opt,
skb532net/inet/sock.cskb->saddr, skb->len, skb->daddr, 1,
skb192net/inet/sock.hvoid      (*wfree)(struct sock *sk, struct sk_buff *skb,
skb194net/inet/sock.hvoid      (*rfree)(struct sock *sk, struct sk_buff *skb,
skb211net/inet/sock.hint      (*build_header)(struct sk_buff *skb,
skb220net/inet/sock.hstruct device *dev, struct sk_buff *skb,
skb279net/inet/sock.hextern void      sock_wfree(struct sock *sk, struct sk_buff *skb,
skb281net/inet/sock.hextern void      sock_rfree(struct sock *sk, struct sk_buff *skb,
skb289net/inet/sock.hextern struct sk_buff     *sock_alloc_send_skb(struct sock *skb, unsigned long size, int noblock, int *errcode);
skb290net/inet/sock.hextern int      sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb);
skb307net/inet/tcp.cstruct sk_buff *skb;
skb311net/inet/tcp.cskb=tcp_find_established(s);
skb312net/inet/tcp.cif(skb!=NULL)
skb313net/inet/tcp.cskb_unlink(skb);  /* Take it off the queue */
skb315net/inet/tcp.creturn skb;
skb432net/inet/tcp.cstruct sk_buff *skb;
skb441net/inet/tcp.cif (sk == NULL || (skb = skb_peek(&sk->receive_queue)) == NULL)
skb455net/inet/tcp.cif (before(counted, skb->h.th->seq))   /* Found a hole so stops here */
skb457net/inet/tcp.csum = skb->len -(counted - skb->h.th->seq);  /* Length - header but start from where we are up to (avoid overlaps) */
skb458net/inet/tcp.cif (skb->h.th->syn)
skb463net/inet/tcp.cif (skb->h.th->syn) 
skb483net/inet/tcp.cif (skb->h.th->urg)
skb485net/inet/tcp.cif (amount && skb->h.th->psh) break;
skb486net/inet/tcp.cskb = skb->next;
skb488net/inet/tcp.cwhile(skb != (struct sk_buff *)&sk->receive_queue);
skb720net/inet/tcp.cstatic void tcp_send_skb(struct sock *sk, struct sk_buff *skb)
skb723net/inet/tcp.cstruct tcphdr * th = skb->h.th;
skb726net/inet/tcp.csize = skb->len - ((unsigned char *) th - skb->data);
skb729net/inet/tcp.cif (size < sizeof(struct tcphdr) || size > skb->len) 
skb732net/inet/tcp.cskb, skb->data, th, skb->len);
skb733net/inet/tcp.ckfree_skb(skb, FREE_WRITE);
skb744net/inet/tcp.ckfree_skb(skb,FREE_WRITE);
skb751net/inet/tcp.cskb->h.seq = ntohl(th->seq) + size - 4*th->doff;
skb752net/inet/tcp.cif (after(skb->h.seq, sk->window_seq) ||
skb759net/inet/tcp.cif (skb->next != NULL) 
skb762net/inet/tcp.cskb_unlink(skb);
skb764net/inet/tcp.cskb_queue_tail(&sk->write_queue, skb);
skb778net/inet/tcp.csk->prot->queue_xmit(sk, skb->dev, skb, 0);
skb784net/inet/tcp.cstruct sk_buff * skb;
skb789net/inet/tcp.cskb = sk->partial;
skb790net/inet/tcp.cif (skb) {
skb795net/inet/tcp.creturn skb;
skb800net/inet/tcp.cstruct sk_buff *skb;
skb804net/inet/tcp.cwhile ((skb = tcp_dequeue_partial(sk)) != NULL)
skb805net/inet/tcp.ctcp_send_skb(sk, skb);
skb808net/inet/tcp.cvoid tcp_enqueue_partial(struct sk_buff * skb, struct sock * sk)
skb818net/inet/tcp.csk->partial = skb;
skb959net/inet/tcp.cstruct sk_buff *skb;
skb1073net/inet/tcp.cif ((skb = tcp_dequeue_partial(sk)) != NULL) 
skb1078net/inet/tcp.chdrlen = ((unsigned long)skb->h.th - (unsigned long)skb->data)
skb1084net/inet/tcp.ccopy = min(sk->mss - (skb->len - hdrlen), len);
skb1092net/inet/tcp.cmemcpy_fromfs(skb->data + skb->len, from, copy);
skb1093net/inet/tcp.cskb->len += copy;
skb1099net/inet/tcp.cif ((skb->len - hdrlen) >= sk->mss ||
skb1101net/inet/tcp.ctcp_send_skb(sk, skb);
skb1103net/inet/tcp.ctcp_enqueue_partial(skb, sk);
skb1140net/inet/tcp.cskb = prot->wmalloc(sk, sk->mtu + 128 + prot->max_header, 0, GFP_KERNEL);
skb1142net/inet/tcp.csend_tmp = skb;
skb1150net/inet/tcp.cskb = prot->wmalloc(sk, copy + prot->max_header , 0, GFP_KERNEL);
skb1158net/inet/tcp.cif (skb == NULL) 
skb1196net/inet/tcp.cskb->len = 0;
skb1197net/inet/tcp.cskb->sk = sk;
skb1198net/inet/tcp.cskb->free = 0;
skb1199net/inet/tcp.cskb->localroute = sk->localroute|(flags&MSG_DONTROUTE);
skb1201net/inet/tcp.cbuff = skb->data;
skb1208net/inet/tcp.ctmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev,
skb1209net/inet/tcp.cIPPROTO_TCP, sk->opt, skb->mem_len,sk->ip_tos,sk->ip_ttl);
skb1212net/inet/tcp.cprot->wfree(sk, skb->mem_addr, skb->mem_len);
skb1218net/inet/tcp.cskb->len += tmp;
skb1219net/inet/tcp.cskb->dev = dev;
skb1221net/inet/tcp.cskb->h.th =(struct tcphdr *) buff;
skb1225net/inet/tcp.cprot->wfree(sk, skb->mem_addr, skb->mem_len);
skb1237net/inet/tcp.cskb->len += tmp;
skb1243net/inet/tcp.cskb->len += copy;
skb1244net/inet/tcp.cskb->free = 0;
skb1252net/inet/tcp.ctcp_send_skb(sk, skb);
skb1379net/inet/tcp.cstruct sk_buff *skb;
skb1395net/inet/tcp.cwhile((skb=skb_peek(&sk->receive_queue)) != NULL) 
skb1397net/inet/tcp.cif (!skb->used) 
skb1399net/inet/tcp.cskb_unlink(skb);
skb1400net/inet/tcp.cskb->sk = sk;
skb1401net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb1541net/inet/tcp.cstruct sk_buff * skb;
skb1552net/inet/tcp.cskb = skb_peek(&sk->receive_queue);
skb1555net/inet/tcp.cif (!skb)
skb1557net/inet/tcp.cif (before(1+*seq, skb->h.th->seq))
skb1559net/inet/tcp.coffset = 1 + *seq - skb->h.th->seq;
skb1560net/inet/tcp.cif (skb->h.th->syn)
skb1562net/inet/tcp.cif (offset < skb->len)
skb1565net/inet/tcp.cskb->used = 1;
skb1566net/inet/tcp.cskb = skb->next;
skb1568net/inet/tcp.cwhile (skb != (struct sk_buff *)&sk->receive_queue);
skb1617net/inet/tcp.cused = skb->len - offset;
skb1640net/inet/tcp.cmemcpy_tofs(to,((unsigned char *)skb->h.th) +
skb1641net/inet/tcp.cskb->h.th->doff*4 + offset, used);
skb1648net/inet/tcp.cif (!(flags & MSG_PEEK) && (used + offset >= skb->len))
skb1649net/inet/tcp.cskb->used = 1;
skb2002net/inet/tcp.cstatic void tcp_conn_request(struct sock *sk, struct sk_buff *skb,
skb2015net/inet/tcp.cth = skb->h.th;
skb2028net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb2040net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb2057net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb2090net/inet/tcp.cnewsk->acked_seq = skb->h.th->seq+1;
skb2091net/inet/tcp.cnewsk->fin_seq = skb->h.th->seq;
skb2092net/inet/tcp.cnewsk->copied_seq = skb->h.th->seq;
skb2104net/inet/tcp.cnewsk->dummy_th.source = skb->h.th->dest;
skb2105net/inet/tcp.cnewsk->dummy_th.dest = skb->h.th->source;
skb2124net/inet/tcp.cnewsk->acked_seq = skb->h.th->seq + 1;
skb2125net/inet/tcp.cnewsk->copied_seq = skb->h.th->seq;
skb2133net/inet/tcp.cnewsk->ip_tos=skb->ip_hdr->tos;
skb2176net/inet/tcp.ctcp_options(newsk,skb->h.th);
skb2184net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb2213net/inet/tcp.cskb->sk = sk;
skb2214net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb2222net/inet/tcp.cmemcpy(t1, skb->h.th, sizeof(*t1));
skb2227net/inet/tcp.ct1->dest = skb->h.th->source;
skb2240net/inet/tcp.ct1->ack_seq = ntohl(skb->h.th->seq+1);
skb2252net/inet/tcp.cskb->sk = newsk;
skb2258net/inet/tcp.csk->rmem_alloc -= skb->mem_len;
skb2259net/inet/tcp.cnewsk->rmem_alloc += skb->mem_len;
skb2261net/inet/tcp.cskb_queue_tail(&sk->receive_queue,skb);
skb2297net/inet/tcp.cstruct sk_buff *skb;
skb2300net/inet/tcp.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL)
skb2301net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb2481net/inet/tcp.cstruct sk_buff *skb;
skb2491net/inet/tcp.cwhile((skb = skb_peek(&sk->write_queue)) != NULL &&
skb2492net/inet/tcp.cbefore(skb->h.seq, sk->window_seq + 1) &&
skb2495net/inet/tcp.cbefore(skb->h.seq, sk->rcv_ack_seq + 1))
skb2498net/inet/tcp.cIS_SKB(skb);
skb2499net/inet/tcp.cskb_unlink(skb);
skb2501net/inet/tcp.cif (before(skb->h.seq, sk->rcv_ack_seq +1)) 
skb2504net/inet/tcp.ckfree_skb(skb, FREE_WRITE);
skb2520net/inet/tcp.ciph = (struct iphdr *)(skb->data +
skb2521net/inet/tcp.cskb->dev->hard_header_len);
skb2523net/inet/tcp.csize = skb->len - (((unsigned char *) th) - skb->data);
skb2530net/inet/tcp.csk->sent_seq = skb->h.seq;
skb2531net/inet/tcp.csk->prot->queue_xmit(sk, skb->dev, skb, skb->free);
skb2605net/inet/tcp.cstruct sk_buff *skb;
skb2619net/inet/tcp.cskb = skb2;
skb2620net/inet/tcp.cskb2 = skb->link3;
skb2621net/inet/tcp.cskb->link3 = NULL;
skb2622net/inet/tcp.cif (after(skb->h.seq, sk->window_seq)) 
skb2627net/inet/tcp.cif (skb->next != NULL) 
skb2629net/inet/tcp.cskb_unlink(skb);        
skb2633net/inet/tcp.cskb_queue_head(&sk->write_queue,skb);
skb2635net/inet/tcp.cskb_append(wskb,skb);
skb2636net/inet/tcp.cwskb = skb;
skb2642net/inet/tcp.csk->send_head = skb;
skb2643net/inet/tcp.csk->send_tail = skb;
skb2647net/inet/tcp.csk->send_tail->link3 = skb;
skb2648net/inet/tcp.csk->send_tail = skb;
skb2650net/inet/tcp.cskb->link3 = NULL;
skb3063net/inet/tcp.cstatic int tcp_data(struct sk_buff *skb, struct sock *sk, 
skb3073net/inet/tcp.cth = skb->h.th;
skb3074net/inet/tcp.cskb->len = len -(th->doff*4);
skb3079net/inet/tcp.csk->bytes_rcv += skb->len;
skb3081net/inet/tcp.cif (skb->len == 0 && !th->fin && !th->urg && !th->psh) 
skb3089net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3099net/inet/tcp.cnew_seq= th->seq + skb->len + th->syn;  /* Right edge of _data_ part of frame */
skb3132net/inet/tcp.ctcp_reset(sk->saddr, sk->daddr, skb->h.th,
skb3133net/inet/tcp.csk->prot, NULL, skb->dev, sk->ip_tos, sk->ip_ttl);
skb3138net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3158net/inet/tcp.cskb_queue_head(&sk->receive_queue,skb);
skb3169net/inet/tcp.cprintk("skb->h.th->seq = %ld\n",skb->h.th->seq);
skb3182net/inet/tcp.cif (th->seq==skb1->h.th->seq && skb->len>= skb1->len)
skb3184net/inet/tcp.cskb_append(skb1,skb);
skb3198net/inet/tcp.cskb_append(skb1,skb);
skb3207net/inet/tcp.cskb_queue_head(&sk->receive_queue, skb);
skb3217net/inet/tcp.cth->ack_seq = th->seq + skb->len;
skb3247net/inet/tcp.cskb->acked = 1;
skb3253net/inet/tcp.cif (skb->h.th->fin) 
skb3260net/inet/tcp.cfor(skb2 = skb->next;
skb3323net/inet/tcp.cif (!skb->acked) 
skb3444net/inet/tcp.cstatic int tcp_fin(struct sk_buff *skb, struct sock *sk, struct tcphdr *th, 
skb3447net/inet/tcp.csk->fin_seq = th->seq + skb->len + th->syn + th->fin;
skb3526net/inet/tcp.cstruct sk_buff *skb;
skb3543net/inet/tcp.cwhile((skb = tcp_dequeue_established(sk)) == NULL) 
skb3569net/inet/tcp.cnewsk = skb->sk;
skb3571net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3799net/inet/tcp.cstruct sk_buff *skb=skb_peek(&sk->receive_queue);
skb3800net/inet/tcp.cif(skb==NULL || sk->receive_queue.prev->acked)
skb3807net/inet/tcp.ctcp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb3814net/inet/tcp.cif (!skb) 
skb3826net/inet/tcp.cif(skb->pkt_type!=PACKET_HOST)
skb3828net/inet/tcp.ckfree_skb(skb,FREE_READ);
skb3832net/inet/tcp.cth = skb->h.th;
skb3852net/inet/tcp.cskb->sk = NULL;
skb3853net/inet/tcp.ckfree_skb(skb,FREE_READ);
skb3866net/inet/tcp.ctcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255);
skb3867net/inet/tcp.cskb->sk = NULL;
skb3868net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3872net/inet/tcp.cskb->len = len;
skb3873net/inet/tcp.cskb->acked = 0;
skb3874net/inet/tcp.cskb->used = 0;
skb3875net/inet/tcp.cskb->free = 0;
skb3876net/inet/tcp.cskb->saddr = daddr;
skb3877net/inet/tcp.cskb->daddr = saddr;
skb3883net/inet/tcp.cskb_queue_tail(&sk->back_log, skb);
skb3909net/inet/tcp.cif (sk->rmem_alloc + skb->mem_len >= sk->rcvbuf) 
skb3911net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3916net/inet/tcp.cskb->sk=sk;
skb3917net/inet/tcp.csk->rmem_alloc += skb->mem_len;
skb3942net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3949net/inet/tcp.cskb->len -= (th->doff *4);
skb3950net/inet/tcp.csk->bytes_rcv += skb->len;
skb3952net/inet/tcp.cif(skb->len)
skb3954net/inet/tcp.cskb_queue_tail(&sk->receive_queue,skb);  /* We already know where to put it */
skb3955net/inet/tcp.cif(sk->window >= skb->len)
skb3956net/inet/tcp.csk->window-=skb->len;      /* We know its effect on the window */
skb3959net/inet/tcp.csk->acked_seq = th->seq+skb->len;  /* Easy */
skb3960net/inet/tcp.cskb->acked=1;        /* Guaranteed true */
skb3983net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3989net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb3993net/inet/tcp.cif(tcp_data(skb, sk, saddr, len))
skb3994net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4023net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4041net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4065net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4103net/inet/tcp.ctcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000);
skb4113net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4120net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4126net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4132net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4138net/inet/tcp.cif (tcp_data(skb, sk, saddr, len)) {
skb4139net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4144net/inet/tcp.cif (th->fin && tcp_fin(skb, sk, th, saddr, dev)) {
skb4145net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4156net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4167net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4173net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4180net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4193net/inet/tcp.ctcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq());
skb4198net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4205net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4214net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4231net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4254net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4260net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4273net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4284net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4301net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4345net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4350net/inet/tcp.cif (tcp_data(skb, sk, saddr, len))
skb4351net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4354net/inet/tcp.ctcp_fin(skb, sk, th, saddr, dev);
skb4363net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4368net/inet/tcp.cif (tcp_data(skb, sk, saddr, len)) 
skb4370net/inet/tcp.ckfree_skb(skb, FREE_READ);
skb4380net/inet/tcp.ctcp_fin(skb, sk, th, saddr, dev);
skb120net/inet/tcp.hextern int  tcp_rcv(struct sk_buff *skb, struct device *dev,
skb166net/inet/timer.cstruct sk_buff *skb;
skb171net/inet/timer.cskb = sk->send_head;
skb172net/inet/timer.cif (!skb) 
skb178net/inet/timer.cif (jiffies < skb->when + sk->rto) 
skb180net/inet/timer.creset_timer (sk, TIME_WRITE, skb->when + sk->rto - jiffies);
skb81net/inet/udp.cstatic int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len);
skb252net/inet/udp.cstruct sk_buff *skb;
skb265net/inet/udp.cskb = sock_alloc_send_skb(sk, size, 0, &tmp);
skb268net/inet/udp.cif (skb == NULL) 
skb271net/inet/udp.cskb->sk       = NULL;  /* to avoid changing sk->saddr */
skb272net/inet/udp.cskb->free     = 1;
skb273net/inet/udp.cskb->localroute = sk->localroute|(rt&MSG_DONTROUTE);
skb279net/inet/udp.cbuff = skb->data;
skb287net/inet/udp.ctmp = sk->prot->build_header(skb, saddr, sin->sin_addr.s_addr,
skb288net/inet/udp.c&dev, IPPROTO_UDP, sk->opt, skb->mem_len,sk->ip_tos,ttl);
skb290net/inet/udp.cskb->sk=sk;  /* So memory is freed correctly */
skb298net/inet/udp.csk->prot->wfree(sk, skb->mem_addr, skb->mem_len);
skb303net/inet/udp.csaddr = skb->saddr; /*dev->pa_addr;*/
skb304net/inet/udp.cskb->len = tmp + sizeof(struct udphdr) + len;  /* len + UDP + IP + MAC */
skb305net/inet/udp.cskb->dev = dev;
skb327net/inet/udp.cudp_send_check(uh, saddr, sin->sin_addr.s_addr, skb->len - tmp, sk);
skb335net/inet/udp.csk->prot->queue_xmit(sk, dev, skb, 1);
skb431net/inet/udp.cstruct sk_buff *skb;
skb436net/inet/udp.cskb = skb_peek(&sk->receive_queue);
skb437net/inet/udp.cif (skb != NULL) {
skb443net/inet/udp.camount = skb->len;
skb471net/inet/udp.cstruct sk_buff *skb;
skb486net/inet/udp.cskb=skb_recv_datagram(sk,flags,noblock,&er);
skb487net/inet/udp.cif(skb==NULL)
skb490net/inet/udp.ctruesize = skb->len;
skb497net/inet/udp.cskb_copy_datagram(skb,sizeof(struct udphdr),to,copied);
skb498net/inet/udp.csk->stamp=skb->stamp;
skb504net/inet/udp.csin->sin_port = skb->h.uh->source;
skb505net/inet/udp.csin->sin_addr.s_addr = skb->daddr;
skb508net/inet/udp.cskb_free_datagram(skb);
skb559net/inet/udp.cint udp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb568net/inet/udp.cif(skb->dev->pa_addr!=daddr)
skb574net/inet/udp.cuh = (struct udphdr *) skb->h.uh;
skb588net/inet/udp.ckfree_skb(skb, FREE_WRITE);
skb596net/inet/udp.ckfree_skb(skb, FREE_WRITE);
skb620net/inet/udp.cskb1=skb_clone(skb,GFP_ATOMIC);
skb622net/inet/udp.cskb1=skb;
skb624net/inet/udp.cudp_deliver(sk, uh, skb1,skb->dev,saddr,daddr,len);
skb630net/inet/udp.ckfree_skb(skb, FREE_READ);
skb640net/inet/udp.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, dev);
skb646net/inet/udp.cskb->sk = NULL;
skb647net/inet/udp.ckfree_skb(skb, FREE_WRITE);
skb651net/inet/udp.creturn udp_deliver(sk,uh,skb,skb->dev, saddr, daddr, len);
skb654net/inet/udp.cstatic int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len)
skb656net/inet/udp.cskb->sk = sk;
skb657net/inet/udp.cskb->dev = dev;
skb658net/inet/udp.cskb->len = len;
skb664net/inet/udp.cskb->daddr = saddr;
skb665net/inet/udp.cskb->saddr = daddr;
skb672net/inet/udp.cskb->len = len - sizeof(*uh);  
skb674net/inet/udp.cif (sock_queue_rcv_skb(sk,skb)<0) 
skb679net/inet/udp.cskb->sk = NULL;
skb680net/inet/udp.ckfree_skb(skb, FREE_WRITE);
skb43net/inet/udp.hextern int  udp_rcv(struct sk_buff *skb, struct device *dev,