taglinefilesource code
skb123drivers/net/3c501.cstatic int  el_start_xmit(struct sk_buff *skb, struct device *dev);
skb333drivers/net/3c501.cel_start_xmit(struct sk_buff *skb, struct device *dev)
skb357drivers/net/3c501.cif (skb == NULL) {
skb374drivers/net/3c501.cint gp_start = 0x800 - (ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
skb375drivers/net/3c501.cunsigned char *buf = skb->data;
skb398drivers/net/3c501.coutsb(DATAPORT,buf,skb->len);  /* load buffer (usual thing each byte increments the pointer) */
skb412drivers/net/3c501.cdev_kfree_skb (skb, FREE_WRITE);
skb555drivers/net/3c501.cstruct sk_buff *skb;
skb575drivers/net/3c501.cskb = dev_alloc_skb(pkt_len+2);
skb580drivers/net/3c501.cif (skb == NULL) {
skb585drivers/net/3c501.cskb_reserve(skb,2);  /* Force 16 byte alignment */
skb586drivers/net/3c501.cskb->dev = dev;
skb594drivers/net/3c501.cinsb(DATAPORT, skb_put(skb,pkt_len), pkt_len);
skb595drivers/net/3c501.cskb->protocol=eth_type_trans(skb,dev);
skb596drivers/net/3c501.cnetif_rx(skb);
skb548drivers/net/3c505.cstruct sk_buff *skb;
skb563drivers/net/3c505.cskb = dev_alloc_skb(rlen+2);
skb574drivers/net/3c505.cif (skb == NULL) {
skb590drivers/net/3c505.cskb_reserve(skb,2);  /* 16 byte alignment */
skb591drivers/net/3c505.cskb->dev = dev;
skb596drivers/net/3c505.cptr = (unsigned short *)skb_put(skb,len);
skb605drivers/net/3c505.ckfree_skb(skb, FREE_WRITE);
skb614drivers/net/3c505.cskb->protocol=eth_type_trans(skb,dev);
skb615drivers/net/3c505.cnetif_rx(skb);
skb994drivers/net/3c505.celp_start_xmit (struct sk_buff *skb, struct device *dev)
skb1001drivers/net/3c505.cif (skb == NULL) {
skb1009drivers/net/3c505.cif (skb->len <= 0)
skb1013drivers/net/3c505.cprintk("%s: request to send packet of length %d\n", dev->name, (int)skb->len);
skb1034drivers/net/3c505.cif (!send_packet(dev, skb->data, skb->len)) {
skb1040drivers/net/3c505.cprintk("%s: packet of length %d sent\n", dev->name, (int)skb->len);
skb1056drivers/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);
skb835drivers/net/3c507.cstruct sk_buff *skb;
skb838drivers/net/3c507.cskb = dev_alloc_skb(pkt_len+2);
skb839drivers/net/3c507.cif (skb == NULL) {
skb845drivers/net/3c507.cskb_reserve(skb,2);
skb846drivers/net/3c507.cskb->dev = dev;
skb849drivers/net/3c507.cmemcpy(skb_put(skb,pkt_len), data_frame + 5, pkt_len);
skb851drivers/net/3c507.cskb->protocol=eth_type_trans(skb,dev);
skb852drivers/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);
skb592drivers/net/3c509.cstruct sk_buff *skb;
skb594drivers/net/3c509.cskb = dev_alloc_skb(pkt_len+5);
skb598drivers/net/3c509.cif (skb != NULL) {
skb599drivers/net/3c509.cskb->dev = dev;
skb600drivers/net/3c509.cskb_reserve(skb,2);  /* Align IP on 16 byte boundaries */
skb603drivers/net/3c509.cinsl(ioaddr+RX_FIFO, skb_put(skb,pkt_len),
skb606drivers/net/3c509.cskb->protocol=eth_type_trans(skb,dev);
skb607drivers/net/3c509.cnetif_rx(skb);
skb127drivers/net/8390.cstatic int ei_start_xmit(struct sk_buff *skb, struct device *dev)
skb170drivers/net/8390.cif (skb == NULL) {
skb175drivers/net/8390.clength = skb->len;
skb176drivers/net/8390.cif (skb->len <= 0)
skb216drivers/net/8390.cei_block_output(dev, length, skb->data, output_page);
skb230drivers/net/8390.cei_block_output(dev, length, skb->data, ei_local->tx_start_page);
skb241drivers/net/8390.cdev_kfree_skb (skb, FREE_WRITE);
skb456drivers/net/8390.cstruct sk_buff *skb;
skb458drivers/net/8390.cskb = dev_alloc_skb(pkt_len+2);
skb459drivers/net/8390.cif (skb == NULL) {
skb466drivers/net/8390.cskb_reserve(skb,2);  /* IP headers on 16 byte boundaries */
skb467drivers/net/8390.cskb->dev = dev;
skb469drivers/net/8390.cei_block_input(dev, pkt_len, skb_put(skb,pkt_len),
skb471drivers/net/8390.cskb->protocol=eth_type_trans(skb,dev);
skb472drivers/net/8390.cnetif_rx(skb);
skb188drivers/net/apricot.cstatic int i596_start_xmit(struct sk_buff *skb, struct device *dev);
skb345drivers/net/apricot.cstruct sk_buff *skb = dev_alloc_skb(pkt_len);
skb349drivers/net/apricot.cif (skb == NULL)
skb356drivers/net/apricot.cskb->dev = dev;    
skb357drivers/net/apricot.cmemcpy(skb_put(skb,pkt_len), lp->scb.rfd->data, pkt_len);
skb359drivers/net/apricot.cskb->protocol=eth_type_trans(skb,dev);
skb360drivers/net/apricot.cnetif_rx(skb);
skb363drivers/net/apricot.cif (i596_debug > 4) print_eth(skb->data);
skb411drivers/net/apricot.cstruct sk_buff *skb = ((struct sk_buff *)(tx_cmd->tbd->data)) -1;
skb413drivers/net/apricot.cdev_kfree_skb(skb, FREE_WRITE);
skb576drivers/net/apricot.ci596_start_xmit(struct sk_buff *skb, struct device *dev)
skb614drivers/net/apricot.cif (skb == NULL) {
skb620drivers/net/apricot.cif (skb->len <= 0) return 0;
skb630drivers/net/apricot.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb639drivers/net/apricot.cdev_kfree_skb(skb, FREE_WRITE);
skb653drivers/net/apricot.ctx_cmd->tbd->data = skb->data;
skb655drivers/net/apricot.cif (i596_debug > 3) print_eth(skb->data);
skb813drivers/net/apricot.cstruct sk_buff *skb = ((struct sk_buff *)(tx_cmd->tbd->data)) -1;
skb815drivers/net/apricot.cdev_kfree_skb(skb, FREE_WRITE);
skb819drivers/net/apricot.cif (i596_debug >2) print_eth(skb->data);
skb377drivers/net/arcnet.cstruct sk_buff *skb;    /* packet data buffer             */
skb385drivers/net/arcnet.cstruct sk_buff *skb;    /* buffer from upper levels */
skb435drivers/net/arcnet.cstatic int arcnetA_send_packet(struct sk_buff *skb, struct device *dev);
skb441drivers/net/arcnet.cstatic int arcnetW_send_packet(struct sk_buff *skb, struct device *dev);
skb456drivers/net/arcnet.cint arcnetA_header(struct sk_buff *skb,struct device *dev,unsigned short type,
skb459drivers/net/arcnet.cstruct sk_buff *skb);
skb460drivers/net/arcnet.cunsigned short arcnetA_type_trans(struct sk_buff *skb,struct device *dev);
skb1024drivers/net/arcnet.carcnetA_send_packet(struct sk_buff *skb, struct device *dev)
skb1054drivers/net/arcnet.cstatus,tickssofar,lp->outgoing.skb,
skb1075drivers/net/arcnet.cif (lp->outgoing.skb)
skb1077drivers/net/arcnet.cdev_kfree_skb(lp->outgoing.skb,FREE_WRITE);
skb1080drivers/net/arcnet.clp->outgoing.skb=NULL;
skb1098drivers/net/arcnet.cif (skb == NULL) {
skb1136drivers/net/arcnet.cout->length = 1 < skb->len ? skb->len : 1;
skb1137drivers/net/arcnet.cout->hdr=(struct ClientData*)skb->data;
skb1138drivers/net/arcnet.cout->skb=skb;
skb1143drivers/net/arcnet.cfor( i=0; i< skb->len; i++)
skb1146drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb1169drivers/net/arcnet.c((char *)skb->data)+sizeof(struct ClientData));
skb1172drivers/net/arcnet.cdev_kfree_skb(out->skb,FREE_WRITE);
skb1173drivers/net/arcnet.cout->skb=NULL;
skb1188drivers/net/arcnet.cout->data=(u_char *)skb->data
skb1224drivers/net/arcnet.cif (out->skb)
skb1225drivers/net/arcnet.cdev_kfree_skb(out->skb,FREE_WRITE);
skb1226drivers/net/arcnet.cout->skb=NULL;
skb1414drivers/net/arcnet.carcnetW_send_packet(struct sk_buff *skb, struct device *dev)
skb1419drivers/net/arcnet.cprintk("%s: in arcnetW_send_packet (skb=%p)\n",dev->name,skb);
skb1439drivers/net/arcnet.cif (skb == NULL)
skb1454drivers/net/arcnet.cshort offset,length=skb->len+1;
skb1464drivers/net/arcnet.cdev_kfree_skb(skb,FREE_WRITE);
skb1478drivers/net/arcnet.cif (((struct ethhdr*)(skb->data))->h_dest[0] == 0xFF)
skb1482drivers/net/arcnet.c((struct ethhdr*)(skb->data))->h_dest[5];
skb1511drivers/net/arcnet.cmemcpy(arcsoft,skb->data,skb->len);
skb1543drivers/net/arcnet.cdev_kfree_skb(skb,FREE_WRITE);
skb1666drivers/net/arcnet.cstatus,out->numsegs,out->segnum,out->skb);
skb1702drivers/net/arcnet.cif (!lp->outgoing.skb)
skb1735drivers/net/arcnet.cif (out->skb)
skb1736drivers/net/arcnet.cdev_kfree_skb(out->skb,FREE_WRITE);
skb1737drivers/net/arcnet.cout->skb=NULL;
skb1870drivers/net/arcnet.cstruct sk_buff *skb;
skb1898drivers/net/arcnet.cif (in->skb)  /* already assembling one! */
skb1903drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb1906drivers/net/arcnet.cin->skb=NULL;
skb1911drivers/net/arcnet.cskb = alloc_skb(length, GFP_ATOMIC);
skb1912drivers/net/arcnet.cif (skb == NULL) {
skb1917drivers/net/arcnet.csoft=(struct ClientData *)skb->data;
skb1919drivers/net/arcnet.cskb->len = length;
skb1920drivers/net/arcnet.cskb->dev = dev;
skb1967drivers/net/arcnet.cfor( i=0; i< skb->len; i++)
skb1970drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb1975drivers/net/arcnet.cskb->protocol=arcnetA_type_trans(skb,dev);
skb1977drivers/net/arcnet.cnetif_rx(skb);
skb2004drivers/net/arcnet.cif (in->skb && in->sequence!=arcsoft->sequence)
skb2009drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb2010drivers/net/arcnet.cin->skb=NULL;
skb2020drivers/net/arcnet.cif (in->skb)  /* already assembling one! */
skb2027drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb2042drivers/net/arcnet.cin->skb=skb=alloc_skb(508*in->numpackets
skb2045drivers/net/arcnet.cif (skb == NULL) {
skb2055drivers/net/arcnet.cskb->free=1;
skb2057drivers/net/arcnet.csoft=(struct ClientData *)skb->data;
skb2059drivers/net/arcnet.cskb->len=sizeof(struct ClientData);
skb2060drivers/net/arcnet.cskb->dev=dev;
skb2074drivers/net/arcnet.cif (!in->skb)
skb2097drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb2098drivers/net/arcnet.cin->skb=NULL;
skb2105drivers/net/arcnet.csoft=(struct ClientData *)in->skb->data;
skb2108drivers/net/arcnet.cskb=in->skb;
skb2110drivers/net/arcnet.cmemcpy(skb->data+skb->len,
skb2114drivers/net/arcnet.cskb->len+=length-sizeof(struct ClientData);
skb2122drivers/net/arcnet.cif (!skb || !in->skb)
skb2124drivers/net/arcnet.cskb,in->skb);
skb2125drivers/net/arcnet.cin->skb=NULL;
skb2131drivers/net/arcnet.cfor( i=0; i< skb->len; i++)
skb2134drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb2139drivers/net/arcnet.cskb->protocol=arcnetA_type_trans(skb,dev);
skb2141drivers/net/arcnet.cnetif_rx(skb);
skb2155drivers/net/arcnet.cstruct sk_buff *skb;
skb2161drivers/net/arcnet.cskb = alloc_skb(length, GFP_ATOMIC);
skb2162drivers/net/arcnet.cif (skb == NULL) {
skb2168drivers/net/arcnet.cskb->len = length;
skb2169drivers/net/arcnet.cskb->dev = lp->wdev;
skb2171drivers/net/arcnet.cmemcpy(skb->data,(u_char *)arcsoft+1,length-1);
skb2177drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
skb2182drivers/net/arcnet.cprintk("%02hX ",((u_char *)skb->data)[i]);
skb2187drivers/net/arcnet.cskb->protocol=eth_type_trans(skb,dev);
skb2189drivers/net/arcnet.cnetif_rx(skb);
skb2238drivers/net/arcnet.cint arcnetA_header(struct sk_buff *skb,struct device *dev,unsigned short type,
skb2242drivers/net/arcnet.cskb_push(skb,dev->hard_header_len);
skb2317drivers/net/arcnet.cstruct sk_buff *skb)
skb2338drivers/net/arcnet.creturn arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0;
skb2348drivers/net/arcnet.cunsigned short arcnetA_type_trans(struct sk_buff *skb,struct device *dev)
skb2350drivers/net/arcnet.cstruct ClientData *head = (struct ClientData *) skb->data;
skb2354drivers/net/arcnet.cskb->mac.raw=skb->data;
skb2355drivers/net/arcnet.cskb_pull(skb,dev->hard_header_len);
skb2358drivers/net/arcnet.cskb->pkt_type=PACKET_BROADCAST;
skb2363drivers/net/arcnet.cskb->pkt_type=PACKET_OTHERHOST;
skb121drivers/net/at1700.cstatic int  net_send_packet(struct sk_buff *skb, struct device *dev);
skb363drivers/net/at1700.cnet_send_packet(struct sk_buff *skb, struct device *dev)
skb397drivers/net/at1700.cif (skb == NULL) {
skb407drivers/net/at1700.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb408drivers/net/at1700.cunsigned char *buf = skb->data;
skb434drivers/net/at1700.cdev_kfree_skb (skb, FREE_WRITE);
skb519drivers/net/at1700.cstruct sk_buff *skb;
skb530drivers/net/at1700.cskb = dev_alloc_skb(pkt_len+3);
skb531drivers/net/at1700.cif (skb == NULL) {
skb540drivers/net/at1700.cskb->dev = dev;
skb541drivers/net/at1700.cskb_reserve(skb,2);
skb543drivers/net/at1700.cinsw(ioaddr + DATAPORT, skb_put(skb,pkt_len), (pkt_len + 1) >> 1);
skb544drivers/net/at1700.cskb->protocol=eth_type_trans(skb, dev);
skb545drivers/net/at1700.cnetif_rx(skb);
skb137drivers/net/atp.cstatic int  net_send_packet(struct sk_buff *skb, struct device *dev);
skb414drivers/net/atp.cnet_send_packet(struct sk_buff *skb, struct device *dev)
skb438drivers/net/atp.cif (skb == NULL) {
skb448drivers/net/atp.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb449drivers/net/atp.cunsigned char *buf = skb->data;
skb477drivers/net/atp.cdev_kfree_skb (skb, FREE_WRITE);
skb671drivers/net/atp.cstruct sk_buff *skb;
skb673drivers/net/atp.cskb = dev_alloc_skb(pkt_len);
skb674drivers/net/atp.cif (skb == NULL) {
skb679drivers/net/atp.cskb->dev = dev;
skb681drivers/net/atp.cread_block(ioaddr, pkt_len, skb_put(skb,pkt_len), dev->if_port);
skb684drivers/net/atp.cunsigned char *data = skb->data;
skb692drivers/net/atp.cskb->protocol=eth_type_trans(skb,dev);
skb693drivers/net/atp.cnetif_rx(skb);
skb360drivers/net/de4x5.cstruct sk_buff *skb[NUM_TX_DESC];        /* TX skb for freeing when sent */
skb405drivers/net/de4x5.cstatic int     de4x5_queue_pkt(struct sk_buff *skb, struct device *dev);
skb425drivers/net/de4x5.cstatic void    load_packet(struct device *dev, char *buf, u32 flags, struct sk_buff *skb);
skb945drivers/net/de4x5.cde4x5_queue_pkt(struct sk_buff *skb, struct device *dev)
skb984drivers/net/de4x5.cif (lp->skb[i] != NULL) {
skb985drivers/net/de4x5.cif (lp->skb[i]->len != FAKE_FRAME_LEN) {
skb987drivers/net/de4x5.cdev_queue_xmit(lp->skb[i], dev, SOPRI_NORMAL);
skb989drivers/net/de4x5.cdev_kfree_skb(lp->skb[i], FREE_WRITE);
skb992drivers/net/de4x5.cdev_kfree_skb(lp->skb[i], FREE_WRITE);
skb994drivers/net/de4x5.clp->skb[i] = NULL;
skb997drivers/net/de4x5.cif (skb->len != FAKE_FRAME_LEN) {
skb998drivers/net/de4x5.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb1000drivers/net/de4x5.cdev_kfree_skb(skb, FREE_WRITE);
skb1030drivers/net/de4x5.c} else if (skb == NULL) {
skb1032drivers/net/de4x5.c} else if (skb->len == FAKE_FRAME_LEN) {     /* Don't TX a fake frame! */
skb1033drivers/net/de4x5.cdev_kfree_skb(skb, FREE_WRITE);
skb1034drivers/net/de4x5.c} else if (skb->len > 0) {
skb1042drivers/net/de4x5.cload_packet(dev, skb->data, TD_IC | TD_LS | TD_FS | skb->len, skb);
skb1153drivers/net/de4x5.cstruct sk_buff *skb;
skb1156drivers/net/de4x5.cif ((skb = dev_alloc_skb(pkt_len+2)) != NULL) {
skb1157drivers/net/de4x5.cskb->dev = dev;
skb1159drivers/net/de4x5.cskb_reserve(skb,2);    /* Align */
skb1162drivers/net/de4x5.cmemcpy(skb_put(skb,len), bus_to_virt(lp->rx_ring[lp->rx_old].buf), len);
skb1163drivers/net/de4x5.cmemcpy(skb_put(skb,pkt_len-len), bus_to_virt(lp->rx_ring[0].buf), pkt_len - len);
skb1165drivers/net/de4x5.cmemcpy(skb_put(skb,pkt_len), bus_to_virt(lp->rx_ring[lp->rx_old].buf), pkt_len);
skb1169drivers/net/de4x5.cskb->protocol=eth_type_trans(skb,dev);
skb1170drivers/net/de4x5.cnetif_rx(skb);
skb1180drivers/net/de4x5.cbuf = skb->data;                  /* Look at the dest addr */
skb1259drivers/net/de4x5.cif (lp->skb[entry] != NULL) {
skb1260drivers/net/de4x5.cdev_kfree_skb(lp->skb[entry], FREE_WRITE);
skb1261drivers/net/de4x5.clp->skb[entry] = NULL;
skb1367drivers/net/de4x5.cstatic void load_packet(struct device *dev, char *buf, u32 flags, struct sk_buff *skb)
skb1374drivers/net/de4x5.clp->skb[lp->tx_new] = skb;
skb2470drivers/net/de4x5.cstruct sk_buff *skb;
skb2472drivers/net/de4x5.cif ((skb = alloc_skb(0, GFP_ATOMIC)) != NULL) {
skb2473drivers/net/de4x5.cskb->len= FAKE_FRAME_LEN;
skb2474drivers/net/de4x5.cskb->arp=1;
skb2475drivers/net/de4x5.cskb->dev=dev;
skb2476drivers/net/de4x5.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb250drivers/net/de600.cstatic int  de600_start_xmit(struct sk_buff *skb, struct device *dev);
skb404drivers/net/de600.cde600_start_xmit(struct sk_buff *skb, struct device *dev)
skb409drivers/net/de600.cbyte  *buffer = skb->data;
skb417drivers/net/de600.cif (skb == NULL) {
skb441drivers/net/de600.cPRINTK(("de600_start_xmit:len=%d, page %d/%d\n", skb->len, tx_fifo_in, free_tx_pages));
skb443drivers/net/de600.cif ((len = skb->len) < RUNT)
skb483drivers/net/de600.cif (skb->sk && (skb->sk->protocol == IPPROTO_TCP) &&
skb484drivers/net/de600.c(skb->sk->prot->rspace != &de600_rspace))
skb485drivers/net/de600.cskb->sk->prot->rspace = de600_rspace; /* Ugh! */
skb488drivers/net/de600.cdev_kfree_skb (skb, FREE_WRITE);
skb587drivers/net/de600.cstruct sk_buff  *skb;
skb612drivers/net/de600.cskb = dev_alloc_skb(size+2);
skb614drivers/net/de600.cif (skb == NULL) {
skb621drivers/net/de600.cskb->dev = dev;
skb622drivers/net/de600.cskb_reserve(skb,2);  /* Align */
skb625drivers/net/de600.cbuffer = skb_put(skb,size);
skb634drivers/net/de600.cskb->protocol=eth_type_trans(skb,dev);
skb636drivers/net/de600.cnetif_rx(skb);
skb485drivers/net/de620.cde620_start_xmit(struct sk_buff *skb, struct device *dev)
skb490drivers/net/de620.cbyte *buffer = skb->data;
skb499drivers/net/de620.cif (skb == NULL) {
skb524drivers/net/de620.cif ((len = skb->len) < RUNT)
skb534drivers/net/de620.c(int)skb->len, using_txbuf));
skb564drivers/net/de620.cdev_kfree_skb (skb, FREE_WRITE);
skb626drivers/net/de620.cstruct sk_buff *skb;
skb681drivers/net/de620.cskb = dev_alloc_skb(size+2);
skb682drivers/net/de620.cif (skb == NULL) { /* Yeah, but no place to put it... */
skb688drivers/net/de620.cskb_reserve(skb,2);  /* Align */
skb689drivers/net/de620.cskb->dev = dev;
skb690drivers/net/de620.cskb->free = 1;
skb692drivers/net/de620.cbuffer = skb_put(skb,size);
skb696drivers/net/de620.cskb->protocol=eth_type_trans(skb,dev);
skb697drivers/net/de620.cnetif_rx(skb); /* deliver it "upstairs" */
skb368drivers/net/depca.cstatic int    depca_start_xmit(struct sk_buff *skb, struct device *dev);
skb393drivers/net/depca.cstatic int    load_packet(struct device *dev, struct sk_buff *skb);
skb811drivers/net/depca.cdepca_start_xmit(struct sk_buff *skb, struct device *dev)
skb836drivers/net/depca.c} else if (skb == NULL) {
skb838drivers/net/depca.c} else if (skb->len > 0) {
skb845drivers/net/depca.cstatus = load_packet(dev, skb);
skb853drivers/net/depca.cdev_kfree_skb(skb, FREE_WRITE);
skb944drivers/net/depca.cstruct sk_buff *skb;
skb946drivers/net/depca.cskb = dev_alloc_skb(pkt_len+2);
skb947drivers/net/depca.cif (skb != NULL) {
skb949drivers/net/depca.cskb_reserve(skb,2);  /* 16 byte align the IP header */
skb950drivers/net/depca.cbuf = skb_put(skb,pkt_len);
skb951drivers/net/depca.cskb->dev = dev;
skb964drivers/net/depca.cskb->protocol=eth_type_trans(skb,dev);
skb965drivers/net/depca.cnetif_rx(skb);
skb1565drivers/net/depca.cstatic int load_packet(struct device *dev, struct sk_buff *skb)
skb1571drivers/net/depca.cend = (entry + (skb->len - 1) / TX_BUFF_SZ) & lp->txRingMask;
skb1579drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[entry], skb->data, len);
skb1580drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[0], skb->data + len, skb->len - len);
skb1582drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[entry], skb->data, skb->len);
skb1586drivers/net/depca.clen = (skb->len < ETH_ZLEN) ? ETH_ZLEN : skb->len;
skb59drivers/net/dummy.cstatic int dummy_xmit(struct sk_buff *skb, struct device *dev);
skb107drivers/net/dummy.cdummy_xmit(struct sk_buff *skb, struct device *dev)
skb113drivers/net/dummy.cif (skb == NULL || dev == NULL)
skb116drivers/net/dummy.cdev_kfree_skb(skb, FREE_WRITE);
skb145drivers/net/eepro.cstatic int  eepro_send_packet(struct sk_buff *skb, struct device *dev);
skb604drivers/net/eepro.ceepro_send_packet(struct sk_buff *skb, struct device *dev)
skb642drivers/net/eepro.cif (skb == NULL) {
skb651drivers/net/eepro.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb652drivers/net/eepro.cunsigned char *buf = skb->data;
skb658drivers/net/eepro.cdev_kfree_skb (skb, FREE_WRITE);
skb1046drivers/net/eepro.cstruct sk_buff *skb;
skb1049drivers/net/eepro.cskb = dev_alloc_skb(rcv_size+2);
skb1050drivers/net/eepro.cif (skb == NULL) {
skb1055drivers/net/eepro.cskb->dev = dev;
skb1056drivers/net/eepro.cskb_reserve(skb,2);
skb1058drivers/net/eepro.cinsw(ioaddr+IO_PORT, skb_put(skb,rcv_size), (rcv_size + 1) >> 1);
skb1060drivers/net/eepro.cskb->protocol = eth_type_trans(skb,dev);  
skb1061drivers/net/eepro.cnetif_rx(skb);
skb292drivers/net/eexpress.cstatic int  eexp_send_packet(struct sk_buff *skb, struct device *dev);
skb452drivers/net/eexpress.ceexp_send_packet(struct sk_buff *skb, struct device *dev)
skb487drivers/net/eexpress.cif (skb == NULL) {
skb496drivers/net/eexpress.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb497drivers/net/eexpress.cunsigned char *buf = skb->data;
skb507drivers/net/eexpress.cdev_kfree_skb (skb, FREE_WRITE);
skb941drivers/net/eexpress.cstruct sk_buff *skb;
skb944drivers/net/eexpress.cskb = dev_alloc_skb(pkt_len+2);
skb945drivers/net/eexpress.cif (skb == NULL) {
skb950drivers/net/eexpress.cskb->dev = dev;
skb951drivers/net/eexpress.cskb_reserve(skb,2);
skb955drivers/net/eexpress.cinsw(ioaddr, skb_put(skb,pkt_len), (pkt_len + 1) >> 1);
skb957drivers/net/eexpress.cskb->protocol=eth_type_trans(skb,dev);
skb958drivers/net/eexpress.cnetif_rx(skb);
skb144drivers/net/eql.cstatic int eql_slave_xmit(struct sk_buff *skb, struct device *dev); /*  */
skb147drivers/net/eql.cstatic int eql_header(struct sk_buff *skb, struct device *dev, 
skb151drivers/net/eql.cunsigned long raddr, struct sk_buff *skb); /*  */
skb345drivers/net/eql.ceql_slave_xmit(struct sk_buff *skb, struct device *dev)
skb351drivers/net/eql.cif (skb == NULL)
skb366drivers/net/eql.cdev->name, eql_number_slaves (eql->queue), skb->len,
skb370drivers/net/eql.cdev_queue_xmit (skb, slave_dev, 1);
skb372drivers/net/eql.cslave->bytes_queued += skb->len; 
skb380drivers/net/eql.cdev_kfree_skb(skb, FREE_WRITE);
skb398drivers/net/eql.ceql_header(struct sk_buff *skb, struct device *dev, 
skb409drivers/net/eql.cunsigned long raddr, struct sk_buff *skb)
skb292drivers/net/ewrk3.cstatic int ewrk3_queue_pkt(struct sk_buff *skb, struct device *dev);
skb760drivers/net/ewrk3.cewrk3_queue_pkt(struct sk_buff *skb, struct device *dev)
skb796drivers/net/ewrk3.c} else if (skb == NULL) {
skb798drivers/net/ewrk3.c} else if (skb->len > 0) {
skb848drivers/net/ewrk3.cunsigned char *p = skb->data;
skb851drivers/net/ewrk3.coutb((char)(skb->len & 0xff), EWRK3_DATA);
skb852drivers/net/ewrk3.coutb((char)((skb->len >> 8) & 0xff), EWRK3_DATA);
skb854drivers/net/ewrk3.cfor (i=0; i<skb->len; i++) {
skb860drivers/net/ewrk3.c*buf++ = (char)(skb->len & 0xff);         /* length (16 bit xfer)*/
skb862drivers/net/ewrk3.c*buf++ = (char)(((skb->len >> 8) & 0xff) | XCT);
skb864drivers/net/ewrk3.c*(buf + skb->len) = 0x00;               /* Write the XCT flag */
skb865drivers/net/ewrk3.cmemcpy(buf, skb->data, PRELOAD);        /* Write PRELOAD bytes */
skb867drivers/net/ewrk3.cmemcpy(buf + PRELOAD, skb->data + PRELOAD, skb->len - PRELOAD);
skb868drivers/net/ewrk3.c*(buf + skb->len) = 0xff;               /* Write the XCT flag */
skb870drivers/net/ewrk3.c*buf++ = (char)((skb->len >> 8) & 0xff);
skb872drivers/net/ewrk3.cmemcpy(buf, skb->data, skb->len);       /* Write data bytes */
skb879drivers/net/ewrk3.cdev_kfree_skb (skb, FREE_WRITE);
skb1036drivers/net/ewrk3.cstruct sk_buff *skb;
skb1038drivers/net/ewrk3.cif ((skb = dev_alloc_skb(pkt_len+2)) != NULL) {
skb1040drivers/net/ewrk3.cskb->dev = dev;
skb1041drivers/net/ewrk3.cskb_reserve(skb,2);    /* Align to 16 bytes */
skb1042drivers/net/ewrk3.cp = skb_put(skb,pkt_len);
skb1058drivers/net/ewrk3.cskb->protocol=eth_type_trans(skb,dev);
skb1059drivers/net/ewrk3.cnetif_rx(skb);
skb1071drivers/net/ewrk3.cbuf = skb->data;                  /* Look at the dest addr */
skb156drivers/net/hp100.cstatic int hp100_start_xmit( struct sk_buff *skb, struct device *dev );
skb445drivers/net/hp100.cstatic int hp100_start_xmit( struct sk_buff *skb, struct device *dev )
skb466drivers/net/hp100.cif ( ( i = ( hp100_inl( TX_MEM_FREE ) & ~0x7fffffff ) ) < skb -> len + 16 )
skb510drivers/net/hp100.cif ( skb == NULL )
skb516drivers/net/hp100.cif ( skb -> len <= 0 ) return 0;
skb529drivers/net/hp100.cprintk( "hp100_start_xmit: irq_status = 0x%x, len = %d\n", val, (int)skb -> len );
skb531drivers/net/hp100.cif ( skb -> len >= HP100_MIN_PACKET_SIZE )
skb533drivers/net/hp100.chp100_outw( skb -> len, DATA32 );    /* length to memory manager */
skb534drivers/net/hp100.chp100_outw( skb -> len, FRAGMENT_LEN );
skb535drivers/net/hp100.coutsl( ioaddr + HP100_REG_DATA32, skb -> data, ( skb -> len + 3 ) >> 2 );
skb542drivers/net/hp100.ci = skb -> len + 3;
skb543drivers/net/hp100.coutsl( ioaddr + HP100_REG_DATA32, skb -> data, i >> 2 );
skb552drivers/net/hp100.cdev_kfree_skb( skb, FREE_WRITE );
skb571drivers/net/hp100.cstruct sk_buff *skb;
skb606drivers/net/hp100.cskb = dev_alloc_skb(pkt_len);
skb607drivers/net/hp100.cif ( skb == NULL )
skb616drivers/net/hp100.cskb -> dev = dev;
skb617drivers/net/hp100.cinsl( ioaddr + HP100_REG_DATA32, skb_put(skb, pkt_len), ( pkt_len + 3 ) >> 2 );
skb618drivers/net/hp100.cskb->protocol=eth_type_trans(skb,dev);
skb619drivers/net/hp100.cnetif_rx( skb );
skb113drivers/net/ibmtr.cstatic int tok_send_packet(struct sk_buff *skb, struct device *dev);
skb1033drivers/net/ibmtr.cstruct sk_buff *skb;
skb1076drivers/net/ibmtr.cif(!(skb=dev_alloc_skb(ntohs(rec_req->frame_len)-lan_hdr_len+sizeof(struct trh_hdr)))) {
skb1084drivers/net/ibmtr.cskb_put(skb,ntohs(rec_req->frame_len)-lan_hdr_len+sizeof(struct trh_hdr));
skb1085drivers/net/ibmtr.cskb->dev=dev;
skb1092drivers/net/ibmtr.cdata=skb->data;
skb1122drivers/net/ibmtr.cskb->protocol=tr_type_trans(skb,dev);
skb1123drivers/net/ibmtr.cnetif_rx(skb);
skb1128drivers/net/ibmtr.cstatic int tok_send_packet(struct sk_buff *skb, struct device *dev) {
skb1149drivers/net/ibmtr.cif(skb==NULL) {
skb1159drivers/net/ibmtr.cti->current_skb=skb; /* save skb. We will need it when the adapter
skb258drivers/net/lance.cstatic int lance_start_xmit(struct sk_buff *skb, struct device *dev);
skb711drivers/net/lance.clance_start_xmit(struct sk_buff *skb, struct device *dev)
skb753drivers/net/lance.cif (skb == NULL) {
skb758drivers/net/lance.cif (skb->len <= 0)
skb793drivers/net/lance.c-(ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
skb795drivers/net/lance.clp->tx_ring[entry].length = -skb->len;
skb801drivers/net/lance.cif ((int)(skb->data) + skb->len > 0x01000000) {
skb804drivers/net/lance.cdev->name, (int)(skb->data));
skb805drivers/net/lance.cmemcpy(&lp->tx_bounce_buffs[entry], skb->data, skb->len);
skb808drivers/net/lance.cdev_kfree_skb (skb, FREE_WRITE);
skb810drivers/net/lance.clp->tx_skbuff[entry] = skb;
skb811drivers/net/lance.clp->tx_ring[entry].base = (int)(skb->data) | 0x83000000;
skb988drivers/net/lance.cstruct sk_buff *skb;
skb990drivers/net/lance.cskb = dev_alloc_skb(pkt_len+2);
skb991drivers/net/lance.cif (skb == NULL) {
skb1004drivers/net/lance.cskb->dev = dev;
skb1005drivers/net/lance.cskb_reserve(skb,2);  /* 16 byte align */
skb1006drivers/net/lance.cskb_put(skb,pkt_len);  /* Make room */
skb1007drivers/net/lance.ceth_copy_and_sum(skb,
skb1010drivers/net/lance.cskb->protocol=eth_type_trans(skb,dev);
skb1011drivers/net/lance.cnetif_rx(skb);
skb47drivers/net/loopback.cstatic int loopback_xmit(struct sk_buff *skb, struct device *dev)
skb53drivers/net/loopback.cif (skb == NULL || dev == NULL) 
skb72drivers/net/loopback.cif(skb->free==0)
skb74drivers/net/loopback.cstruct sk_buff *skb2=skb;
skb75drivers/net/loopback.cskb=skb_clone(skb, GFP_ATOMIC);    /* Clone the buffer */
skb76drivers/net/loopback.cif(skb==NULL)
skb81drivers/net/loopback.celse if(skb->sk)
skb89drivers/net/loopback.cskb->sk->wmem_alloc-=skb->truesize;
skb90drivers/net/loopback.cskb->sk->write_space(skb->sk);
skb94drivers/net/loopback.cskb->protocol=eth_type_trans(skb,dev);
skb95drivers/net/loopback.cskb->dev=dev;
skb98drivers/net/loopback.cnetif_rx(skb);
skb100drivers/net/loopback.cskb_device_unlock(skb);
skb792drivers/net/ni52.cstruct sk_buff *skb;
skb806drivers/net/ni52.cskb = (struct sk_buff *) dev_alloc_skb(totlen+2);
skb807drivers/net/ni52.cif(skb != NULL)
skb809drivers/net/ni52.cskb->dev = dev;
skb810drivers/net/ni52.cskb_reserve(skb,2);    /* 16 byte alignment */
skb811drivers/net/ni52.cmemcpy(skb_put(skb,totlen),(char *) p->base+(unsigned long) rbd->buffer, totlen);
skb812drivers/net/ni52.cskb->protocol=eth_type_trans(skb,dev);
skb813drivers/net/ni52.cnetif_rx(skb);
skb928drivers/net/ni52.cstatic int ni52_send_packet(struct sk_buff *skb, struct device *dev)
skb972drivers/net/ni52.cif(skb == NULL)
skb978drivers/net/ni52.cif (skb->len <= 0)
skb980drivers/net/ni52.cif(skb->len > XMIT_BUFF_SIZE)
skb982drivers/net/ni52.cprintk("%s: Sorry, max. framelength is %d bytes. The length of your frame is %ld bytes.\n",dev->name,XMIT_BUFF_SIZE,skb->len);
skb990drivers/net/ni52.cmemcpy((char *)p->xmit_cbuffs[p->xmit_count],(char *)(skb->data),skb->len);
skb991drivers/net/ni52.clen = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN;
skb1005drivers/net/ni52.cdev_kfree_skb(skb,FREE_WRITE);
skb1025drivers/net/ni52.cdev_kfree_skb(skb,FREE_WRITE);
skb1045drivers/net/ni52.cdev_kfree_skb(skb,FREE_WRITE);
skb120drivers/net/ni65.cstatic int   ni65_send_packet(struct sk_buff *skb, struct device *dev);
skb452drivers/net/ni65.cstruct sk_buff *skb;
skb462drivers/net/ni65.cskb = (struct sk_buff *) p->tmdbufs[p->tmdlast];
skb463drivers/net/ni65.cdev_kfree_skb(skb,FREE_WRITE); 
skb500drivers/net/ni65.cstruct sk_buff *skb,*skb1;
skb529drivers/net/ni65.cskb = dev_alloc_skb(R_BUF_SIZE);
skb530drivers/net/ni65.cif(skb != NULL)
skb532drivers/net/ni65.cif( (unsigned long) (skb->data + R_BUF_SIZE) & 0xff000000) {
skb533drivers/net/ni65.cmemcpy(skb_put(skb,len),p->recv_skb[p->rmdnum]->data,len);
skb534drivers/net/ni65.cskb1 = skb;
skb538drivers/net/ni65.cp->recv_skb[p->rmdnum] = skb;
skb564drivers/net/ni65.cstatic int ni65_send_packet(struct sk_buff *skb, struct device *dev)
skb581drivers/net/ni65.cif(skb == NULL)
skb587drivers/net/ni65.cif (skb->len <= 0)
skb602drivers/net/ni65.cshort len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb607drivers/net/ni65.ctmdp->u.buffer = (unsigned long) (skb->data);
skb608drivers/net/ni65.cp->tmdbufs[p->tmdnum] = skb;
skb610drivers/net/ni65.cmemcpy((char *) (tmdp->u.buffer & 0x00ffffff),(char *)skb->data,skb->len);
skb611drivers/net/ni65.cdev_kfree_skb (skb, FREE_WRITE);
skb152drivers/net/pi2.cstatic int pi_send_packet(struct sk_buff *skb, struct device *dev);
skb209drivers/net/pi2.cstatic void hardware_send_packet(struct pi_local *lp, struct sk_buff *skb)
skb221drivers/net/pi2.cskb_queue_tail(&lp->sndq, skb);
skb339drivers/net/pi2.cstatic void free_p(struct sk_buff *skb)
skb341drivers/net/pi2.cdev_kfree_skb(skb, FREE_WRITE);
skb511drivers/net/pi2.cstruct sk_buff *skb;
skb555drivers/net/pi2.cskb = dev_alloc_skb(sksize);
skb556drivers/net/pi2.cif (skb == NULL) {
skb562drivers/net/pi2.cskb->dev = dev;
skb565drivers/net/pi2.ccfix=skb_put(skb,pkt_len);
skb570drivers/net/pi2.cskb->protocol=htons(ETH_P_AX25);
skb571drivers/net/pi2.cskb->mac.raw=skb->data;
skb572drivers/net/pi2.cIS_SKB(skb);
skb573drivers/net/pi2.cnetif_rx(skb);
skb586drivers/net/pi2.cstruct sk_buff *skb;
skb644drivers/net/pi2.cskb = dev_alloc_skb(sksize);
skb645drivers/net/pi2.cif (skb == NULL) {
skb651drivers/net/pi2.cskb->dev = dev;
skb654drivers/net/pi2.ccfix=skb_put(skb,pkt_len);
skb658drivers/net/pi2.cskb->protocol=ntohs(ETH_P_AX25);
skb659drivers/net/pi2.cIS_SKB(skb);
skb660drivers/net/pi2.cnetif_rx(skb);
skb1077drivers/net/pi2.cstatic int pi_header(struct sk_buff *skb, struct device *dev, unsigned short type,
skb1080drivers/net/pi2.creturn ax25_encapsulate(skb, dev, type, daddr, saddr, len);
skb1085drivers/net/pi2.cstruct sk_buff *skb)
skb1087drivers/net/pi2.creturn ax25_rebuild_header(buff, dev, raddr, skb);
skb1497drivers/net/pi2.cstatic int pi_send_packet(struct sk_buff *skb, struct device *dev)
skb1504drivers/net/pi2.cif (skb == NULL) {
skb1508drivers/net/pi2.chardware_send_packet(lp, skb);
skb133drivers/net/plip.cunsigned long raddr, struct sk_buff *skb);
skb134drivers/net/plip.cstatic int plip_tx_packet(struct sk_buff *skb, struct device *dev);
skb184drivers/net/plip.cstruct sk_buff *skb;
skb199drivers/net/plip.cunsigned long raddr, struct sk_buff *skb);
skb398drivers/net/plip.cif (rcv->skb) {
skb399drivers/net/plip.crcv->skb->free = 1;
skb400drivers/net/plip.ckfree_skb(rcv->skb, FREE_READ);
skb401drivers/net/plip.crcv->skb = NULL;
skb404drivers/net/plip.cif (snd->skb) {
skb405drivers/net/plip.cdev_kfree_skb(snd->skb, FREE_WRITE);
skb406drivers/net/plip.csnd->skb = NULL;
skb525drivers/net/plip.crcv->skb = dev_alloc_skb(rcv->length.h);
skb526drivers/net/plip.cif (rcv->skb == NULL) {
skb530drivers/net/plip.cskb_put(rcv->skb,rcv->length.h);
skb531drivers/net/plip.crcv->skb->dev = dev;
skb537drivers/net/plip.clbuf = rcv->skb->data;
skb562drivers/net/plip.crcv->skb->protocol=eth_type_trans(rcv->skb, dev);
skb563drivers/net/plip.cnetif_rx(rcv->skb);
skb565drivers/net/plip.crcv->skb = NULL;
skb648drivers/net/plip.cif (snd->skb == NULL || (lbuf = snd->skb->data) == NULL) {
skb651drivers/net/plip.csnd->skb = NULL;
skb720drivers/net/plip.cdev_kfree_skb(snd->skb, FREE_WRITE);
skb727drivers/net/plip.csnd->skb = NULL;
skb836drivers/net/plip.cstruct sk_buff *skb)
skb843drivers/net/plip.creturn nl->orig_rebuild_header(buff, dev, dst, skb);
skb858drivers/net/plip.cplip_tx_packet(struct sk_buff *skb, struct device *dev)
skb869drivers/net/plip.cif (skb == NULL) {
skb879drivers/net/plip.cif (skb->len > dev->mtu) {
skb880drivers/net/plip.cprintk("%s: packet too big, %d.\n", dev->name, (int)skb->len);
skb890drivers/net/plip.csnd->skb = skb;
skb891drivers/net/plip.csnd->length.h = skb->len;
skb937drivers/net/plip.cnl->rcv_data.skb = nl->snd_data.skb = NULL;
skb972drivers/net/plip.cif (snd->skb) {
skb973drivers/net/plip.cdev_kfree_skb(snd->skb, FREE_WRITE);
skb974drivers/net/plip.csnd->skb = NULL;
skb977drivers/net/plip.cif (rcv->skb) {
skb978drivers/net/plip.crcv->skb->free = 1;
skb979drivers/net/plip.ckfree_skb(rcv->skb, FREE_READ);
skb980drivers/net/plip.crcv->skb = NULL;
skb124drivers/net/ppp.cstatic void ppp_add_arp(unsigned long addr, struct sk_buff *skb,
skb1084drivers/net/ppp.cstruct sk_buff *skb;
skb1153drivers/net/ppp.cskb=dev_alloc_skb(count);
skb1154drivers/net/ppp.cif(skb)
skb1156drivers/net/ppp.cskb->mac.raw=skb->data;
skb1157drivers/net/ppp.cmemcpy(skb_put(skb,count), c,count);
skb1158drivers/net/ppp.cskb->protocol=htons(ETH_P_IP);
skb1159drivers/net/ppp.cskb->dev=ppp->dev;
skb1160drivers/net/ppp.cnetif_rx(skb);
skb1702drivers/net/ppp.cppp_xmit(struct sk_buff *skb, struct device *dev)
skb1711drivers/net/ppp.cif (skb == NULL) {
skb1719drivers/net/ppp.cp     = skb->data;
skb1720drivers/net/ppp.clen   = skb->len;
skb1724drivers/net/ppp.c(unsigned long int) skb, ppp->sending));
skb1728drivers/net/ppp.cdev_kfree_skb(skb, FREE_WRITE);
skb1751drivers/net/ppp.clen = ntohs( ((struct iphdr *)(skb->data)) -> tot_len );
skb1793drivers/net/ppp.cstruct iphdr *iph = (struct iphdr *)skb->data;
skb1840drivers/net/ppp.cdev_kfree_skb(skb, FREE_WRITE);
skb1859drivers/net/ppp.cppp_add_arp(unsigned long addr, struct sk_buff *skb, struct device *dev)
skb1866drivers/net/ppp.cppp_header(struct sk_buff *skb, struct device *dev, unsigned short type,
skb1874drivers/net/ppp.cstruct sk_buff *skb)
skb89drivers/net/seeq8005.cstatic int seeq8005_send_packet(struct sk_buff *skb, struct device *dev);
skb377drivers/net/seeq8005.cseeq8005_send_packet(struct sk_buff *skb, struct device *dev)
skb398drivers/net/seeq8005.cif (skb == NULL) {
skb408drivers/net/seeq8005.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb409drivers/net/seeq8005.cunsigned char *buf = skb->data;
skb414drivers/net/seeq8005.cdev_kfree_skb (skb, FREE_WRITE);
skb536drivers/net/seeq8005.cstruct sk_buff *skb;
skb539drivers/net/seeq8005.cskb = dev_alloc_skb(pkt_len);
skb540drivers/net/seeq8005.cif (skb == NULL) {
skb545drivers/net/seeq8005.cskb->dev = dev;
skb546drivers/net/seeq8005.cskb_reserve(skb, 2);  /* align data on 16 byte */
skb547drivers/net/seeq8005.cbuf = skb_put(skb,pkt_len);
skb560drivers/net/seeq8005.cskb->protocol=eth_type_trans(skb,dev);
skb561drivers/net/seeq8005.cnetif_rx(skb);
skb489drivers/net/sk_g16.cstatic int   SK_send_packet(struct sk_buff *skb, struct device *dev);
skb1193drivers/net/sk_g16.cstatic int SK_send_packet(struct sk_buff *skb, struct device *dev)
skb1224drivers/net/sk_g16.cif (skb == NULL)
skb1250drivers/net/sk_g16.cshort len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; 
skb1258drivers/net/sk_g16.cmemcpy((char *) (tmdp->u.buffer & 0x00ffffff), (char *)skb->data,
skb1259drivers/net/sk_g16.cskb->len);
skb1290drivers/net/sk_g16.cdev_kfree_skb(skb, FREE_WRITE);
skb1571drivers/net/sk_g16.cstruct sk_buff *skb;
skb1573drivers/net/sk_g16.cskb = dev_alloc_skb(len+2); /* allocate socket buffer */ 
skb1575drivers/net/sk_g16.cif (skb == NULL)                /* Could not get mem ? */
skb1593drivers/net/sk_g16.cskb->dev = dev;
skb1594drivers/net/sk_g16.cskb_reserve(skb,2);    /* Align IP header on 16 byte boundary */
skb1603drivers/net/sk_g16.cmemcpy(skb_put(skb,len), (unsigned char *) (rmdp->u.buffer & 0x00ffffff),
skb1614drivers/net/sk_g16.cskb->protocol=eth_type_trans(skb,dev);
skb1615drivers/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);
skb417drivers/net/skeleton.cstruct sk_buff *skb;
skb419drivers/net/skeleton.cskb = dev_alloc_skb(pkt_len);
skb420drivers/net/skeleton.cif (skb == NULL) {
skb425drivers/net/skeleton.cskb->dev = dev;
skb428drivers/net/skeleton.cmemcpy(skb_put(skb,pkt_len), (void*)dev->rmem_start,
skb431drivers/net/skeleton.cinsw(ioaddr, skb->data, (pkt_len + 1) >> 1);
skb433drivers/net/skeleton.cnetif_rx(skb);
skb280drivers/net/slip.cstruct sk_buff *skb;
skb317drivers/net/slip.cskb = dev_alloc_skb(count);
skb318drivers/net/slip.cif (skb == NULL)  {
skb323drivers/net/slip.cskb->dev = sl->dev;
skb324drivers/net/slip.cmemcpy(skb_put(skb,count), sl->rbuff, count);
skb325drivers/net/slip.cskb->mac.raw=skb->data;
skb327drivers/net/slip.cskb->protocol=htons(ETH_P_AX25);
skb329drivers/net/slip.cskb->protocol=htons(ETH_P_IP);
skb330drivers/net/slip.cnetif_rx(skb);
skb419drivers/net/slip.csl_xmit(struct sk_buff *skb, struct device *dev)
skb458drivers/net/slip.cif (skb != NULL) {
skb460drivers/net/slip.csl_encaps(sl, skb->data, skb->len);
skb461drivers/net/slip.cdev_kfree_skb(skb, FREE_WRITE);
skb471drivers/net/slip.csl_header(struct sk_buff *skb, struct device *dev, unsigned short type,
skb479drivers/net/slip.creturn ax25_encapsulate(skb, dev, type, daddr, saddr, len);
skb490drivers/net/slip.cstruct sk_buff *skb)
skb497drivers/net/slip.creturn ax25_rebuild_header(buff, dev, raddr, skb);
skb160drivers/net/tulip.cstatic int tulip_start_xmit(struct sk_buff *skb, struct device *dev);
skb376drivers/net/tulip.ctulip_start_xmit(struct sk_buff *skb, struct device *dev)
skb406drivers/net/tulip.cif (skb == NULL || skb->len <= 0) {
skb428drivers/net/tulip.ctp->tx_skbuff[entry] = skb;
skb429drivers/net/tulip.ctp->tx_ring[entry].length = skb->len |
skb431drivers/net/tulip.ctp->tx_ring[entry].buffer1 = skb->data;
skb601drivers/net/tulip.cstruct sk_buff *skb;
skb603drivers/net/tulip.cskb = dev_alloc_skb(pkt_len+2);
skb604drivers/net/tulip.cif (skb == NULL) {
skb619drivers/net/tulip.cskb->dev = dev;
skb620drivers/net/tulip.cskb_reserve(skb,2);  /* 16 byte align the data fields */
skb621drivers/net/tulip.cmemcpy(skb_put(skb,pkt_len), lp->rx_ring[entry].buffer1, pkt_len);
skb622drivers/net/tulip.cskb->protocol=eth_type_trans(skb,dev);
skb623drivers/net/tulip.cnetif_rx(skb);
skb46drivers/net/tunnel.cstatic int tunnel_xmit(struct sk_buff *skb, struct device *dev);
skb120drivers/net/tunnel.cstatic int tunnel_xmit(struct sk_buff *skb, struct device *dev)
skb131drivers/net/tunnel.cif (skb == NULL || dev == NULL)
skb156drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb161drivers/net/tunnel.ciph=(struct iphdr *)skb->data;
skb168drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb185drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb192drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb206drivers/net/tunnel.cnewlen = (skb->len + ip_header_len);
skb210drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb220drivers/net/tunnel.cmemcpy(skb2->h.iph, skb->data, ip_header_len );
skb221drivers/net/tunnel.cmemcpy(skb2->data + ip_header_len, skb->data, skb->len);
skb223drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb1382drivers/net/wavelan.cwavelan_send_packet(struct sk_buff *skb, device *dev)
skb1423drivers/net/wavelan.cif (skb == (struct sk_buff *)0)
skb1437drivers/net/wavelan.clength = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN;
skb1438drivers/net/wavelan.cbuf = skb->data;
skb1445drivers/net/wavelan.cdev_kfree_skb(skb, FREE_WRITE);
skb1490drivers/net/wavelan.cstruct sk_buff  *skb;
skb1633drivers/net/wavelan.cif ((skb = dev_alloc_skb(sksize)) == (struct sk_buff *)0)
skb1640drivers/net/wavelan.cskb->dev = dev;
skb1642drivers/net/wavelan.cobram_read(ioaddr, rbd.rbd_bufl, skb_put(skb,pkt_len), pkt_len);
skb1658drivers/net/wavelan.cc = skb->data[i];
skb1660drivers/net/wavelan.cprintk(" %c", skb->data[i]);
skb1662drivers/net/wavelan.cprintk("%02x", skb->data[i]);
skb1671drivers/net/wavelan.cskb->protocol=eth_type_trans(skb,dev);
skb1672drivers/net/wavelan.cnetif_rx(skb);
skb184drivers/net/znet.cstatic int  znet_send_packet(struct sk_buff *skb, struct device *dev);
skb317drivers/net/znet.cstatic int znet_send_packet(struct sk_buff *skb, struct device *dev)
skb343drivers/net/znet.cif (skb == NULL) {
skb360drivers/net/znet.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb361drivers/net/znet.cunsigned char *buf = (void *)skb->data;
skb386drivers/net/znet.cmemcpy(zn.tx_cur, buf, skb->len);
skb400drivers/net/znet.cdev_kfree_skb(skb, FREE_WRITE); 
skb549drivers/net/znet.cstruct sk_buff *skb;
skb551drivers/net/znet.cskb = dev_alloc_skb(pkt_len);
skb552drivers/net/znet.cif (skb == NULL) {
skb558drivers/net/znet.cskb->dev = dev;
skb562drivers/net/znet.cmemcpy(skb_put(skb,semi_cnt), zn.rx_cur, semi_cnt);
skb563drivers/net/znet.cmemcpy(skb_put(skb,pkt_len-semi_cnt), zn.rx_start,
skb566drivers/net/znet.cmemcpy(skb_put(skb,pkt_len), zn.rx_cur, pkt_len);
skb568drivers/net/znet.cunsigned int *packet = (unsigned int *) skb->data;
skb573drivers/net/znet.cskb->protocol=eth_type_trans(skb,dev);
skb574drivers/net/znet.cnetif_rx(skb);
skb141include/linux/atalk.hextern int aarp_send_ddp(struct device *dev,struct sk_buff *skb, struct at_addr *sa, void *hwaddr);
skb31include/linux/etherdevice.hextern int    eth_header(struct sk_buff *skb, struct device *dev,
skb35include/linux/etherdevice.hunsigned long dst, struct sk_buff *skb);
skb36include/linux/etherdevice.hextern unsigned short  eth_type_trans(struct sk_buff *skb, struct device *dev);
skb144include/linux/netdevice.hint        (*hard_start_xmit) (struct sk_buff *skb,
skb146include/linux/netdevice.hint        (*hard_header) (struct sk_buff *skb,
skb153include/linux/netdevice.hunsigned long raddr, struct sk_buff *skb);
skb202include/linux/netdevice.hextern void    dev_queue_xmit(struct sk_buff *skb, struct device *dev,
skb205include/linux/netdevice.hextern void    netif_rx(struct sk_buff *skb);
skb117include/linux/skbuff.hextern void      kfree_skb(struct sk_buff *skb, int rw);
skb128include/linux/skbuff.hextern void      kfree_skbmem(struct sk_buff *skb);
skb129include/linux/skbuff.hextern struct sk_buff *    skb_clone(struct sk_buff *skb, int priority);
skb130include/linux/skbuff.hextern void      skb_device_lock(struct sk_buff *skb);
skb131include/linux/skbuff.hextern void      skb_device_unlock(struct sk_buff *skb);
skb132include/linux/skbuff.hextern void      dev_kfree_skb(struct sk_buff *skb, int mode);
skb133include/linux/skbuff.hextern int      skb_device_locked(struct sk_buff *skb);
skb134include/linux/skbuff.hextern unsigned char *    skb_put(struct sk_buff *skb, int len);
skb135include/linux/skbuff.hextern unsigned char *    skb_push(struct sk_buff *skb, int len);
skb136include/linux/skbuff.hextern int      skb_pull(struct sk_buff *skb, int len);
skb137include/linux/skbuff.hextern int      skb_headroom(struct sk_buff *skb);
skb138include/linux/skbuff.hextern int      skb_tailroom(struct sk_buff *skb);
skb139include/linux/skbuff.hextern void      skb_reserve(struct sk_buff *skb, int len);
skb140include/linux/skbuff.hextern void       skb_trim(struct sk_buff *skb, int len);
skb155include/linux/skbuff.hextern int       skb_check(struct sk_buff *skb,int,int, char *);
skb156include/linux/skbuff.h#define IS_SKB(skb)    skb_check((skb), 0, __LINE__,__FILE__)
skb157include/linux/skbuff.h#define IS_SKB_HEAD(skb)  skb_check((skb), 1, __LINE__,__FILE__)
skb159include/linux/skbuff.h#define IS_SKB(skb)    
skb160include/linux/skbuff.h#define IS_SKB_HEAD(skb)  
skb287include/linux/skbuff.hextern __inline__ void skb_unlink(struct sk_buff *skb)
skb294include/linux/skbuff.hif(skb->prev && skb->next)
skb296include/linux/skbuff.hskb->next->prev = skb->prev;
skb297include/linux/skbuff.hskb->prev->next = skb->next;
skb298include/linux/skbuff.hskb->next = NULL;
skb299include/linux/skbuff.hskb->prev = NULL;
skb308include/linux/skbuff.hextern __inline__ unsigned char *skb_put(struct sk_buff *skb, int len)
skb310include/linux/skbuff.hunsigned char *tmp=skb->tail;
skb311include/linux/skbuff.hskb->tail+=len;
skb312include/linux/skbuff.hskb->len+=len;
skb313include/linux/skbuff.hif(skb->tail>skb->end)
skb318include/linux/skbuff.hextern __inline__ unsigned char *skb_push(struct sk_buff *skb, int len)
skb320include/linux/skbuff.hskb->data-=len;
skb321include/linux/skbuff.hskb->len+=len;
skb322include/linux/skbuff.hif(skb->data<skb->head)
skb324include/linux/skbuff.hreturn skb->data;
skb327include/linux/skbuff.hextern __inline__ int skb_pull(struct sk_buff *skb, int len)
skb329include/linux/skbuff.hif(len>skb->len)
skb330include/linux/skbuff.hlen=skb->len;
skb331include/linux/skbuff.hskb->data+=len;
skb332include/linux/skbuff.hskb->len-=len;
skb336include/linux/skbuff.hextern __inline__ int skb_headroom(struct sk_buff *skb)
skb338include/linux/skbuff.hreturn skb->data-skb->head;
skb341include/linux/skbuff.hextern __inline__ int skb_tailroom(struct sk_buff *skb)
skb343include/linux/skbuff.hreturn skb->end-skb->tail;
skb346include/linux/skbuff.hextern __inline__ void skb_reserve(struct sk_buff *skb, int len)
skb348include/linux/skbuff.hskb->data+=len;
skb349include/linux/skbuff.hskb->tail+=len;
skb352include/linux/skbuff.hextern __inline__ void skb_trim(struct sk_buff *skb, int len)
skb354include/linux/skbuff.hif(skb->len>len)
skb356include/linux/skbuff.hskb->len=len;
skb357include/linux/skbuff.hskb->tail=skb->data+len;
skb366include/linux/skbuff.hextern void      skb_free_datagram(struct sk_buff *skb);
skb31include/linux/trdevice.hextern int    tr_header(struct sk_buff *skb, struct device *dev,
skb35include/linux/trdevice.hunsigned long raddr, struct sk_buff *skb);
skb36include/linux/trdevice.hextern unsigned short  tr_type_trans(struct sk_buff *skb, struct device *dev);
skb8include/net/arp.hextern int  arp_rcv(struct sk_buff *skb, struct device *dev,
skb12include/net/arp.hstruct device *dev, u32 saddr, struct sk_buff *skb);
skb27include/net/eth.hextern int    eth_header(struct sk_buff *skb, struct device *dev,
skb31include/net/eth.hunsigned long dst, struct sk_buff *skb);
skb32include/net/eth.hextern void    eth_add_arp(unsigned long addr, struct sk_buff *skb,
skb34include/net/eth.hextern unsigned short  eth_type_trans(struct sk_buff *skb, struct device *dev);
skb55include/net/ip.hstruct sk_buff *skb;      /* complete received fragment    */
skb82include/net/ip.hextern int    ip_build_header(struct sk_buff *skb,
skb89include/net/ip.hextern int    ip_rcv(struct sk_buff *skb, struct device *dev,
skb91include/net/ip.hextern int    ip_forward(struct sk_buff *skb, struct device *dev, int is_frag, unsigned long target_addr, int target_strict);           
skb95include/net/ip.hstruct device *dev, struct sk_buff *skb,
skb1include/net/ipip.hextern int ipip_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, 
skb48include/net/ipx.hextern int ipx_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt);
skb31include/net/protocol.hint      (*handler)(struct sk_buff *skb, struct device *dev,
skb35include/net/protocol.hint      (*frag_handler)(struct sk_buff *skb, struct device *dev,
skb6include/net/rarp.hextern int rarp_rcv(struct sk_buff *skb, 
skb216include/net/sock.hvoid      (*wfree)(struct sock *sk, struct sk_buff *skb);
skb217include/net/sock.hvoid      (*rfree)(struct sock *sk, struct sk_buff *skb);
skb233include/net/sock.hint      (*build_header)(struct sk_buff *skb,
skb242include/net/sock.hstruct device *dev, struct sk_buff *skb,
skb304include/net/sock.hextern void      sock_wfree(struct sock *sk, struct sk_buff *skb);
skb305include/net/sock.hextern void      sock_rfree(struct sock *sk, struct sk_buff *skb);
skb312include/net/sock.hextern struct sk_buff     *sock_alloc_send_skb(struct sock *skb, unsigned long size, int noblock, int *errcode);
skb322include/net/sock.hextern __inline__ int sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
skb325include/net/sock.hif(sk->rmem_alloc + skb->truesize >= sk->rcvbuf)
skb329include/net/sock.hsk->rmem_alloc+=skb->truesize;
skb330include/net/sock.hskb->sk=sk;
skb332include/net/sock.hskb_queue_tail(&sk->receive_queue,skb);
skb334include/net/sock.hsk->data_ready(sk,skb->len);
skb129include/net/tcp.hextern int  tcp_rcv(struct sk_buff *skb, struct device *dev,
skb45include/net/udp.hextern int  udp_rcv(struct sk_buff *skb, struct device *dev,
skb6net/802/llc.cint llc_rx_adm(struct sock *sk,struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
skb36net/802/llc.cint llc_rx_setup(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
skb70net/802/llc.cint llc_rx_reset(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
skb114net/802/llc.cint llc_rx_d_conn(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
skb150net/802/llc.cint llc_rx_error(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
skb199net/802/llc.cint llc_rx_nr_shared(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
skb288net/802/llc.cint llc_rx_normal(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
skb290net/802/llc.cif(llc_rx_nr_shared(sk, skb, type, cmd, pf, nr, ns))
skb364net/802/llc.cllc_queue_data(sk,skb);
skb30net/802/p8022.cp8022_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb34net/802/p8022.cproto = find_8022_client(*(skb->h.raw));
skb36net/802/p8022.cskb->h.raw += 3;
skb37net/802/p8022.cskb_pull(skb,3);
skb38net/802/p8022.creturn proto->rcvfunc(skb, dev, pt);
skb41net/802/p8022.cskb->sk = NULL;
skb42net/802/p8022.ckfree_skb(skb, FREE_READ);
skb48net/802/p8022.cstruct sk_buff *skb, unsigned char *dest_node)
skb50net/802/p8022.cstruct device  *dev = skb->dev;
skb51net/802/p8022.cunsigned long  len = skb->len;
skb55net/802/p8022.cdev->hard_header(skb, dev, len - hard_len,
skb57net/802/p8022.crawp = skb_push(skb,3);
skb64net/802/p8022.cskb->h.raw = rawp;
skb9net/802/p8023.cstruct sk_buff *skb, unsigned char *dest_node)
skb11net/802/p8023.cstruct device  *dev = skb->dev;
skb12net/802/p8023.cunsigned long  len = skb->len;
skb15net/802/p8023.cdev->hard_header(skb, dev, len - hard_len,
skb17net/802/p8023.cskb->h.raw = skb->data + hard_len;
skb40net/802/psnap.cint snap_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb53net/802/psnap.cproto = find_snap_client(skb->h.raw);
skb60net/802/psnap.cskb->h.raw += 5;
skb61net/802/psnap.cskb_pull(skb,5);
skb64net/802/psnap.creturn proto->rcvfunc(skb, dev, &psnap_packet_type);
skb66net/802/psnap.cskb->sk = NULL;
skb67net/802/psnap.ckfree_skb(skb, FREE_READ);
skb75net/802/psnap.cstatic void snap_datalink_header(struct datalink_proto *dl, struct sk_buff *skb, unsigned char *dest_node)
skb79net/802/psnap.crawp = skb_push(skb,5);
skb81net/802/psnap.cskb->h.raw = rawp+5;
skb82net/802/psnap.csnap_dl->datalink_header(snap_dl, skb, dest_node);
skb41net/802/tr.cint tr_header(struct sk_buff *skb, struct device *dev, unsigned short type,
skb45net/802/tr.cstruct trh_hdr *trh=(struct trh_hdr *)skb_push(skb,dev->hard_header_len);
skb72net/802/tr.cstruct sk_buff *skb) {
skb82net/802/tr.cif(arp_find(trh->daddr, dest, dev, dev->pa_addr, skb)) {
skb91net/802/tr.cunsigned short tr_type_trans(struct sk_buff *skb, struct device *dev) {
skb93net/802/tr.cstruct trh_hdr *trh=(struct trh_hdr *)skb->data;
skb94net/802/tr.cstruct trllc *trllc=(struct trllc *)(skb->data+sizeof(struct trh_hdr));
skb96net/802/tr.cskb->mac.raw = skb->data;
skb98net/802/tr.cskb_pull(skb,dev->hard_header_len);
skb106net/802/tr.cskb->pkt_type=PACKET_BROADCAST;
skb108net/802/tr.cskb->pkt_type=PACKET_MULTICAST;
skb114net/802/tr.cskb->pkt_type=PACKET_OTHERHOST;
skb89net/appletalk/aarp.cstruct sk_buff *skb;
skb91net/appletalk/aarp.cwhile((skb=skb_dequeue(&a->packet_queue))!=NULL)
skb92net/appletalk/aarp.ckfree_skb(skb, FREE_WRITE);
skb105net/appletalk/aarp.cstruct sk_buff *skb=alloc_skb(len, GFP_ATOMIC);
skb109net/appletalk/aarp.cif(skb==NULL || sat==NULL)
skb116net/appletalk/aarp.cskb_reserve(skb,dev->hard_header_len+aarp_dl->header_length);
skb117net/appletalk/aarp.ceah    =  (struct elapaarp *)skb_put(skb,sizeof(struct elapaarp));
skb118net/appletalk/aarp.cskb->arp  =  1;
skb119net/appletalk/aarp.cskb->free  =  1;
skb120net/appletalk/aarp.cskb->dev  =  a->dev;
skb148net/appletalk/aarp.caarp_dl->datalink_header(aarp_dl, skb, aarp_eth_multicast);  
skb155net/appletalk/aarp.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb167net/appletalk/aarp.cstruct sk_buff *skb=alloc_skb(len, GFP_ATOMIC);
skb170net/appletalk/aarp.cif(skb==NULL)
skb177net/appletalk/aarp.cskb_reserve(skb,dev->hard_header_len+aarp_dl->header_length);
skb178net/appletalk/aarp.ceah    =  (struct elapaarp *)skb_put(skb,sizeof(struct elapaarp));   
skb179net/appletalk/aarp.cskb->arp  =  1;
skb180net/appletalk/aarp.cskb->free  =  1;
skb181net/appletalk/aarp.cskb->dev  =  dev;
skb212net/appletalk/aarp.caarp_dl->datalink_header(aarp_dl, skb, sha);  
skb218net/appletalk/aarp.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb229net/appletalk/aarp.cstruct sk_buff *skb=alloc_skb(len, GFP_ATOMIC);
skb233net/appletalk/aarp.cif(skb==NULL)
skb240net/appletalk/aarp.cskb_reserve(skb,dev->hard_header_len+aarp_dl->header_length);
skb241net/appletalk/aarp.ceah    =  (struct elapaarp *)skb_put(skb,sizeof(struct elapaarp));
skb243net/appletalk/aarp.cskb->arp  =  1;
skb244net/appletalk/aarp.cskb->free  =  1;
skb245net/appletalk/aarp.cskb->dev  =  dev;
skb273net/appletalk/aarp.caarp_dl->datalink_header(aarp_dl, skb, aarp_eth_multicast);  
skb279net/appletalk/aarp.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb427net/appletalk/aarp.cint aarp_send_ddp(struct device *dev,struct sk_buff *skb, struct at_addr *sa, void *hwaddr)
skb442net/appletalk/aarp.cskb->dev = dev;
skb454net/appletalk/aarp.cddp_dl->datalink_header(ddp_dl, skb, ddp_eth_multicast);
skb455net/appletalk/aarp.cif(skb->sk==NULL)
skb456net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, SOPRI_NORMAL);
skb458net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, skb->sk->priority);
skb469net/appletalk/aarp.cddp_dl->datalink_header(ddp_dl, skb, a->hwaddr);
skb470net/appletalk/aarp.cif(skb->sk==NULL)
skb471net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, SOPRI_NORMAL);
skb473net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, skb->sk->priority);
skb486net/appletalk/aarp.cskb_queue_tail(&a->packet_queue, skb);
skb506net/appletalk/aarp.cskb_queue_tail(&a->packet_queue, skb);
skb537net/appletalk/aarp.cstruct sk_buff *skb;
skb548net/appletalk/aarp.cwhile((skb=skb_dequeue(&a->packet_queue))!=NULL)
skb551net/appletalk/aarp.cddp_dl->datalink_header(ddp_dl,skb,a->hwaddr);
skb552net/appletalk/aarp.cif(skb->sk==NULL)
skb553net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, SOPRI_NORMAL);
skb555net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, skb->sk->priority);
skb563net/appletalk/aarp.cstatic int aarp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb565net/appletalk/aarp.cstruct elapaarp *ea=(struct elapaarp *)skb->h.raw;
skb579net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb587net/appletalk/aarp.cif(skb_pull(skb,sizeof(*ea))<sizeof(*ea))
skb589net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb602net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb633net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb645net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb702net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb186net/appletalk/ddp.cstruct sk_buff *skb;
skb189net/appletalk/ddp.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL)
skb191net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1329net/appletalk/ddp.cint atalk_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb1332net/appletalk/ddp.cstruct ddpehdr *ddp=(void *)skb->h.raw;
skb1338net/appletalk/ddp.cif(skb->len<sizeof(*ddp))
skb1340net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1357net/appletalk/ddp.coriglen = skb->len;
skb1359net/appletalk/ddp.cskb_trim(skb,min(skb->len,ddp->deh_len));
skb1367net/appletalk/ddp.cif(skb->len<sizeof(*ddp))
skb1369net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1381net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1400net/appletalk/ddp.cif (skb->pkt_type != PACKET_HOST || ddp->deh_dnet == 0) 
skb1402net/appletalk/ddp.ckfree_skb(skb, FREE_READ);
skb1413net/appletalk/ddp.ckfree_skb(skb, FREE_READ);
skb1419net/appletalk/ddp.cskb_trim(skb,min(origlen, rt->dev->hard_header_len + 
skb1426net/appletalk/ddp.cif(aarp_send_ddp(rt->dev, skb, &ta, NULL)==-1)
skb1427net/appletalk/ddp.ckfree_skb(skb, FREE_READ);
skb1441net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1450net/appletalk/ddp.cskb->sk = sock;
skb1452net/appletalk/ddp.cif(sock_queue_rcv_skb(sock,skb)<0)
skb1454net/appletalk/ddp.cskb->sk=NULL;
skb1455net/appletalk/ddp.ckfree_skb(skb, FREE_WRITE);
skb1466net/appletalk/ddp.cstruct sk_buff *skb;
skb1539net/appletalk/ddp.cskb = sock_alloc_send_skb(sk, size, 0 , &err);
skb1540net/appletalk/ddp.cif(skb==NULL)
skb1543net/appletalk/ddp.cskb->sk=sk;
skb1544net/appletalk/ddp.cskb->free=1;
skb1545net/appletalk/ddp.cskb->arp=1;
skb1546net/appletalk/ddp.cskb_reserve(skb,ddp_dl->header_length);
skb1547net/appletalk/ddp.cskb_reserve(skb,dev->hard_header_len);
skb1549net/appletalk/ddp.cskb->dev=dev;
skb1554net/appletalk/ddp.cddp=(struct ddpehdr *)skb_put(skb,sizeof(struct ddpehdr));
skb1575net/appletalk/ddp.cmemcpy_fromfs(skb_put(skb,len),ubuf,len);
skb1591net/appletalk/ddp.cstruct sk_buff *skb2=skb_clone(skb, GFP_KERNEL);
skb1609net/appletalk/ddp.csk->wmem_alloc-=skb->truesize;
skb1610net/appletalk/ddp.cddp_dl->datalink_header(ddp_dl, skb, dev->dev_addr);
skb1611net/appletalk/ddp.cskb->sk = NULL;
skb1612net/appletalk/ddp.cskb->mac.raw=skb->data;
skb1613net/appletalk/ddp.cskb->h.raw = skb->data + ddp_dl->header_length + dev->hard_header_len;
skb1614net/appletalk/ddp.cskb_pull(skb,dev->hard_header_len);
skb1615net/appletalk/ddp.cskb_pull(skb,ddp_dl->header_length);
skb1616net/appletalk/ddp.catalk_rcv(skb,dev,NULL);
skb1628net/appletalk/ddp.cif(aarp_send_ddp(dev,skb,&usat->sat_addr, NULL)==-1)
skb1629net/appletalk/ddp.ckfree_skb(skb, FREE_WRITE);
skb1649net/appletalk/ddp.cstruct sk_buff *skb;
skb1662net/appletalk/ddp.cskb=skb_recv_datagram(sk,flags,noblock,&er);
skb1663net/appletalk/ddp.cif(skb==NULL)
skb1666net/appletalk/ddp.cddp = (struct ddpehdr *)(skb->h.raw);
skb1672net/appletalk/ddp.cskb_copy_datagram(skb,0,ubuf,copied);
skb1679net/appletalk/ddp.cskb_copy_datagram(skb,sizeof(*ddp),ubuf,copied);
skb1688net/appletalk/ddp.cskb_free_datagram(skb);
skb1749net/appletalk/ddp.cstruct sk_buff *skb;
skb1751net/appletalk/ddp.cif((skb=skb_peek(&sk->receive_queue))!=NULL)
skb1752net/appletalk/ddp.cv=skb->len-sizeof(struct ddpehdr);
skb341net/ax25/af_ax25.cstatic void ax25_send_to_raw(struct sock *sk, struct sk_buff *skb, int proto)
skb347net/ax25/af_ax25.cif ((copy = skb_clone(skb, GFP_ATOMIC)) == NULL)
skb354net/ax25/af_ax25.csk->data_ready(sk, skb->len);
skb382net/ax25/af_ax25.cstruct sk_buff *skb;
skb394net/ax25/af_ax25.cwhile ((skb = skb_dequeue(&ax25->sk->receive_queue)) != NULL) {
skb395net/ax25/af_ax25.cif (skb->sk != ax25->sk) {      /* A pending connection */
skb396net/ax25/af_ax25.cskb->sk->dead = 1;  /* Queue the unaccepted socket for death */
skb397net/ax25/af_ax25.cax25_set_timer(skb->sk->ax25);
skb398net/ax25/af_ax25.cskb->sk->ax25->state = AX25_STATE_0;
skb401net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb539net/ax25/af_ax25.cint ax25_send_frame(struct sk_buff *skb, ax25_address *src, ax25_address *dest,
skb544net/ax25/af_ax25.cif (skb == NULL)
skb555net/ax25/af_ax25.cax25_output(ax25, skb);
skb583net/ax25/af_ax25.cax25_output(ax25, skb);
skb1182net/ax25/af_ax25.cstruct sk_buff *skb;
skb1201net/ax25/af_ax25.cif ((skb = skb_dequeue(&sk->receive_queue)) == NULL) {
skb1212net/ax25/af_ax25.c} while (skb == NULL);
skb1214net/ax25/af_ax25.cnewsk = skb->sk;
skb1219net/ax25/af_ax25.cskb->sk = NULL;
skb1220net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1262net/ax25/af_ax25.cstatic int ax25_rcv(struct sk_buff *skb, struct device *dev, ax25_address *dev_addr, struct packet_type *ptype)
skb1280net/ax25/af_ax25.cif (ax25_parse_addr(skb->data, skb->len, &src, &dest, &dp, &type) == NULL) {
skb1281net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1309net/ax25/af_ax25.cbuild_ax25_addr(skb->data, &src, &dest, &dp, type);
skb1310net/ax25/af_ax25.cskb->arp = 1;
skb1311net/ax25/af_ax25.cax25_queue_xmit(skb, dev, SOPRI_NORMAL);      
skb1313net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1322net/ax25/af_ax25.cskb_pull(skb, size_ax25_addr(&dp));
skb1334net/ax25/af_ax25.cif ((*skb->data & ~0x10) == LAPB_UI) {  /* UI frame - bypass LAPB processing */
skb1335net/ax25/af_ax25.cskb->h.raw = skb->data + 2;    /* skip control and pid */
skb1338net/ax25/af_ax25.cax25_send_to_raw(raw, skb, skb->data[1]);
skb1341net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1346net/ax25/af_ax25.cswitch (skb->data[1]) {
skb1349net/ax25/af_ax25.cskb_pull(skb,2);    /* drop PID/CTRL */
skb1351net/ax25/af_ax25.cip_rcv(skb, dev, ptype);  /* Note ptype here is the wrong one, fix me later */
skb1355net/ax25/af_ax25.cskb_pull(skb,2);
skb1356net/ax25/af_ax25.carp_rcv(skb, dev, ptype);  /* Note ptype here is wrong... */
skb1363net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1368net/ax25/af_ax25.cskb_pull(skb, 2);
skb1369net/ax25/af_ax25.cskb_queue_tail(&sk->receive_queue, skb);
skb1370net/ax25/af_ax25.cskb->sk = sk;
skb1371net/ax25/af_ax25.csk->rmem_alloc += skb->truesize;
skb1373net/ax25/af_ax25.csk->data_ready(sk, skb->len);
skb1376net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1381net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);  /* Will scan SOCK_AX25 RAW sockets */
skb1395net/ax25/af_ax25.cif (ax25_process_rx_frame(ax25, skb, type) == 0)
skb1396net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1401net/ax25/af_ax25.cif ((*skb->data & 0xEF) != SABM) {
skb1406net/ax25/af_ax25.cif ((*skb->data & 0xEF) != DM && mine)
skb1409net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1418net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1424net/ax25/af_ax25.cskb_queue_head(&sk->receive_queue, skb);
skb1426net/ax25/af_ax25.cskb->sk     = make;
skb1434net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1440net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1447net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1459net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1487net/ax25/af_ax25.csk->data_ready(sk, skb->len );
skb1489net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1498net/ax25/af_ax25.cstatic int kiss_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *ptype)
skb1500net/ax25/af_ax25.cskb->sk = NULL;    /* Initially we don't know who its for */
skb1502net/ax25/af_ax25.cif ((*skb->data & 0x0F) != 0) {
skb1503net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);  /* Not a KISS data frame */
skb1507net/ax25/af_ax25.cskb_pull(skb, AX25_KISS_HEADER_LEN);  /* Remove the KISS byte */
skb1509net/ax25/af_ax25.creturn ax25_rcv(skb, dev, (ax25_address *)dev->dev_addr, ptype);
skb1515net/ax25/af_ax25.cstatic int bpq_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *ptype)
skb1520net/ax25/af_ax25.cskb->sk = NULL;    /* Initially we don't know who its for */
skb1523net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);  /* We have no port callsign */
skb1527net/ax25/af_ax25.clen = skb->data[14] + skb->data[15] * 256 - 5;
skb1529net/ax25/af_ax25.cskb_pull(skb, AX25_BPQ_HEADER_LEN);  /* Remove the BPQ Header */
skb1530net/ax25/af_ax25.cskb_trim(skb, len);      /* Set the length of the data */
skb1532net/ax25/af_ax25.creturn ax25_rcv(skb, dev, &port_call, ptype);
skb1543net/ax25/af_ax25.cstruct sk_buff *skb;
skb1623net/ax25/af_ax25.cif ((skb = sock_alloc_send_skb(sk, size, 0, &err)) == NULL)
skb1626net/ax25/af_ax25.cskb->sk   = sk;
skb1627net/ax25/af_ax25.cskb->free = 1;
skb1628net/ax25/af_ax25.cskb->arp  = 1;
skb1630net/ax25/af_ax25.cskb_reserve(skb, size - len);
skb1636net/ax25/af_ax25.cmemcpy_fromfs(skb_put(skb, len), ubuf, len);
skb1639net/ax25/af_ax25.casmptr  = skb_push(skb, 1);
skb1648net/ax25/af_ax25.ckfree_skb(skb, FREE_WRITE);
skb1652net/ax25/af_ax25.cax25_output(sk->ax25, skb);  /* Shove it onto the queue and kick */
skb1656net/ax25/af_ax25.casmptr = skb_push(skb, 1 + size_ax25_addr(dp));
skb1670net/ax25/af_ax25.cskb->h.raw = asmptr;
skb1673net/ax25/af_ax25.cprintk("base=%p pos=%p\n", skb->data, asmptr);
skb1678net/ax25/af_ax25.cax25_queue_xmit(skb, sk->ax25->device, SOPRI_NORMAL);
skb1702net/ax25/af_ax25.cstruct sk_buff *skb;
skb1723net/ax25/af_ax25.cif ((skb = skb_recv_datagram(sk, flags, noblock, &er)) == NULL)
skb1726net/ax25/af_ax25.ccopied = (size < skb->len - bias) ? size : skb->len - bias;
skb1727net/ax25/af_ax25.cskb_copy_datagram(skb, bias, ubuf, copied);
skb1733net/ax25/af_ax25.cunsigned char *dp = skb->data;
skb1736net/ax25/af_ax25.cax25_parse_addr(dp, skb->len, NULL, &dest, &digi, NULL);
skb1751net/ax25/af_ax25.cskb_free_datagram(skb);
skb1803net/ax25/af_ax25.cstruct sk_buff *skb;
skb1805net/ax25/af_ax25.cif ((skb = skb_peek(&sk->receive_queue)) != NULL)
skb1806net/ax25/af_ax25.camount = skb->len;
skb1996net/ax25/af_ax25.cvoid ax25_queue_xmit(struct sk_buff *skb, struct device *dev, int pri)
skb2003net/ax25/af_ax25.cif (skb_headroom(skb) < AX25_BPQ_HEADER_LEN) {
skb2005net/ax25/af_ax25.cskb->free = 1;
skb2006net/ax25/af_ax25.ckfree_skb(skb, FREE_WRITE);
skb2010net/ax25/af_ax25.csize = skb->len;
skb2012net/ax25/af_ax25.cptr = skb_push(skb, 2);
skb2017net/ax25/af_ax25.cdev->hard_header(skb, dev, ETH_P_BPQ, bcast_addr, NULL, 0);
skb2019net/ax25/af_ax25.cptr = skb_push(skb, 1);
skb2024net/ax25/af_ax25.cdev_queue_xmit(skb, dev, pri);
skb2040net/ax25/af_ax25.cint ax25_encapsulate(struct sk_buff *skb, struct device *dev, unsigned short type, void *daddr,
skb2044net/ax25/af_ax25.cunsigned char *buff = skb_push(skb, AX25_HEADER_LEN);
skb2088net/ax25/af_ax25.cint ax25_rebuild_header(unsigned char *bp, struct device *dev, unsigned long dest, struct sk_buff *skb)
skb2092net/ax25/af_ax25.cif (arp_find(bp + 1, dest, dev, dev->pa_addr, skb))
skb2099net/ax25/af_ax25.cskb_device_unlock(skb);
skb2100net/ax25/af_ax25.cskb_pull(skb, AX25_HEADER_LEN - 1);  /* Keep PID */
skb2101net/ax25/af_ax25.cax25_send_frame(skb, (ax25_address *)(bp + 8), (ax25_address *)(bp + 1), NULL, dev);
skb60net/ax25/ax25_in.cstatic int ax25_rx_iframe(ax25_cb *ax25, struct sk_buff *skb)
skb64net/ax25/ax25_in.cskb->h.raw = skb->data;
skb66net/ax25/ax25_in.cswitch (skb->data[1]) {
skb69net/ax25/ax25_in.cskb_pull(skb, 2);
skb70net/ax25/ax25_in.cqueued = nr_route_frame(skb, ax25);
skb76net/ax25/ax25_in.cskb->h.raw += 2;
skb77net/ax25/ax25_in.cskb_push(skb, skb->dev->hard_header_len);
skb78net/ax25/ax25_in.cip_rcv(skb, skb->dev, NULL);  /* Wrong ptype */
skb84net/ax25/ax25_in.cif (sock_queue_rcv_skb(ax25->sk, skb) == 0) {
skb104net/ax25/ax25_in.cstatic int ax25_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int type)
skb106net/ax25/ax25_in.cint pf = skb->data[0] & PF;
skb162net/ax25/ax25_in.cstatic int ax25_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int type)
skb164net/ax25/ax25_in.cint pf = skb->data[0] & PF;
skb221net/ax25/ax25_in.cstatic int ax25_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int type)
skb223net/ax25/ax25_in.cunsigned short nr = (skb->data[0] >> 5) & 7;
skb224net/ax25/ax25_in.cunsigned short ns = (skb->data[0] >> 1) & 7;
skb225net/ax25/ax25_in.cint pf = skb->data[0] & PF;
skb325net/ax25/ax25_in.cqueued = ax25_rx_iframe(ax25, skb);
skb369net/ax25/ax25_in.cstatic int ax25_state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int type)
skb371net/ax25/ax25_in.cunsigned short nr = (skb->data[0] >> 5) & 7;
skb372net/ax25/ax25_in.cunsigned short ns = (skb->data[0] >> 1) & 7;
skb373net/ax25/ax25_in.cint pf = skb->data[0] & PF;
skb516net/ax25/ax25_in.cqueued = ax25_rx_iframe(ax25, skb);
skb558net/ax25/ax25_in.cint ax25_process_rx_frame(ax25_cb *ax25, struct sk_buff *skb, int type)
skb570net/ax25/ax25_in.cframetype = ax25_decode(skb->data);
skb574net/ax25/ax25_in.cqueued = ax25_state1_machine(ax25, skb, frametype, type);
skb577net/ax25/ax25_in.cqueued = ax25_state2_machine(ax25, skb, frametype, type);
skb580net/ax25/ax25_in.cqueued = ax25_state3_machine(ax25, skb, frametype, type);
skb583net/ax25/ax25_in.cqueued = ax25_state4_machine(ax25, skb, frametype, type);
skb50net/ax25/ax25_out.cint ax25_output(ax25_cb *ax25, struct sk_buff *skb)
skb52net/ax25/ax25_out.cskb_queue_tail(&ax25->write_queue, skb);  /* Throw it on the queue */
skb64net/ax25/ax25_out.cstatic void ax25_send_iframe(ax25_cb *ax25, struct sk_buff *skb, int poll_bit)
skb68net/ax25/ax25_out.cif (skb == NULL)
skb71net/ax25/ax25_out.cframe = skb_push(skb, 1);  /* KISS + header */
skb78net/ax25/ax25_out.cax25_transmit_buffer(ax25, skb, C_COMMAND);  
skb83net/ax25/ax25_out.cstruct sk_buff *skb, *skbn;
skb107net/ax25/ax25_out.cskb  = skb_dequeue(&ax25->write_queue);
skb109net/ax25/ax25_out.cif ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) {
skb110net/ax25/ax25_out.cskb_queue_head(&ax25->write_queue, skb);
skb130net/ax25/ax25_out.cskb_queue_tail(&ax25->ack_queue, skb);
skb147net/ax25/ax25_out.cvoid ax25_transmit_buffer(ax25_cb *ax25, struct sk_buff *skb, int type)
skb162net/ax25/ax25_out.cif (skb_headroom(skb) < size_ax25_addr(ax25->digipeat)) {
skb164net/ax25/ax25_out.cskb->free = 1;
skb165net/ax25/ax25_out.ckfree_skb(skb, FREE_WRITE);
skb169net/ax25/ax25_out.cptr = skb_push(skb, size_ax25_addr(ax25->digipeat));
skb172net/ax25/ax25_out.cskb->arp = 1;
skb174net/ax25/ax25_out.cax25_queue_xmit(skb, ax25->device, SOPRI_NORMAL);
skb56net/ax25/ax25_subr.cstruct sk_buff *skb;
skb58net/ax25/ax25_subr.cwhile ((skb = skb_dequeue(&ax25->write_queue)) != NULL) {
skb59net/ax25/ax25_subr.cskb->free = 1;
skb60net/ax25/ax25_subr.ckfree_skb(skb, FREE_WRITE);
skb63net/ax25/ax25_subr.cwhile ((skb = skb_dequeue(&ax25->ack_queue)) != NULL) {
skb64net/ax25/ax25_subr.cskb->free = 1;
skb65net/ax25/ax25_subr.ckfree_skb(skb, FREE_WRITE);
skb76net/ax25/ax25_subr.cstruct sk_buff *skb, *skb_prev = NULL;
skb83net/ax25/ax25_subr.cskb = skb_dequeue(&ax25->ack_queue);
skb84net/ax25/ax25_subr.cskb->free = 1;
skb85net/ax25/ax25_subr.ckfree_skb(skb, FREE_WRITE);
skb95net/ax25/ax25_subr.cwhile ((skb = skb_dequeue(&ax25->ack_queue)) != NULL) {
skb97net/ax25/ax25_subr.cskb_queue_head(&ax25->write_queue, skb);
skb99net/ax25/ax25_subr.cskb_append(skb_prev, skb);
skb100net/ax25/ax25_subr.cskb_prev = skb;
skb143net/ax25/ax25_subr.cstruct sk_buff *skb;
skb150net/ax25/ax25_subr.cif ((skb = alloc_skb(AX25_BPQ_HEADER_LEN + size_ax25_addr(ax25->digipeat) + 1, GFP_ATOMIC)) == NULL)
skb153net/ax25/ax25_subr.cskb_reserve(skb, AX25_BPQ_HEADER_LEN + size_ax25_addr(ax25->digipeat));
skb156net/ax25/ax25_subr.cskb->sk = ax25->sk;
skb157net/ax25/ax25_subr.cax25->sk->wmem_alloc += skb->truesize;
skb161net/ax25/ax25_subr.cdptr = skb_put(skb, 1);
skb168net/ax25/ax25_subr.cskb->free = 1;
skb170net/ax25/ax25_subr.cax25_transmit_buffer(ax25, skb, type);
skb180net/ax25/ax25_subr.cstruct sk_buff *skb;
skb187net/ax25/ax25_subr.cif ((skb = alloc_skb(AX25_BPQ_HEADER_LEN + size_ax25_addr(digi) + 1, GFP_ATOMIC)) == NULL)
skb190net/ax25/ax25_subr.cskb_reserve(skb, AX25_BPQ_HEADER_LEN + size_ax25_addr(digi));
skb194net/ax25/ax25_subr.cdptr = skb_put(skb, 1);
skb195net/ax25/ax25_subr.cskb->sk = NULL;
skb203net/ax25/ax25_subr.cdptr  = skb_push(skb, size_ax25_addr(digi));
skb206net/ax25/ax25_subr.cskb->arp  = 1;
skb207net/ax25/ax25_subr.cskb->free = 1;
skb209net/ax25/ax25_subr.cax25_queue_xmit(skb, dev, SOPRI_NORMAL);
skb55net/core/datagram.cstruct sk_buff *skb;
skb129net/core/datagram.cskb=skb_dequeue(&sk->receive_queue);
skb130net/core/datagram.cif(skb!=NULL)
skb131net/core/datagram.cskb->users++;
skb138net/core/datagram.cskb=skb_peek(&sk->receive_queue);
skb139net/core/datagram.cif(skb!=NULL)
skb140net/core/datagram.cskb->users++;
skb142net/core/datagram.cif(skb==NULL)  /* shouldn't happen but .. */
skb145net/core/datagram.creturn skb;
skb148net/core/datagram.cvoid skb_free_datagram(struct sk_buff *skb)
skb154net/core/datagram.cskb->users--;
skb155net/core/datagram.cif(skb->users>0)
skb161net/core/datagram.cif(!skb->next && !skb->prev)  /* Been dequeued by someone - ie it's read */
skb162net/core/datagram.ckfree_skb(skb,FREE_READ);
skb166net/core/datagram.cvoid skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size)
skb168net/core/datagram.cmemcpy_tofs(to,skb->h.raw+offset,size);
skb277net/core/dev.cstruct sk_buff *skb;
skb278net/core/dev.cwhile((skb=skb_dequeue(&dev->buffs[ct]))!=NULL)
skb279net/core/dev.cif(skb->free)
skb280net/core/dev.ckfree_skb(skb,FREE_WRITE);
skb313net/core/dev.cvoid dev_queue_xmit(struct sk_buff *skb, struct device *dev, int pri)
skb321net/core/dev.cif(pri>=0 && !skb_device_locked(skb))
skb322net/core/dev.cskb_device_lock(skb);  /* Shove a lock on the frame */
skb324net/core/dev.cIS_SKB(skb);
skb326net/core/dev.cskb->dev = dev;
skb353net/core/dev.cif (!skb->arp && dev->rebuild_header(skb->data, dev, skb->raddr, skb)) {
skb362net/core/dev.cskb_queue_tail(dev->buffs + pri,skb);
skb363net/core/dev.cskb_device_unlock(skb);    /* Buffer is on the device queue and can be freed safely */
skb364net/core/dev.cskb = skb_dequeue(dev->buffs + pri);
skb365net/core/dev.cskb_device_lock(skb);    /* New buffer needs locking down */
skb372net/core/dev.cskb->stamp=xtime;
skb379net/core/dev.c((struct sock *)ptype->data != skb->sk))
skb382net/core/dev.cif ((skb2 = skb_clone(skb, GFP_ATOMIC)) == NULL)
skb386net/core/dev.cptype->func(skb2, skb->dev, ptype);
skb391net/core/dev.cif (dev->hard_start_xmit(skb, dev) == 0) {
skb405net/core/dev.cskb_device_unlock(skb);
skb406net/core/dev.cskb_queue_head(dev->buffs + pri,skb);
skb416net/core/dev.cvoid netif_rx(struct sk_buff *skb)
skb425net/core/dev.cskb->sk = NULL;
skb426net/core/dev.cskb->free = 1;
skb427net/core/dev.cif(skb->stamp.tv_sec==0)
skb428net/core/dev.cskb->stamp = xtime;
skb441net/core/dev.ckfree_skb(skb, FREE_READ);
skb449net/core/dev.cIS_SKB(skb);
skb451net/core/dev.cskb_queue_tail(&backlog,skb);
skb485net/core/dev.cstruct sk_buff *skb = NULL;
skb495net/core/dev.cskb = (struct sk_buff *) buff;
skb507net/core/dev.cskb = alloc_skb(len, GFP_ATOMIC);
skb508net/core/dev.cif (skb == NULL) 
skb521net/core/dev.cto = skb_put(skb,len);
skb543net/core/dev.cskb->dev = dev;
skb544net/core/dev.cskb->free = 1;
skb546net/core/dev.cnetif_rx(skb);
skb603net/core/dev.cstruct sk_buff *skb;
skb636net/core/dev.cwhile((skb=skb_dequeue(&backlog))!=NULL)
skb652net/core/dev.cskb->h.raw = skb->data;
skb658net/core/dev.ctype = skb->protocol;
skb670net/core/dev.cstruct sk_buff *skb2=skb_clone(skb, GFP_ATOMIC);
skb672net/core/dev.cpt_prev->func(skb2,skb->dev, pt_prev);
skb679net/core/dev.cif (ptype->type == type && (!ptype->dev || ptype->dev==skb->dev))
skb689net/core/dev.cskb2=skb_clone(skb, GFP_ATOMIC);
skb697net/core/dev.cpt_prev->func(skb2, skb->dev, pt_prev);
skb709net/core/dev.cpt_prev->func(skb, skb->dev, pt_prev);
skb715net/core/dev.ckfree_skb(skb, FREE_WRITE);
skb751net/core/dev.cstruct sk_buff *skb;
skb767net/core/dev.cwhile((skb=skb_dequeue(&dev->buffs[i]))!=NULL)
skb772net/core/dev.cskb_device_lock(skb);
skb778net/core/dev.cdev_queue_xmit(skb,dev,-i - 1);
skb71net/core/skbuff.cint skb_check(struct sk_buff *skb, int head, int line, char *file)
skb74net/core/skbuff.cif (skb->magic_debug_cookie != SK_HEAD_SKB) {
skb79net/core/skbuff.cif (!skb->next || !skb->prev) {
skb83net/core/skbuff.cif (skb->next->magic_debug_cookie != SK_HEAD_SKB
skb84net/core/skbuff.c&& skb->next->magic_debug_cookie != SK_GOOD_SKB) {
skb89net/core/skbuff.cif (skb->prev->magic_debug_cookie != SK_HEAD_SKB
skb90net/core/skbuff.c&& skb->prev->magic_debug_cookie != SK_GOOD_SKB) {
skb97net/core/skbuff.cstruct sk_buff *skb2 = skb->next;
skb99net/core/skbuff.cwhile (skb2 != skb && i < 5) {
skb111net/core/skbuff.cif (skb->next != NULL && skb->next->magic_debug_cookie != SK_HEAD_SKB
skb112net/core/skbuff.c&& skb->next->magic_debug_cookie != SK_GOOD_SKB) {
skb117net/core/skbuff.cif (skb->prev != NULL && skb->prev->magic_debug_cookie != SK_HEAD_SKB
skb118net/core/skbuff.c&& skb->prev->magic_debug_cookie != SK_GOOD_SKB) {
skb125net/core/skbuff.cif(skb->magic_debug_cookie==SK_FREED_SKB)
skb130net/core/skbuff.cskb,skb->truesize,skb->free);
skb133net/core/skbuff.cif(skb->magic_debug_cookie!=SK_GOOD_SKB)
skb137net/core/skbuff.cskb,skb->truesize,skb->free);
skb140net/core/skbuff.cif(skb->head>skb->data)
skb144net/core/skbuff.cskb,skb->head,skb->data);
skb147net/core/skbuff.cif(skb->tail>skb->end)
skb151net/core/skbuff.cskb,skb->tail,skb->end);
skb154net/core/skbuff.cif(skb->data>skb->tail)
skb158net/core/skbuff.cskb,skb->data,skb->tail);
skb161net/core/skbuff.cif(skb->tail-skb->data!=skb->len)
skb165net/core/skbuff.cskb,skb->data,skb->end,skb->len);
skb168net/core/skbuff.cif((unsigned long) skb->end > (unsigned long) skb)
skb172net/core/skbuff.cskb,skb->end);
skb332net/core/skbuff.cvoid skb_unlink(struct sk_buff *skb)
skb339net/core/skbuff.cIS_SKB(skb);
skb341net/core/skbuff.cif(skb->prev && skb->next)
skb343net/core/skbuff.cskb->next->prev = skb->prev;
skb344net/core/skbuff.cskb->prev->next = skb->next;
skb345net/core/skbuff.cskb->next = NULL;
skb346net/core/skbuff.cskb->prev = NULL;
skb359net/core/skbuff.cunsigned char *skb_put(struct sk_buff *skb, int len)
skb361net/core/skbuff.cunsigned char *tmp=skb->tail;
skb362net/core/skbuff.cIS_SKB(skb);
skb363net/core/skbuff.cskb->tail+=len;
skb364net/core/skbuff.cskb->len+=len;
skb365net/core/skbuff.cIS_SKB(skb);
skb366net/core/skbuff.cif(skb->tail>skb->end)
skb371net/core/skbuff.cunsigned char *skb_push(struct sk_buff *skb, int len)
skb373net/core/skbuff.cIS_SKB(skb);
skb374net/core/skbuff.cskb->data-=len;
skb375net/core/skbuff.cskb->len+=len;
skb376net/core/skbuff.cIS_SKB(skb);
skb377net/core/skbuff.cif(skb->data<skb->head)
skb379net/core/skbuff.creturn skb->data;
skb382net/core/skbuff.cint skb_pull(struct sk_buff *skb, int len)
skb384net/core/skbuff.cIS_SKB(skb);
skb385net/core/skbuff.cif(len>skb->len)
skb386net/core/skbuff.clen=skb->len;
skb387net/core/skbuff.cskb->data+=len;
skb388net/core/skbuff.cskb->len-=len;
skb392net/core/skbuff.cint skb_headroom(struct sk_buff *skb)
skb394net/core/skbuff.cIS_SKB(skb);
skb395net/core/skbuff.creturn skb->data-skb->head;
skb398net/core/skbuff.cint skb_tailroom(struct sk_buff *skb)
skb400net/core/skbuff.cIS_SKB(skb);
skb401net/core/skbuff.creturn skb->end-skb->tail;
skb404net/core/skbuff.cvoid skb_reserve(struct sk_buff *skb, int len)
skb406net/core/skbuff.cIS_SKB(skb);
skb407net/core/skbuff.cskb->data+=len;
skb408net/core/skbuff.cskb->tail+=len;
skb409net/core/skbuff.cif(skb->tail>skb->end)
skb411net/core/skbuff.cif(skb->data<skb->head)
skb413net/core/skbuff.cIS_SKB(skb);
skb416net/core/skbuff.cvoid skb_trim(struct sk_buff *skb, int len)
skb418net/core/skbuff.cIS_SKB(skb);
skb419net/core/skbuff.cif(skb->len>len)
skb421net/core/skbuff.cskb->len=len;
skb422net/core/skbuff.cskb->tail=skb->data+len;
skb435net/core/skbuff.cvoid kfree_skb(struct sk_buff *skb, int rw)
skb437net/core/skbuff.cif (skb == NULL)
skb444net/core/skbuff.cIS_SKB(skb);
skb446net/core/skbuff.cif (skb->lock)
skb448net/core/skbuff.cskb->free = 3;    /* Free when unlocked */
skb452net/core/skbuff.cif (skb->free == 2)
skb455net/core/skbuff.cif (skb->next)
skb458net/core/skbuff.cif (skb->sk)
skb460net/core/skbuff.cif(skb->sk->prot!=NULL)
skb463net/core/skbuff.cskb->sk->prot->rfree(skb->sk, skb);
skb465net/core/skbuff.cskb->sk->prot->wfree(skb->sk, skb);
skb475net/core/skbuff.cskb->sk->rmem_alloc-=skb->truesize;
skb477net/core/skbuff.cskb->sk->wmem_alloc-=skb->truesize;
skb479net/core/skbuff.cif(!skb->sk->dead)
skb480net/core/skbuff.cskb->sk->write_space(skb->sk);
skb481net/core/skbuff.ckfree_skbmem(skb);
skb485net/core/skbuff.ckfree_skbmem(skb);
skb494net/core/skbuff.cstruct sk_buff *skb;
skb523net/core/skbuff.cif(skb->magic_debug_cookie == SK_GOOD_SKB)
skb524net/core/skbuff.cprintk("Kernel kmalloc handed us an existing skb (%p)\n",skb);
skb535net/core/skbuff.cskb=(struct sk_buff *)(bptr+size)-1;
skb537net/core/skbuff.cskb->free = 2;  /* Invalid so we pick up forgetful users */
skb538net/core/skbuff.cskb->lock = 0;
skb539net/core/skbuff.cskb->pkt_type = PACKET_HOST;  /* Default type */
skb540net/core/skbuff.cskb->prev = skb->next = NULL;
skb541net/core/skbuff.cskb->link3 = NULL;
skb542net/core/skbuff.cskb->sk = NULL;
skb543net/core/skbuff.cskb->truesize=size;
skb544net/core/skbuff.cskb->localroute=0;
skb545net/core/skbuff.cskb->stamp.tv_sec=0;  /* No idea about time */
skb546net/core/skbuff.cskb->localroute = 0;
skb547net/core/skbuff.cskb->ip_summed = 0;
skb553net/core/skbuff.cskb->magic_debug_cookie = SK_GOOD_SKB;
skb555net/core/skbuff.cskb->users = 0;
skb557net/core/skbuff.cskb->head=bptr;
skb558net/core/skbuff.cskb->data=bptr;
skb559net/core/skbuff.cskb->tail=bptr;
skb560net/core/skbuff.cskb->end=bptr+len;
skb561net/core/skbuff.cskb->len=0;
skb562net/core/skbuff.creturn skb;
skb569net/core/skbuff.cvoid kfree_skbmem(struct sk_buff *skb)
skb574net/core/skbuff.ckfree((void *)skb->head);
skb584net/core/skbuff.cstruct sk_buff *skb_clone(struct sk_buff *skb, int priority)
skb593net/core/skbuff.cIS_SKB(skb);
skb595net/core/skbuff.cn=alloc_skb(skb->truesize-sizeof(struct sk_buff),priority);
skb603net/core/skbuff.coffset=n->head-skb->head;
skb606net/core/skbuff.cskb_reserve(n,skb->data-skb->head);
skb608net/core/skbuff.cskb_put(n,skb->len);
skb610net/core/skbuff.cmemcpy(n->head,skb->head,skb->end-skb->head);
skb613net/core/skbuff.cn->when=skb->when;
skb614net/core/skbuff.cn->dev=skb->dev;
skb615net/core/skbuff.cn->h.raw=skb->h.raw+offset;
skb616net/core/skbuff.cn->mac.raw=skb->mac.raw+offset;
skb617net/core/skbuff.cn->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset);
skb618net/core/skbuff.cn->saddr=skb->saddr;
skb619net/core/skbuff.cn->daddr=skb->daddr;
skb620net/core/skbuff.cn->raddr=skb->raddr;
skb621net/core/skbuff.cn->acked=skb->acked;
skb622net/core/skbuff.cn->used=skb->used;
skb624net/core/skbuff.cn->arp=skb->arp;
skb628net/core/skbuff.cn->pkt_type=skb->pkt_type;
skb629net/core/skbuff.cn->stamp=skb->stamp;
skb640net/core/skbuff.cvoid skb_device_lock(struct sk_buff *skb)
skb642net/core/skbuff.cif(skb->lock)
skb646net/core/skbuff.cskb->lock++;
skb649net/core/skbuff.cvoid skb_device_unlock(struct sk_buff *skb)
skb651net/core/skbuff.cif(skb->lock==0)
skb653net/core/skbuff.cskb->lock--;
skb654net/core/skbuff.cif(skb->lock==0)
skb658net/core/skbuff.cvoid dev_kfree_skb(struct sk_buff *skb, int mode)
skb664net/core/skbuff.cif(skb->lock==1)
skb667net/core/skbuff.cif (!--skb->lock && (skb->free == 1 || skb->free == 3))
skb670net/core/skbuff.ckfree_skb(skb,mode);
skb678net/core/skbuff.cstruct sk_buff *skb;
skb680net/core/skbuff.cskb = alloc_skb(length+16, GFP_ATOMIC);
skb681net/core/skbuff.cif (skb)
skb682net/core/skbuff.cskb_reserve(skb,16);
skb683net/core/skbuff.creturn skb;
skb686net/core/skbuff.cint skb_device_locked(struct sk_buff *skb)
skb688net/core/skbuff.creturn skb->lock? 1 : 0;
skb382net/core/sock.cvoid sock_wfree(struct sock *sk, struct sk_buff *skb)
skb384net/core/sock.cint s=skb->truesize;
skb386net/core/sock.cIS_SKB(skb);
skb388net/core/sock.ckfree_skbmem(skb);
skb403net/core/sock.cvoid sock_rfree(struct sock *sk, struct sk_buff *skb)
skb405net/core/sock.cint s=skb->truesize;
skb407net/core/sock.cIS_SKB(skb);
skb409net/core/sock.ckfree_skbmem(skb);
skb426net/core/sock.cstruct sk_buff *skb;
skb449net/core/sock.cskb = sock_wmalloc(sk, size, 0, GFP_KERNEL);
skb451net/core/sock.cif(skb==NULL)
skb489net/core/sock.cwhile(skb==NULL);
skb491net/core/sock.creturn skb;
skb499net/core/sock.cstruct sk_buff *skb;
skb523net/core/sock.cwhile((skb = skb_dequeue(&sk->back_log)) != NULL) 
skb527net/core/sock.csk->prot->rcv(skb, skb->dev, sk->opt,
skb528net/core/sock.cskb->saddr, skb->len, skb->daddr, 1,
skb87net/ethernet/eth.cint eth_header(struct sk_buff *skb, struct device *dev, unsigned short type,
skb90net/ethernet/eth.cstruct ethhdr *eth = (struct ethhdr *)skb_push(skb,14);
skb138net/ethernet/eth.cstruct sk_buff *skb)
skb157net/ethernet/eth.creturn arp_find(eth->h_dest, dst, dev, dev->pa_addr, skb)? 1 : 0;
skb170net/ethernet/eth.cunsigned short eth_type_trans(struct sk_buff *skb, struct device *dev)
skb175net/ethernet/eth.cskb->mac.raw=skb->data;
skb176net/ethernet/eth.cskb_pull(skb,14);  
skb177net/ethernet/eth.ceth= skb->mac.ethernet;
skb182net/ethernet/eth.cskb->pkt_type=PACKET_BROADCAST;
skb184net/ethernet/eth.cskb->pkt_type=PACKET_MULTICAST;
skb190net/ethernet/eth.cskb->pkt_type=PACKET_OTHERHOST;
skb196net/ethernet/eth.crawp = skb->data;
skb9net/ethernet/pe2.cstruct sk_buff *skb, unsigned char *dest_node)
skb11net/ethernet/pe2.cstruct device  *dev = skb->dev;
skb12net/ethernet/pe2.cunsigned long  len = skb->len;
skb15net/ethernet/pe2.cdev->hard_header(skb, dev, ETH_P_IPX,
skb17net/ethernet/pe2.cskb->h.raw = skb->data + hard_len;
skb286net/ipv4/af_inet.cstruct sk_buff *skb;
skb301net/ipv4/af_inet.cwhile ((skb = tcp_dequeue_partial(sk)) != NULL) {
skb302net/ipv4/af_inet.cIS_SKB(skb);
skb303net/ipv4/af_inet.ckfree_skb(skb, FREE_WRITE);
skb307net/ipv4/af_inet.cwhile((skb = skb_dequeue(&sk->write_queue)) != NULL) {
skb308net/ipv4/af_inet.cIS_SKB(skb);
skb309net/ipv4/af_inet.ckfree_skb(skb, FREE_WRITE);
skb319net/ipv4/af_inet.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL) 
skb325net/ipv4/af_inet.cif (skb->sk != NULL && skb->sk != sk) 
skb327net/ipv4/af_inet.cIS_SKB(skb);
skb328net/ipv4/af_inet.cskb->sk->dead = 1;
skb329net/ipv4/af_inet.cskb->sk->prot->close(skb->sk, 0);
skb331net/ipv4/af_inet.cIS_SKB(skb);
skb332net/ipv4/af_inet.ckfree_skb(skb, FREE_READ);
skb338net/ipv4/af_inet.cfor(skb = sk->send_head; skb != NULL; )
skb346net/ipv4/af_inet.cif (skb->next  && skb->prev) {
skb348net/ipv4/af_inet.cIS_SKB(skb);
skb349net/ipv4/af_inet.cskb_unlink(skb);
skb351net/ipv4/af_inet.cskb->dev = NULL;
skb352net/ipv4/af_inet.cskb2 = skb->link3;
skb353net/ipv4/af_inet.ckfree_skb(skb, FREE_WRITE);
skb354net/ipv4/af_inet.cskb = skb2;
skb360net/ipv4/af_inet.cwhile((skb=skb_dequeue(&sk->back_log))!=NULL) 
skb364net/ipv4/af_inet.ckfree_skb(skb, FREE_READ);
skb102net/ipv4/arp.cstruct sk_buff_head    skb;      /* list of queued packets   */
skb246net/ipv4/arp.cstruct sk_buff *skb;
skb252net/ipv4/arp.cwhile ((skb = skb_dequeue(&entry->skb)) != NULL)
skb254net/ipv4/arp.cskb_device_lock(skb);
skb256net/ipv4/arp.cdev_kfree_skb(skb, FREE_WRITE);
skb314net/ipv4/arp.cstruct sk_buff *skb;
skb329net/ipv4/arp.cskb = alloc_skb(sizeof(struct arphdr)+ 2*(dev->addr_len+4)
skb331net/ipv4/arp.cif (skb == NULL)
skb336net/ipv4/arp.cskb_reserve(skb, dev->hard_header_len);
skb337net/ipv4/arp.carp = (struct arphdr *) skb_put(skb,sizeof(struct arphdr) + 2*(dev->addr_len+4));
skb338net/ipv4/arp.cskb->arp = 1;
skb339net/ipv4/arp.cskb->dev = dev;
skb340net/ipv4/arp.cskb->free = 1;
skb346net/ipv4/arp.cdev->hard_header(skb,dev,ptype,dest_hw?dest_hw:dev->broadcast,src_hw?src_hw:NULL,skb->len);
skb376net/ipv4/arp.cdev_queue_xmit(skb, dev, 0);
skb465net/ipv4/arp.cstruct sk_buff *skb;
skb483net/ipv4/arp.cwhile((skb = skb_dequeue(&entry->skb)) != NULL)
skb485net/ipv4/arp.cIS_SKB(skb);
skb486net/ipv4/arp.cskb_device_lock(skb);
skb488net/ipv4/arp.cif(!skb->dev->rebuild_header(skb->data,skb->dev,skb->raddr,skb))
skb490net/ipv4/arp.cskb->arp  = 1;
skb491net/ipv4/arp.cif(skb->sk==NULL)
skb492net/ipv4/arp.cdev_queue_xmit(skb, skb->dev, 0);
skb494net/ipv4/arp.cdev_queue_xmit(skb,skb->dev,skb->sk->priority);
skb553net/ipv4/arp.cint arp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb559net/ipv4/arp.cstruct arphdr *arp = (struct arphdr *)skb->h.raw;
skb581net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb597net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb606net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb615net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb623net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb630net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb654net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb684net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb729net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb735net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb801net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb813net/ipv4/arp.centry->dev = skb->dev;
skb814net/ipv4/arp.cskb_queue_head_init(&entry->skb);
skb823net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb866net/ipv4/arp.cu32 saddr, struct sk_buff *skb)
skb879net/ipv4/arp.cskb->arp = 1;
skb903net/ipv4/arp.cskb->arp = 1;
skb924net/ipv4/arp.cif (skb != NULL)
skb926net/ipv4/arp.cskb_queue_tail(&entry->skb, skb);
skb927net/ipv4/arp.cskb_device_unlock(skb);
skb939net/ipv4/arp.cif (skb)
skb940net/ipv4/arp.cskb->arp = 1;
skb969net/ipv4/arp.cskb_queue_head_init(&entry->skb);
skb970net/ipv4/arp.cif (skb != NULL)
skb972net/ipv4/arp.cskb_queue_tail(&entry->skb, skb);
skb973net/ipv4/arp.cskb_device_unlock(skb);
skb978net/ipv4/arp.cif (skb != NULL && skb->free)
skb979net/ipv4/arp.ckfree_skb(skb, FREE_WRITE);
skb1269net/ipv4/arp.cskb_queue_head_init(&entry->skb);
skb103net/ipv4/icmp.cstruct sk_buff *skb;
skb217net/ipv4/icmp.cskb = (struct sk_buff *) alloc_skb(len+15, GFP_ATOMIC);
skb218net/ipv4/icmp.cif (skb == NULL) 
skb223net/ipv4/icmp.cskb->free = 1;
skb232net/ipv4/icmp.coffset = ip_build_header(skb, our_addr, iph->saddr,
skb238net/ipv4/icmp.cskb->sk = NULL;
skb239net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb247net/ipv4/icmp.cskb_put(skb,sizeof(struct icmphdr) + sizeof(struct iphdr) + 8);
skb253net/ipv4/icmp.cicmph = (struct icmphdr *) (skb->data + offset);
skb268net/ipv4/icmp.cip_queue_xmit(NULL, ndev, skb, 1);
skb276net/ipv4/icmp.cstatic void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb)
skb343net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb351net/ipv4/icmp.cstatic void icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb,
skb418net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb426net/ipv4/icmp.cstatic void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb444net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb451net/ipv4/icmp.cIPPROTO_ICMP, opt, len, skb->ip_hdr->tos,255);
skb457net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb486net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb493net/ipv4/icmp.cstatic void icmp_timestamp(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb516net/ipv4/icmp.cskb->sk = NULL;
skb517net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb528net/ipv4/icmp.cskb->ip_hdr->tos, 255);
skb533net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb568net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb578net/ipv4/icmp.cstatic void icmp_info(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb583net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb591net/ipv4/icmp.cstatic void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb608net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb618net/ipv4/icmp.cIPPROTO_ICMP, opt, len, skb->ip_hdr->tos,255);
skb624net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb651net/ipv4/icmp.cskb->sk = NULL;
skb652net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb85net/ipv4/igmp.cstruct sk_buff *skb=alloc_skb(MAX_IGMP_SIZE, GFP_ATOMIC);
skb89net/ipv4/igmp.cif(skb==NULL)
skb91net/ipv4/igmp.ctmp=ip_build_header(skb, INADDR_ANY, address, &dev, IPPROTO_IGMP, NULL,
skb92net/ipv4/igmp.cskb->truesize, 0, 1);
skb95net/ipv4/igmp.ckfree_skb(skb, FREE_WRITE);
skb98net/ipv4/igmp.cih=(struct igmphdr *)skb_put(skb,sizeof(struct igmphdr));
skb104net/ipv4/igmp.cip_queue_xmit(NULL,dev,skb,1);
skb199net/ipv4/igmp.cint igmp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb206net/ipv4/igmp.cih=(struct igmphdr *)skb->data;
skb208net/ipv4/igmp.cif(skb->len <sizeof(struct igmphdr) || skb->ip_hdr->ttl!=1 || ip_compute_csum((void *)skb->h.raw,sizeof(struct igmphdr)))
skb210net/ipv4/igmp.ckfree_skb(skb, FREE_READ);
skb218net/ipv4/igmp.ckfree_skb(skb, FREE_READ);
skb181net/ipv4/ip.cstatic int ip_send(struct sk_buff *skb, unsigned long daddr, int len, struct device *dev, unsigned long saddr)
skb185net/ipv4/ip.cskb->dev = dev;
skb186net/ipv4/ip.cskb->arp = 1;
skb193net/ipv4/ip.cskb_reserve(skb,(dev->hard_header_len+15)&~15);  /* 16 byte aligned IP headers are good */
skb194net/ipv4/ip.cmac = dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, len);
skb198net/ipv4/ip.cskb->arp = 0;
skb199net/ipv4/ip.cskb->raddr = daddr;  /* next routing address */
skb213net/ipv4/ip.cint ip_build_header(struct sk_buff *skb, unsigned long saddr, unsigned long daddr,
skb227net/ipv4/ip.cif(MULTICAST(daddr) && *dev==NULL && skb->sk && *skb->sk->ip_mc_name)
skb228net/ipv4/ip.c*dev=dev_get(skb->sk->ip_mc_name);
skb232net/ipv4/ip.cif(skb->localroute)
skb257net/ipv4/ip.cif(skb->localroute)
skb287net/ipv4/ip.ctmp = ip_send(skb, raddr, len, *dev, saddr);
skb293net/ipv4/ip.cskb->dev = *dev;
skb294net/ipv4/ip.cskb->saddr = saddr;
skb295net/ipv4/ip.cif (skb->sk)
skb296net/ipv4/ip.cskb->sk->saddr = saddr;
skb314net/ipv4/ip.ciph=(struct iphdr *)skb_put(skb,sizeof(struct iphdr));
skb324net/ipv4/ip.cskb->ip_hdr   = iph;
skb354net/ipv4/ip.cstatic struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr)
skb370net/ipv4/ip.cfp->skb = skb;
skb442net/ipv4/ip.cIS_SKB(fp->skb);
skb443net/ipv4/ip.ckfree_skb(fp->skb,FREE_READ);
skb475net/ipv4/ip.cicmp_send(qp->fragments->skb,ICMP_TIME_EXCEEDED,
skb492net/ipv4/ip.cstatic struct ipq *ip_create(struct sk_buff *skb, struct iphdr *iph, struct device *dev)
skb502net/ipv4/ip.cskb->dev = qp->dev;
skb582net/ipv4/ip.cstruct sk_buff *skb;
skb593net/ipv4/ip.cif ((skb = dev_alloc_skb(len)) == NULL)
skb602net/ipv4/ip.cskb_put(skb,len);
skb603net/ipv4/ip.cskb->h.raw = skb->data;
skb604net/ipv4/ip.cskb->free = 1;
skb607net/ipv4/ip.cptr = (unsigned char *) skb->h.raw;
skb617net/ipv4/ip.cif(count+fp->len > skb->len)
skb621net/ipv4/ip.ckfree_skb(skb,FREE_WRITE);
skb634net/ipv4/ip.ciph = skb->h.iph;
skb637net/ipv4/ip.cskb->ip_hdr = iph;
skb640net/ipv4/ip.creturn(skb);
skb648net/ipv4/ip.cstatic struct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev)
skb671net/ipv4/ip.creturn(skb);
skb695net/ipv4/ip.cif ((qp = ip_create(skb, iph, dev)) == NULL)
skb697net/ipv4/ip.cskb->sk = NULL;
skb698net/ipv4/ip.ckfree_skb(skb, FREE_READ);
skb715net/ipv4/ip.cptr = skb->data + ihl;
skb781net/ipv4/ip.ckfree_skb(tmp->skb,FREE_READ);
skb791net/ipv4/ip.ctfp = ip_frag_create(offset, end, skb, ptr);
skb799net/ipv4/ip.cskb->sk = NULL;
skb800net/ipv4/ip.ckfree_skb(skb, FREE_READ);
skb842net/ipv4/ip.cvoid ip_fragment(struct sock *sk, struct sk_buff *skb, struct device *dev, int is_frag)
skb856net/ipv4/ip.craw = skb->data;
skb859net/ipv4/ip.cskb->ip_hdr = iph;
skb881net/ipv4/ip.cicmp_send(skb,ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, dev->mtu, dev);
skb894net/ipv4/ip.cicmp_send(skb,ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED,dev->mtu, dev);
skb946net/ipv4/ip.cskb2->arp = skb->arp;
skb947net/ipv4/ip.cif(skb->free==0)
skb965net/ipv4/ip.cskb2->raddr = skb->raddr;  /* For rebuild_header - must be here */
skb1014net/ipv4/ip.cint ip_forward(struct sk_buff *skb, struct device *dev, int is_frag, unsigned long target_addr, int target_strict)
skb1033net/ipv4/ip.cfw_res=ip_fw_chk(skb->h.iph, dev, ip_fw_fwd_chain, ip_fw_fwd_policy, 0);
skb1041net/ipv4/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_UNREACH, 0, dev);
skb1059net/ipv4/ip.ciph = skb->h.iph;
skb1076net/ipv4/ip.cicmp_send(skb, ICMP_TIME_EXCEEDED, ICMP_EXC_TTL, 0, dev);
skb1092net/ipv4/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_NET_UNREACH, 0, dev);
skb1115net/ipv4/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_SR_FAILED, 0, dev);
skb1130net/ipv4/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_UNREACH, 0, dev);
skb1152net/ipv4/ip.cicmp_send(skb, ICMP_REDIRECT, ICMP_REDIR_HOST, raddr, dev);
skb1168net/ipv4/ip.cip_fw_masquerade(&skb, dev2);
skb1170net/ipv4/ip.cIS_SKB(skb);
skb1172net/ipv4/ip.cif(skb_headroom(skb)<dev2->hard_header_len)
skb1174net/ipv4/ip.cskb2 = alloc_skb(dev2->hard_header_len + skb->len + 15, GFP_ATOMIC);
skb1192net/ipv4/ip.cip_send(skb2,raddr,skb->len,dev2,dev2->pa_addr);
skb1199net/ipv4/ip.cptr = skb_put(skb2,skb->len);
skb1206net/ipv4/ip.cmemcpy(ptr, skb->h.raw, skb->len);
skb1214net/ipv4/ip.cskb2 = skb;    
skb1216net/ipv4/ip.cskb->arp=1;
skb1217net/ipv4/ip.cskb->raddr=raddr;
skb1220net/ipv4/ip.cif(dev2->hard_header(skb, dev2, ETH_P_IP, NULL, NULL, skb->len)<0)
skb1221net/ipv4/ip.cskb->arp=0;
skb1266net/ipv4/ip.cif(skb==skb2)
skb1281net/ipv4/ip.cint ip_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb1283net/ipv4/ip.cstruct iphdr *iph = skb->h.iph;
skb1302net/ipv4/ip.cskb->ip_hdr = iph;
skb1317net/ipv4/ip.cif (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0
skb1318net/ipv4/ip.c|| skb->len < ntohs(iph->tot_len))
skb1321net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb1331net/ipv4/ip.cskb_trim(skb,ntohs(iph->tot_len));
skb1342net/ipv4/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0, dev);
skb1343net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb1371net/ipv4/ip.cunsigned char *opt_ptr=skb->h.raw+sizeof(struct iphdr);
skb1373net/ipv4/ip.cskb->ip_summed=0;    /* Our free checksum is bogus for this case */
skb1390net/ipv4/ip.cicmp_send(skb, ICMP_PARAMETERPROB, 0, 0, skb->dev);
skb1391net/ipv4/ip.ckfree_skb(skb, FREE_READ);
skb1404net/ipv4/ip.ckfree_skb(skb, FREE_READ);
skb1411net/ipv4/ip.cif (iph->daddr!=skb->dev->pa_addr && (brd = ip_chk_addr(iph->daddr)) == 0) 
skb1416net/ipv4/ip.cicmp_send(skb, ICMP_PARAMETERPROB, 0, 0, skb->dev);
skb1417net/ipv4/ip.ckfree_skb(skb, FREE_READ);
skb1432net/ipv4/ip.cicmp_send(skb, ICMP_PARAMETERPROB, 0, 0, skb->dev);
skb1433net/ipv4/ip.ckfree_skb(skb,FREE_READ);
skb1437net/ipv4/ip.c*(u32 *)(&opt_ptr[opt_ptr[2]])=skb->dev->pa_addr;  /* Record hop */
skb1484net/ipv4/ip.cif ( iph->daddr == skb->dev->pa_addr || (brd = ip_chk_addr(iph->daddr)) != 0)
skb1498net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb1513net/ipv4/ip.cif (ip_fw_demasquerade(skb)) 
skb1515net/ipv4/ip.cstruct iphdr *iph=skb->h.iph;
skb1516net/ipv4/ip.cif(ip_forward(skb, dev, is_frag|4, iph->daddr, 0))
skb1517net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb1537net/ipv4/ip.cskb=ip_defrag(iph,skb,dev);
skb1538net/ipv4/ip.cif(skb==NULL)
skb1540net/ipv4/ip.cskb->dev = dev;
skb1541net/ipv4/ip.ciph=skb->h.iph;
skb1548net/ipv4/ip.cskb->ip_hdr = iph;
skb1549net/ipv4/ip.cskb->h.raw += iph->ihl*4;
skb1575net/ipv4/ip.cskb1=skb_clone(skb, GFP_ATOMIC);
skb1614net/ipv4/ip.cskb2 = skb_clone(skb, GFP_ATOMIC);
skb1620net/ipv4/ip.cskb2 = skb;
skb1644net/ipv4/ip.craw_rcv(raw_sk, skb, dev, iph->saddr, iph->daddr);
skb1648net/ipv4/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PROT_UNREACH, 0, dev);  
skb1649net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb1663net/ipv4/ip.cif(skb->pkt_type!=PACKET_HOST || brd==IS_BROADCAST)
skb1665net/ipv4/ip.ckfree_skb(skb,FREE_WRITE);
skb1674net/ipv4/ip.cif(ip_forward(skb, dev, is_frag, target_addr, target_strict))
skb1675net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb1680net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb1690net/ipv4/ip.cstatic void ip_loopback(struct device *old_dev, struct sk_buff *skb)
skb1694net/ipv4/ip.cint len=skb->len-old_dev->hard_header_len;
skb1703net/ipv4/ip.cnewskb->saddr=skb->saddr;
skb1704net/ipv4/ip.cnewskb->daddr=skb->daddr;
skb1705net/ipv4/ip.cnewskb->raddr=skb->raddr;
skb1709net/ipv4/ip.cnewskb->pkt_type=skb->pkt_type;
skb1714net/ipv4/ip.cip_send(newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr);
skb1722net/ipv4/ip.cmemcpy(newskb->ip_hdr,skb->ip_hdr,len);
skb1741net/ipv4/ip.cstruct sk_buff *skb, int free)
skb1753net/ipv4/ip.cIS_SKB(skb);
skb1760net/ipv4/ip.cskb->dev = dev;
skb1761net/ipv4/ip.cskb->when = jiffies;
skb1771net/ipv4/ip.cptr = skb->data;
skb1774net/ipv4/ip.cskb->ip_hdr = iph;
skb1775net/ipv4/ip.ciph->tot_len = ntohs(skb->len-dev->hard_header_len);
skb1796net/ipv4/ip.cskb->free = free;
skb1804net/ipv4/ip.cif(skb->len > dev->mtu + dev->hard_header_len)
skb1806net/ipv4/ip.cip_fragment(sk,skb,dev,0);
skb1807net/ipv4/ip.cIS_SKB(skb);
skb1808net/ipv4/ip.ckfree_skb(skb,FREE_WRITE);
skb1826net/ipv4/ip.cif (skb->next != NULL)
skb1829net/ipv4/ip.cskb_unlink(skb);
skb1850net/ipv4/ip.cif (skb->link3 != NULL)
skb1853net/ipv4/ip.cskb->link3 = NULL;
skb1857net/ipv4/ip.csk->send_tail = skb;
skb1858net/ipv4/ip.csk->send_head = skb;
skb1862net/ipv4/ip.csk->send_tail->link3 = skb;
skb1863net/ipv4/ip.csk->send_tail = skb;
skb1872net/ipv4/ip.cskb->sk = sk;
skb1894net/ipv4/ip.cip_loopback(dev,skb);
skb1902net/ipv4/ip.cip_loopback(dev,skb);
skb1911net/ipv4/ip.cif(skb->ip_hdr->ttl==0)
skb1913net/ipv4/ip.ckfree_skb(skb, FREE_READ);
skb1919net/ipv4/ip.cip_loopback(dev,skb);
skb1930net/ipv4/ip.cdev_queue_xmit(skb, dev, sk->priority);
skb1934net/ipv4/ip.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb1941net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb2376net/ipv4/ip.cdev=dev_get(skb->ip_mc_name);
skb2457net/ipv4/ip.cstruct sk_buff *skb=sock_alloc_send_skb(sk, length+20+15+dev->hard_header_len,0,&error);
skb2458net/ipv4/ip.cif(skb==NULL)
skb2463net/ipv4/ip.cskb->dev=dev;
skb2464net/ipv4/ip.cskb->free=1;
skb2465net/ipv4/ip.cskb->when=jiffies;
skb2466net/ipv4/ip.cskb->sk=sk;
skb2467net/ipv4/ip.cskb->arp=0;
skb2468net/ipv4/ip.cskb->saddr=saddr;
skb2470net/ipv4/ip.cskb->raddr=(rt&&rt->rt_gateway)?rt->rt_gateway:daddr;
skb2471net/ipv4/ip.cskb_reserve(skb,(dev->hard_header_len+15)&~15);
skb2474net/ipv4/ip.cmemcpy(skb_push(skb,dev->hard_header_len),sk->ip_hcache_data,dev->hard_header_len);
skb2475net/ipv4/ip.cskb->arp=1;
skb2479net/ipv4/ip.cif(dev->hard_header(skb,dev,ETH_P_IP,NULL,NULL,0)>0)
skb2480net/ipv4/ip.cskb->arp=1;
skb2482net/ipv4/ip.cskb->ip_hdr=iph=(struct iphdr *)skb_put(skb,length);
skb2502net/ipv4/ip.cip_fw_chk((void *)skb->data,dev,ip_acct_chain, IP_FW_F_ACCEPT,1);
skb2505net/ipv4/ip.cdev_queue_xmit(skb,dev,sk->priority);
skb2509net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb2570net/ipv4/ip.cstruct sk_buff * skb;
skb2578net/ipv4/ip.cskb = sock_alloc_send_skb(sk, fraglen+15, 0, &error);
skb2579net/ipv4/ip.cif (skb == NULL)
skb2591net/ipv4/ip.cskb->next = skb->prev = NULL;
skb2592net/ipv4/ip.cskb->dev = dev;
skb2593net/ipv4/ip.cskb->when = jiffies;
skb2594net/ipv4/ip.cskb->free = 1; /* dubious, this one */
skb2595net/ipv4/ip.cskb->sk = sk;
skb2596net/ipv4/ip.cskb->arp = 0;
skb2597net/ipv4/ip.cskb->saddr = saddr;
skb2598net/ipv4/ip.cskb->raddr = (rt&&rt->rt_gateway) ? rt->rt_gateway : daddr;
skb2599net/ipv4/ip.cskb_reserve(skb,(dev->hard_header_len+15)&~15);
skb2600net/ipv4/ip.cdata = skb_put(skb, fraglen-dev->hard_header_len);
skb2611net/ipv4/ip.cmemcpy(skb_push(skb,dev->hard_header_len),sk->ip_hcache_data, dev->hard_header_len);
skb2612net/ipv4/ip.cskb->arp=1;
skb2616net/ipv4/ip.cif(dev->hard_header(skb, dev, ETH_P_IP, 
skb2618net/ipv4/ip.cskb->arp=1;
skb2625net/ipv4/ip.cskb->ip_hdr = iph = (struct iphdr *)data;
skb2693net/ipv4/ip.cif(skb->daddr==IGMP_ALL_HOSTS)
skb2694net/ipv4/ip.cip_loopback(rt->rt_dev,skb);
skb2702net/ipv4/ip.cip_loopback(rt->rt_dev,skb);
skb2715net/ipv4/ip.cif(skb->ip_hdr->ttl==0)
skb2716net/ipv4/ip.ckfree_skb(skb, FREE_READ);
skb2727net/ipv4/ip.cip_loopback(dev,skb);
skb2735net/ipv4/ip.cdev_queue_xmit(skb, dev, sk->priority);
skb2750net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb518net/ipv4/ip_fw.cstatic struct sk_buff *revamp(struct sk_buff *skb, struct device *dev, struct ip_masq *ftp)
skb520net/ipv4/ip_fw.cstruct iphdr *iph = skb->h.iph;
skb540net/ipv4/ip_fw.cwhile (skb->len - ((unsigned char *)data - skb->h.raw) > 18)
skb576net/ipv4/ip_fw.creturn skb;
skb605net/ipv4/ip_fw.creturn skb;
skb611net/ipv4/ip_fw.cprintk("MASQUERADE: resizing needed for %d bytes (%ld)\n",ftp->delta, skb->len);
skb615net/ipv4/ip_fw.cskb2 = alloc_skb(skb->len+ftp->delta, GFP_ATOMIC);
skb618net/ipv4/ip_fw.creturn skb;
skb620net/ipv4/ip_fw.cskb2->free = skb->free;
skb621net/ipv4/ip_fw.cskb_put(skb2,skb->len + ftp->delta);
skb622net/ipv4/ip_fw.cskb2->h.raw = &skb2->data[skb->h.raw - skb->data];
skb628net/ipv4/ip_fw.cmemcpy(skb2->data, skb->data, (p - (char *)skb->data));
skb629net/ipv4/ip_fw.cmemcpy(&skb2->data[(p - (char *)skb->data)], buf, strlen(buf));
skb630net/ipv4/ip_fw.cmemcpy(&skb2->data[(p - (char *)skb->data) + strlen(buf)], data,
skb631net/ipv4/ip_fw.cskb->len - ((char *)skb->h.raw - data));
skb638net/ipv4/ip_fw.ckfree_skb(skb, FREE_WRITE);
skb641net/ipv4/ip_fw.creturn skb;
skb656net/ipv4/ip_fw.cstruct sk_buff  *skb=*skb_ptr;
skb657net/ipv4/ip_fw.cstruct iphdr  *iph = skb->h.iph;
skb717net/ipv4/ip_fw.csize = skb->len - ((unsigned char *)portptr - skb->h.raw);
skb735net/ipv4/ip_fw.cskb = revamp(*skb_ptr, dev, ms);
skb736net/ipv4/ip_fw.c*skb_ptr = skb;
skb737net/ipv4/ip_fw.ciph = skb->h.iph;
skb752net/ipv4/ip_fw.ctcp_send_check(th,iph->saddr,iph->daddr,size,skb->sk);
skb50net/ipv4/ipip.cint ipip_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, 
skb59net/ipv4/ipip.cif(ip_forward(skb, dev, 0, daddr, 0))
skb60net/ipv4/ipip.ckfree_skb(skb, FREE_READ);
skb73net/ipv4/packet.cint packet_rcv(struct sk_buff *skb, struct device *dev,  struct packet_type *pt)
skb89net/ipv4/packet.cskb_push(skb,skb->data-skb->mac.raw);
skb95net/ipv4/packet.cskb->dev = dev;
skb107net/ipv4/packet.cif (sk->rmem_alloc + skb->truesize >= sk->rcvbuf) 
skb110net/ipv4/packet.cskb->sk = NULL;
skb111net/ipv4/packet.ckfree_skb(skb, FREE_READ);
skb118net/ipv4/packet.cskb->sk = sk;
skb119net/ipv4/packet.csk->rmem_alloc += skb->truesize;  
skb125net/ipv4/packet.cskb_queue_tail(&sk->receive_queue,skb);
skb127net/ipv4/packet.csk->data_ready(sk,skb->len);
skb148net/ipv4/packet.cstruct sk_buff *skb;
skb190net/ipv4/packet.cskb = sk->prot->wmalloc(sk, len, 0, GFP_KERNEL);
skb197net/ipv4/packet.cif (skb == NULL) 
skb206net/ipv4/packet.cskb->sk = sk;
skb207net/ipv4/packet.cskb->free = 1;
skb208net/ipv4/packet.cmemcpy_fromfs(skb_put(skb,len), from, len);
skb209net/ipv4/packet.cskb->arp = 1;    /* No ARP needs doing on this (complete) frame */
skb216net/ipv4/packet.cdev_queue_xmit(skb, dev, sk->priority);
skb218net/ipv4/packet.ckfree_skb(skb, FREE_WRITE);
skb292net/ipv4/packet.cstruct sk_buff *skb;
skb315net/ipv4/packet.cskb=skb_recv_datagram(sk,flags,noblock,&err);
skb323net/ipv4/packet.cif(skb==NULL)
skb331net/ipv4/packet.ccopied = min(len, skb->len);
skb333net/ipv4/packet.cmemcpy_tofs(to, skb->data, copied);  /* We can't use skb_copy_datagram here */
skb334net/ipv4/packet.csk->stamp=skb->stamp;
skb342net/ipv4/packet.csaddr->sa_family = skb->dev->type;
skb343net/ipv4/packet.cmemcpy(saddr->sa_data,skb->dev->name, 14);
skb351net/ipv4/packet.cskb_free_datagram(skb);
skb143net/ipv4/rarp.cint rarp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb148net/ipv4/rarp.cstruct arphdr *rarp = (struct arphdr *)skb->h.raw;
skb161net/ipv4/rarp.ckfree_skb(skb, FREE_READ);
skb170net/ipv4/rarp.ckfree_skb(skb, FREE_READ);
skb188net/ipv4/rarp.ckfree_skb(skb, FREE_READ);
skb224net/ipv4/rarp.ckfree_skb(skb, FREE_READ);
skb97net/ipv4/raw.cint raw_rcv(struct sock *sk, struct sk_buff *skb, struct device *dev, long saddr, long daddr)
skb100net/ipv4/raw.cskb->sk = sk;
skb101net/ipv4/raw.cskb_trim(skb,ntohs(skb->ip_hdr->tot_len));
skb102net/ipv4/raw.cskb->h.raw = (unsigned char *) skb->ip_hdr;
skb103net/ipv4/raw.cskb->dev = dev;
skb104net/ipv4/raw.cskb->saddr = daddr;
skb105net/ipv4/raw.cskb->daddr = saddr;
skb109net/ipv4/raw.cif(sock_queue_rcv_skb(sk,skb)<0)
skb112net/ipv4/raw.cskb->sk=NULL;
skb113net/ipv4/raw.ckfree_skb(skb, FREE_READ);
skb239net/ipv4/raw.cstruct sk_buff *skb;
skb252net/ipv4/raw.cskb=skb_recv_datagram(sk,flags,noblock,&err);
skb253net/ipv4/raw.cif(skb==NULL)
skb256net/ipv4/raw.ctruesize=skb->len;
skb259net/ipv4/raw.cskb_copy_datagram(skb, 0, to, copied);
skb260net/ipv4/raw.csk->stamp=skb->stamp;
skb266net/ipv4/raw.csin->sin_addr.s_addr = skb->daddr;
skb268net/ipv4/raw.cskb_free_datagram(skb);
skb393net/ipv4/tcp.cstruct sk_buff *skb;
skb397net/ipv4/tcp.cskb=tcp_find_established(s);
skb398net/ipv4/tcp.cif(skb!=NULL)
skb399net/ipv4/tcp.cskb_unlink(skb);  /* Take it off the queue */
skb401net/ipv4/tcp.creturn skb;
skb412net/ipv4/tcp.cstruct sk_buff *skb;
skb414net/ipv4/tcp.cwhile ((skb = skb_dequeue(&sk->receive_queue)) != NULL) 
skb416net/ipv4/tcp.cskb->sk->dead=1;
skb417net/ipv4/tcp.ctcp_close(skb->sk, 0);
skb418net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb443net/ipv4/tcp.cstruct sk_buff * skb;
skb450net/ipv4/tcp.cskb = sk->send_head;
skb452net/ipv4/tcp.cwhile (skb != NULL)
skb458net/ipv4/tcp.cdev = skb->dev;
skb459net/ipv4/tcp.cIS_SKB(skb);
skb460net/ipv4/tcp.cskb->when = jiffies;
skb466net/ipv4/tcp.cskb_pull(skb,((unsigned char *)skb->ip_hdr)-skb->data);
skb477net/ipv4/tcp.ciph = (struct iphdr *)skb->data;
skb493net/ipv4/tcp.cif(skb->localroute)
skb500net/ipv4/tcp.cif(skb->sk)
skb502net/ipv4/tcp.cskb->sk->err=ENETUNREACH;
skb503net/ipv4/tcp.cskb->sk->error_report(skb->sk);
skb509net/ipv4/tcp.cskb->raddr=rt->rt_gateway;
skb510net/ipv4/tcp.cif(skb->raddr==0)
skb511net/ipv4/tcp.cskb->raddr=iph->daddr;
skb512net/ipv4/tcp.cskb->dev=dev;
skb513net/ipv4/tcp.cskb->arp=1;
skb516net/ipv4/tcp.cif(dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, skb->len)<0)
skb517net/ipv4/tcp.cskb->arp=0;
skb549net/ipv4/tcp.cif (sk && !skb_device_locked(skb))
skb552net/ipv4/tcp.cskb_unlink(skb);
skb555net/ipv4/tcp.cdev_queue_xmit(skb, dev, sk->priority);
skb582net/ipv4/tcp.cskb = skb->link3;
skb785net/ipv4/tcp.cstruct sk_buff *skb;
skb790net/ipv4/tcp.cskb = sk->send_head;
skb791net/ipv4/tcp.cif (!skb) 
skb801net/ipv4/tcp.cif (jiffies < skb->when + sk->rto) 
skb803net/ipv4/tcp.creset_xmit_timer (sk, TIME_WRITE, skb->when + sk->rto - jiffies);
skb913net/ipv4/tcp.cstruct sk_buff *skb;
skb922net/ipv4/tcp.cif (sk == NULL || (skb = skb_peek(&sk->receive_queue)) == NULL)
skb939net/ipv4/tcp.cif (before(counted, skb->h.th->seq))   /* Found a hole so stops here */
skb941net/ipv4/tcp.csum = skb->len -(counted - skb->h.th->seq);  /* Length - header but start from where we are up to (avoid overlaps) */
skb942net/ipv4/tcp.cif (skb->h.th->syn)
skb947net/ipv4/tcp.cif (skb->h.th->syn) 
skb967net/ipv4/tcp.cif (skb->h.th->urg)
skb969net/ipv4/tcp.cif (amount && skb->h.th->psh) break;
skb970net/ipv4/tcp.cskb = skb->next;
skb972net/ipv4/tcp.cwhile(skb != (struct sk_buff *)&sk->receive_queue);
skb1137net/ipv4/tcp.cstatic void tcp_send_skb(struct sock *sk, struct sk_buff *skb)
skb1140net/ipv4/tcp.cstruct tcphdr * th = skb->h.th;
skb1146net/ipv4/tcp.csize = skb->len - ((unsigned char *) th - skb->data);
skb1152net/ipv4/tcp.cif (size < sizeof(struct tcphdr) || size > skb->len) 
skb1155net/ipv4/tcp.cskb, skb->data, th, skb->len);
skb1156net/ipv4/tcp.ckfree_skb(skb, FREE_WRITE);
skb1171net/ipv4/tcp.ckfree_skb(skb,FREE_WRITE);
skb1181net/ipv4/tcp.cskb->h.seq = ntohl(th->seq) + size - 4*th->doff;
skb1191net/ipv4/tcp.cif (after(skb->h.seq, sk->window_seq) ||
skb1198net/ipv4/tcp.cif (skb->next != NULL) 
skb1201net/ipv4/tcp.cskb_unlink(skb);
skb1203net/ipv4/tcp.cskb_queue_tail(&sk->write_queue, skb);
skb1235net/ipv4/tcp.csk->prot->queue_xmit(sk, skb->dev, skb, 0);
skb1258net/ipv4/tcp.cstruct sk_buff * skb;
skb1263net/ipv4/tcp.cskb = sk->partial;
skb1264net/ipv4/tcp.cif (skb) {
skb1269net/ipv4/tcp.creturn skb;
skb1278net/ipv4/tcp.cstruct sk_buff *skb;
skb1282net/ipv4/tcp.cwhile ((skb = tcp_dequeue_partial(sk)) != NULL)
skb1283net/ipv4/tcp.ctcp_send_skb(sk, skb);
skb1290net/ipv4/tcp.cvoid tcp_enqueue_partial(struct sk_buff * skb, struct sock * sk)
skb1300net/ipv4/tcp.csk->partial = skb;
skb1465net/ipv4/tcp.cstruct sk_buff *skb;
skb1577net/ipv4/tcp.cif ((skb = tcp_dequeue_partial(sk)) != NULL) 
skb1582net/ipv4/tcp.chdrlen = ((unsigned long)skb->h.th - (unsigned long)skb->data)
skb1588net/ipv4/tcp.ccopy = min(sk->mss - (skb->len - hdrlen), len);
skb1596net/ipv4/tcp.cmemcpy_fromfs(skb_put(skb,copy), from, copy);
skb1602net/ipv4/tcp.cif ((skb->len - hdrlen) >= sk->mss ||
skb1604net/ipv4/tcp.ctcp_send_skb(sk, skb);
skb1606net/ipv4/tcp.ctcp_enqueue_partial(skb, sk);
skb1643net/ipv4/tcp.cskb = prot->wmalloc(sk, sk->mtu + 128 + prot->max_header + 15, 0, GFP_KERNEL);
skb1645net/ipv4/tcp.csend_tmp = skb;
skb1653net/ipv4/tcp.cskb = prot->wmalloc(sk, copy + prot->max_header + 15 , 0, GFP_KERNEL);
skb1661net/ipv4/tcp.cif (skb == NULL) 
skb1701net/ipv4/tcp.cskb->sk = sk;
skb1702net/ipv4/tcp.cskb->free = 0;
skb1703net/ipv4/tcp.cskb->localroute = sk->localroute|(flags&MSG_DONTROUTE);
skb1710net/ipv4/tcp.ctmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev,
skb1711net/ipv4/tcp.cIPPROTO_TCP, sk->opt, skb->truesize,sk->ip_tos,sk->ip_ttl);
skb1714net/ipv4/tcp.cprot->wfree(sk, skb);
skb1720net/ipv4/tcp.cskb->dev = dev;
skb1721net/ipv4/tcp.cskb->h.th =(struct tcphdr *)skb_put(skb,sizeof(struct tcphdr));
skb1722net/ipv4/tcp.ctmp = tcp_build_header(skb->h.th, sk, len-copy);
skb1725net/ipv4/tcp.cprot->wfree(sk, skb);
skb1734net/ipv4/tcp.cskb->h.th->urg = 1;
skb1735net/ipv4/tcp.cskb->h.th->urg_ptr = ntohs(copy);
skb1738net/ipv4/tcp.cmemcpy_fromfs(skb_put(skb,copy), from, copy);
skb1743net/ipv4/tcp.cskb->free = 0;
skb1751net/ipv4/tcp.ctcp_send_skb(sk, skb);
skb1891net/ipv4/tcp.cstruct sk_buff *skb;
skb1907net/ipv4/tcp.cwhile((skb=skb_peek(&sk->receive_queue)) != NULL) 
skb1909net/ipv4/tcp.cif (!skb->used || skb->users) 
skb1911net/ipv4/tcp.cskb_unlink(skb);
skb1912net/ipv4/tcp.cskb->sk = sk;
skb1913net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb2070net/ipv4/tcp.cstruct sk_buff * skb;
skb2086net/ipv4/tcp.cskb = skb_peek(&sk->receive_queue);
skb2089net/ipv4/tcp.cif (!skb)
skb2091net/ipv4/tcp.cif (before(*seq, skb->h.th->seq))
skb2093net/ipv4/tcp.coffset = *seq - skb->h.th->seq;
skb2094net/ipv4/tcp.cif (skb->h.th->syn)
skb2096net/ipv4/tcp.cif (offset < skb->len)
skb2098net/ipv4/tcp.cif (skb->h.th->fin)
skb2101net/ipv4/tcp.cskb->used = 1;
skb2102net/ipv4/tcp.cskb = skb->next;
skb2104net/ipv4/tcp.cwhile (skb != (struct sk_buff *)&sk->receive_queue);
skb2161net/ipv4/tcp.cskb->users++;
skb2167net/ipv4/tcp.cused = skb->len - offset;
skb2206net/ipv4/tcp.cmemcpy_tofs(to,((unsigned char *)skb->h.th) +
skb2207net/ipv4/tcp.cskb->h.th->doff*4 + offset, used);
skb2218net/ipv4/tcp.cskb->users --;
skb2222net/ipv4/tcp.cif (used + offset < skb->len)
skb2229net/ipv4/tcp.cif (skb->h.th->fin)
skb2233net/ipv4/tcp.cskb->used = 1;
skb2245net/ipv4/tcp.cskb->used = 1;
skb2683net/ipv4/tcp.cstatic void tcp_conn_request(struct sock *sk, struct sk_buff *skb,
skb2696net/ipv4/tcp.cth = skb->h.th;
skb2709net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb2721net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb2738net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb2771net/ipv4/tcp.cnewsk->acked_seq = skb->h.th->seq+1;
skb2772net/ipv4/tcp.cnewsk->copied_seq = skb->h.th->seq+1;
skb2773net/ipv4/tcp.cnewsk->fin_seq = skb->h.th->seq;
skb2790net/ipv4/tcp.cnewsk->dummy_th.source = skb->h.th->dest;
skb2791net/ipv4/tcp.cnewsk->dummy_th.dest = skb->h.th->source;
skb2810net/ipv4/tcp.cnewsk->acked_seq = skb->h.th->seq + 1;
skb2811net/ipv4/tcp.cnewsk->copied_seq = skb->h.th->seq + 1;
skb2819net/ipv4/tcp.cnewsk->ip_tos=skb->ip_hdr->tos;
skb2862net/ipv4/tcp.ctcp_options(newsk,skb->h.th);
skb2874net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb2901net/ipv4/tcp.cskb->sk = sk;
skb2902net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb2909net/ipv4/tcp.cmemcpy(t1, skb->h.th, sizeof(*t1));
skb2914net/ipv4/tcp.ct1->dest = skb->h.th->source;
skb2927net/ipv4/tcp.ct1->ack_seq = ntohl(skb->h.th->seq+1);
skb2938net/ipv4/tcp.cskb->sk = newsk;
skb2944net/ipv4/tcp.csk->rmem_alloc -= skb->truesize;
skb2945net/ipv4/tcp.cnewsk->rmem_alloc += skb->truesize;
skb2947net/ipv4/tcp.cskb_queue_tail(&sk->receive_queue,skb);
skb2982net/ipv4/tcp.cstruct sk_buff *skb;
skb2990net/ipv4/tcp.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL)
skb2991net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb3029net/ipv4/tcp.cstruct sk_buff *skb;
skb3047net/ipv4/tcp.cwhile((skb = skb_peek(&sk->write_queue)) != NULL &&
skb3048net/ipv4/tcp.cbefore(skb->h.seq, sk->window_seq + 1) &&
skb3051net/ipv4/tcp.cbefore(skb->h.seq, sk->rcv_ack_seq + 1))
skb3054net/ipv4/tcp.cIS_SKB(skb);
skb3055net/ipv4/tcp.cskb_unlink(skb);
skb3061net/ipv4/tcp.cif (before(skb->h.seq, sk->rcv_ack_seq +1)) 
skb3069net/ipv4/tcp.ckfree_skb(skb, FREE_WRITE);
skb3085net/ipv4/tcp.ciph = skb->ip_hdr;
skb3087net/ipv4/tcp.csize = skb->len - (((unsigned char *) th) - skb->data);
skb3094net/ipv4/tcp.csk->sent_seq = skb->h.seq;
skb3100net/ipv4/tcp.csk->prot->queue_xmit(sk, skb->dev, skb, skb->free);
skb3208net/ipv4/tcp.cstruct sk_buff *skb;
skb3227net/ipv4/tcp.cskb = skb2;
skb3228net/ipv4/tcp.cskb2 = skb->link3;
skb3229net/ipv4/tcp.cskb->link3 = NULL;
skb3230net/ipv4/tcp.cif (after(skb->h.seq, sk->window_seq)) 
skb3235net/ipv4/tcp.cif (skb->next != NULL) 
skb3237net/ipv4/tcp.cskb_unlink(skb);        
skb3241net/ipv4/tcp.cskb_queue_head(&sk->write_queue,skb);
skb3243net/ipv4/tcp.cskb_append(wskb,skb);
skb3244net/ipv4/tcp.cwskb = skb;
skb3250net/ipv4/tcp.csk->send_head = skb;
skb3251net/ipv4/tcp.csk->send_tail = skb;
skb3255net/ipv4/tcp.csk->send_tail->link3 = skb;
skb3256net/ipv4/tcp.csk->send_tail = skb;
skb3258net/ipv4/tcp.cskb->link3 = NULL;
skb3719net/ipv4/tcp.cstatic int tcp_fin(struct sk_buff *skb, struct sock *sk, struct tcphdr *th)
skb3721net/ipv4/tcp.csk->fin_seq = th->seq + skb->len + th->syn + th->fin;
skb3806net/ipv4/tcp.cextern __inline__ int tcp_data(struct sk_buff *skb, struct sock *sk, 
skb3814net/ipv4/tcp.cth = skb->h.th;
skb3815net/ipv4/tcp.cskb_pull(skb,th->doff*4);
skb3816net/ipv4/tcp.cskb_trim(skb,len-(th->doff*4));
skb3823net/ipv4/tcp.csk->bytes_rcv += skb->len;
skb3825net/ipv4/tcp.cif (skb->len == 0 && !th->fin) 
skb3833net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb3852net/ipv4/tcp.cif(skb->len)  /* We don't care if it's just an ack or
skb3855net/ipv4/tcp.cnew_seq= th->seq + skb->len + th->syn;  /* Right edge of _data_ part of frame */
skb3878net/ipv4/tcp.ctcp_reset(sk->saddr, sk->daddr, skb->h.th,
skb3879net/ipv4/tcp.csk->prot, NULL, skb->dev, sk->ip_tos, sk->ip_ttl);
skb3884net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb3907net/ipv4/tcp.cskb_queue_head(&sk->receive_queue,skb);
skb3918net/ipv4/tcp.cprintk("skb->h.th->seq = %d\n",skb->h.th->seq);
skb3931net/ipv4/tcp.cif (th->seq==skb1->h.th->seq && skb->len>= skb1->len)
skb3933net/ipv4/tcp.cskb_append(skb1,skb);
skb3947net/ipv4/tcp.cskb_append(skb1,skb);
skb3956net/ipv4/tcp.cskb_queue_head(&sk->receive_queue, skb);
skb3966net/ipv4/tcp.cth->ack_seq = th->seq + skb->len;
skb3998net/ipv4/tcp.cskb->acked = 1;
skb4005net/ipv4/tcp.cif (skb->h.th->fin) 
skb4007net/ipv4/tcp.ctcp_fin(skb,sk,skb->h.th);
skb4010net/ipv4/tcp.cfor(skb2 = skb->next;
skb4032net/ipv4/tcp.ctcp_fin(skb,sk,skb->h.th);
skb4071net/ipv4/tcp.cif (!skb->acked) 
skb4209net/ipv4/tcp.cstruct sk_buff *skb;
skb4226net/ipv4/tcp.cwhile((skb = tcp_dequeue_established(sk)) == NULL) 
skb4252net/ipv4/tcp.cnewsk = skb->sk;
skb4254net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4481net/ipv4/tcp.cstatic int tcp_std_reset(struct sock *sk, struct sk_buff *skb)
skb4504net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4514net/ipv4/tcp.cint tcp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb4523net/ipv4/tcp.cif(skb->pkt_type!=PACKET_HOST)
skb4525net/ipv4/tcp.ckfree_skb(skb,FREE_READ);
skb4529net/ipv4/tcp.cth = skb->h.th;
skb4564net/ipv4/tcp.cskb_pull(skb, skb->h.raw-skb->data);
skb4569net/ipv4/tcp.c(skb->ip_summed && tcp_check(th, len, saddr, daddr, skb->csum ))||
skb4570net/ipv4/tcp.c(!skb->ip_summed && tcp_check(th, len, saddr, daddr, csum_partial((char *)th, len, 0)))
skb4573net/ipv4/tcp.cskb->sk = NULL;
skb4574net/ipv4/tcp.ckfree_skb(skb,FREE_READ);
skb4589net/ipv4/tcp.ctcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255);
skb4590net/ipv4/tcp.cskb->sk = NULL;
skb4594net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4599net/ipv4/tcp.cskb->acked = 0;
skb4600net/ipv4/tcp.cskb->used = 0;
skb4601net/ipv4/tcp.cskb->free = 0;
skb4602net/ipv4/tcp.cskb->saddr = daddr;
skb4603net/ipv4/tcp.cskb->daddr = saddr;
skb4609net/ipv4/tcp.cskb_queue_tail(&sk->back_log, skb);
skb4620net/ipv4/tcp.ctcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255);
skb4621net/ipv4/tcp.cskb->sk = NULL;
skb4622net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4639net/ipv4/tcp.cif (sk->rmem_alloc + skb->truesize >= sk->rcvbuf) 
skb4641net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4646net/ipv4/tcp.cskb->sk=sk;
skb4647net/ipv4/tcp.csk->rmem_alloc += skb->truesize;
skb4677net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4686net/ipv4/tcp.ctcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq());
skb4704net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4727net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4732net/ipv4/tcp.creturn tcp_std_reset(sk,skb);
skb4737net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4776net/ipv4/tcp.creturn tcp_std_reset(sk,skb);
skb4786net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4811net/ipv4/tcp.csk->rmem_alloc -= skb->truesize;
skb4812net/ipv4/tcp.cskb->sk = NULL;
skb4821net/ipv4/tcp.cskb->sk = sk;
skb4822net/ipv4/tcp.csk->rmem_alloc += skb->truesize;
skb4823net/ipv4/tcp.ctcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000);
skb4827net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4841net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4847net/ipv4/tcp.creturn tcp_std_reset(sk,skb);
skb4855net/ipv4/tcp.ctcp_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255);
skb4856net/ipv4/tcp.creturn tcp_std_reset(sk,skb);  
skb4874net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4887net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4897net/ipv4/tcp.cif(tcp_data(skb,sk, saddr, len))
skb4899net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4919net/ipv4/tcp.cstruct sk_buff *buff,*skb;
skb4943net/ipv4/tcp.c(skb=skb_peek(&sk->write_queue)))
skb4967net/ipv4/tcp.ciph = (struct iphdr *)(skb->data + skb->dev->hard_header_len);
skb4976net/ipv4/tcp.cskb->dev->hard_header_len + 15, 
skb5027net/ipv4/tcp.ctcp_data_start = skb->data + skb->dev->hard_header_len + 
skb5048net/ipv4/tcp.cow_size = skb->len - win_size - 
skb5049net/ipv4/tcp.c((unsigned long) (tcp_data_start - (void *) skb->data));
skb5052net/ipv4/tcp.cskb_trim(skb,skb->len-win_size);
skb110net/ipv4/udp.cstatic int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len);
skb375net/ipv4/udp.cstruct sk_buff *skb;
skb380net/ipv4/udp.cskb = skb_peek(&sk->receive_queue);
skb381net/ipv4/udp.cif (skb != NULL) {
skb387net/ipv4/udp.camount = skb->len;
skb415net/ipv4/udp.cstruct sk_buff *skb;
skb430net/ipv4/udp.cskb=skb_recv_datagram(sk,flags,noblock,&er);
skb431net/ipv4/udp.cif(skb==NULL)
skb434net/ipv4/udp.ctruesize = skb->len - sizeof(struct udphdr);
skb441net/ipv4/udp.cskb_copy_datagram(skb,sizeof(struct udphdr),to,copied);
skb442net/ipv4/udp.csk->stamp=skb->stamp;
skb448net/ipv4/udp.csin->sin_port = skb->h.uh->source;
skb449net/ipv4/udp.csin->sin_addr.s_addr = skb->daddr;
skb452net/ipv4/udp.cskb_free_datagram(skb);
skb514net/ipv4/udp.cint udp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb530net/ipv4/udp.cuh = (struct udphdr *) skb->h.uh;
skb544net/ipv4/udp.ckfree_skb(skb, FREE_WRITE);
skb549net/ipv4/udp.c( skb->ip_summed && udp_check(uh, len, saddr, daddr, skb->csum ) ) ||
skb550net/ipv4/udp.c( !skb->ip_summed && udp_check(uh, len, saddr, daddr,csum_partial((char*)uh, len, 0)))
skb561net/ipv4/udp.ckfree_skb(skb, FREE_WRITE);
skb585net/ipv4/udp.cskb1=skb_clone(skb,GFP_ATOMIC);
skb587net/ipv4/udp.cskb1=skb;
skb595net/ipv4/udp.ckfree_skb(skb, FREE_READ);
skb616net/ipv4/udp.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0, dev);
skb622net/ipv4/udp.cskb->sk = NULL;
skb623net/ipv4/udp.ckfree_skb(skb, FREE_WRITE);
skb626net/ipv4/udp.creturn udp_deliver(sk,uh,skb,dev, saddr, daddr, len);
skb629net/ipv4/udp.cstatic int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len)
skb631net/ipv4/udp.cskb->sk = sk;
skb632net/ipv4/udp.cskb->dev = dev;
skb633net/ipv4/udp.cskb_trim(skb,len);
skb639net/ipv4/udp.cskb->daddr = saddr;
skb640net/ipv4/udp.cskb->saddr = daddr;
skb647net/ipv4/udp.cif (sock_queue_rcv_skb(sk,skb)<0) 
skb652net/ipv4/udp.cskb->sk = NULL;
skb653net/ipv4/udp.ckfree_skb(skb, FREE_WRITE);
skb176net/ipx/af_ipx.cstruct sk_buff  *skb;
skb179net/ipx/af_ipx.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL) {
skb180net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb324net/ipx/af_ipx.cipxitf_def_skb_handler(struct sock *sock, struct sk_buff *skb)
skb328net/ipx/af_ipx.cif((retval = sock_queue_rcv_skb(sock, skb))<0) {
skb337net/ipx/af_ipx.ckfree_skb(skb,FREE_WRITE);
skb343net/ipx/af_ipx.cipxitf_demux_socket(ipx_interface *intrfc, struct sk_buff *skb, int copy) 
skb345net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *)(skb->h.raw);
skb380net/ipx/af_ipx.ckfree_skb(skb,FREE_WRITE);
skb391net/ipx/af_ipx.cskb1 = skb_clone(skb, GFP_ATOMIC);
skb396net/ipx/af_ipx.cskb1 = skb;
skb425net/ipx/af_ipx.cipxitf_adjust_skbuff(ipx_interface *intrfc, struct sk_buff *skb)
skb428net/ipx/af_ipx.cint  in_offset = skb->h.raw - skb->data;
skb438net/ipx/af_ipx.cskb->arp = skb->free = 1;
skb439net/ipx/af_ipx.creturn skb;
skb445net/ipx/af_ipx.coldraw = skb->h.raw;
skb446net/ipx/af_ipx.cskb->h.raw = &(skb->data[out_offset]);
skb447net/ipx/af_ipx.cmemmove(skb->h.raw, oldraw, skb->len);
skb448net/ipx/af_ipx.cskb->len += out_offset;
skb449net/ipx/af_ipx.cskb->arp = skb->free = 1;
skb450net/ipx/af_ipx.creturn skb;
skb455net/ipx/af_ipx.clen = skb->len + out_offset;
skb459net/ipx/af_ipx.cskb2->h.raw=skb_put(skb2,skb->len);
skb462net/ipx/af_ipx.cmemcpy(skb2->h.raw, skb->h.raw, skb->len);
skb464net/ipx/af_ipx.ckfree_skb(skb, FREE_WRITE);
skb469net/ipx/af_ipx.cipxitf_send(ipx_interface *intrfc, struct sk_buff *skb, char *node)
skb471net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *)(skb->h.raw);
skb487net/ipx/af_ipx.creturn ipxitf_demux_socket(intrfc, skb, 0);
skb489net/ipx/af_ipx.cipxitf_demux_socket(intrfc, skb, send_to_wire);
skb509net/ipx/af_ipx.ckfree_skb(skb,FREE_WRITE);
skb522net/ipx/af_ipx.cskb = ipxitf_adjust_skbuff(intrfc, skb);
skb523net/ipx/af_ipx.cif (skb == NULL) return 0;
skb526net/ipx/af_ipx.cskb->dev = dev;
skb527net/ipx/af_ipx.cdl->datalink_header(dl, skb, dest_node);
skb529net/ipx/af_ipx.cif (skb->sk != NULL) {
skb533net/ipx/af_ipx.cskb->sk->wmem_alloc += skb->truesize;
skb537net/ipx/af_ipx.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb555net/ipx/af_ipx.cipxitf_rcv(ipx_interface *intrfc, struct sk_buff *skb)
skb557net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *) (skb->h.raw);
skb588net/ipx/af_ipx.cif ((skb->pkt_type != PACKET_BROADCAST) &&
skb589net/ipx/af_ipx.c(skb->pkt_type != PACKET_MULTICAST))
skb590net/ipx/af_ipx.creturn ipxrtr_route_skb(skb);
skb592net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb599net/ipx/af_ipx.creturn ipxitf_demux_socket(intrfc, skb, 0);
skb603net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb985net/ipx/af_ipx.cstruct sk_buff *skb;
skb1010net/ipx/af_ipx.cskb=alloc_skb(size,GFP_KERNEL);
skb1011net/ipx/af_ipx.cif(skb==NULL) return -ENOMEM;
skb1013net/ipx/af_ipx.cskb->sk=sk;
skb1014net/ipx/af_ipx.cskb_reserve(skb,ipx_offset);
skb1015net/ipx/af_ipx.cskb->free=1;
skb1016net/ipx/af_ipx.cskb->arp=1;
skb1019net/ipx/af_ipx.cipx=(ipx_packet *)skb_put(skb,sizeof(ipx_packet));
skb1024net/ipx/af_ipx.cskb->h.raw = (unsigned char *)ipx;
skb1033net/ipx/af_ipx.cmemcpy_fromfs(skb_put(skb,len),ubuf,len);
skb1034net/ipx/af_ipx.creturn ipxitf_send(intrfc, skb, (rt && rt->ir_routed) ? 
skb1039net/ipx/af_ipx.cipxrtr_route_skb(struct sk_buff *skb)
skb1041net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *) (skb->h.raw);
skb1048net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1052net/ipx/af_ipx.c(void)ipxitf_send(i, skb, (r->ir_routed) ? 
skb1631net/ipx/af_ipx.cint ipx_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb1638net/ipx/af_ipx.cipx=(ipx_packet *)skb->h.raw;
skb1644net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1650net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1663net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1668net/ipx/af_ipx.creturn ipxitf_rcv(intrfc, skb);
skb1727net/ipx/af_ipx.cstruct sk_buff *skb;
skb1741net/ipx/af_ipx.cskb=skb_recv_datagram(sk,flags,noblock,&er);
skb1742net/ipx/af_ipx.cif(skb==NULL)
skb1747net/ipx/af_ipx.cipx = (ipx_packet *)(skb->h.raw);
skb1750net/ipx/af_ipx.cskb_copy_datagram(skb,sizeof(struct ipx_packet),ubuf,copied);
skb1760net/ipx/af_ipx.cskb_free_datagram(skb);
skb1816net/ipx/af_ipx.cstruct sk_buff *skb;
skb1818net/ipx/af_ipx.cif((skb=skb_peek(&sk->receive_queue))!=NULL)
skb1819net/ipx/af_ipx.camount=skb->len;
skb217net/netrom/af_netrom.cstruct sk_buff *skb;
skb228net/netrom/af_netrom.cwhile ((skb = skb_dequeue(&sk->receive_queue)) != NULL) {
skb229net/netrom/af_netrom.cif (skb->sk != sk) {      /* A pending connection */
skb230net/netrom/af_netrom.cskb->sk->dead = 1;  /* Queue the unaccepted socket for death */
skb231net/netrom/af_netrom.cnr_set_timer(skb->sk);
skb232net/netrom/af_netrom.cskb->sk->nr->state = NR_STATE_0;
skb235net/netrom/af_netrom.ckfree_skb(skb, FREE_READ);
skb793net/netrom/af_netrom.cstruct sk_buff *skb;
skb812net/netrom/af_netrom.cif ((skb = skb_dequeue(&sk->receive_queue)) == NULL) {
skb823net/netrom/af_netrom.c} while (skb == NULL);
skb825net/netrom/af_netrom.cnewsk = skb->sk;
skb830net/netrom/af_netrom.cskb->sk = NULL;
skb831net/netrom/af_netrom.ckfree_skb(skb, FREE_READ);
skb864net/netrom/af_netrom.cint nr_rx_frame(struct sk_buff *skb, struct device *dev)
skb872net/netrom/af_netrom.cskb->sk = NULL;    /* Initially we don't know who its for */
skb878net/netrom/af_netrom.csrc  = (ax25_address *)(skb->data + 0);
skb879net/netrom/af_netrom.cdest = (ax25_address *)(skb->data + 7);
skb881net/netrom/af_netrom.ccircuit_index = skb->data[15];
skb882net/netrom/af_netrom.ccircuit_id    = skb->data[16];
skb883net/netrom/af_netrom.cframetype     = skb->data[19];
skb890net/netrom/af_netrom.cskb_pull(skb, NR_NETWORK_LEN + NR_TRANSPORT_LEN);
skb891net/netrom/af_netrom.cskb->h.raw = skb->data;
skb893net/netrom/af_netrom.creturn nr_rx_ip(skb, dev);
skb903net/netrom/af_netrom.cskb_pull(skb, NR_NETWORK_LEN);
skb904net/netrom/af_netrom.cskb->h.raw = skb->data + NR_TRANSPORT_LEN;
skb906net/netrom/af_netrom.cif ((frametype & 0x0F) == NR_CONNACK && skb->len == 7)
skb911net/netrom/af_netrom.creturn nr_process_rx_frame(sk, skb);
skb920net/netrom/af_netrom.cnr_transmit_dm(skb);
skb924net/netrom/af_netrom.cuser   = (ax25_address *)(skb->data + 21);
skb925net/netrom/af_netrom.cwindow = skb->data[20];
skb927net/netrom/af_netrom.cskb->sk             = make;
skb948net/netrom/af_netrom.cif (skb->len == 37) {
skb949net/netrom/af_netrom.ctimeout = skb->data[36] * 256 + skb->data[35];
skb970net/netrom/af_netrom.cskb_queue_head(&sk->receive_queue, skb);
skb975net/netrom/af_netrom.csk->data_ready(sk, skb->len);
skb987net/netrom/af_netrom.cstruct sk_buff *skb;
skb1027net/netrom/af_netrom.cif ((skb = sock_alloc_send_skb(sk, size, 0, &err)) == NULL)
skb1030net/netrom/af_netrom.cskb->sk   = sk;
skb1031net/netrom/af_netrom.cskb->free = 1;
skb1032net/netrom/af_netrom.cskb->arp  = 1;
skb1034net/netrom/af_netrom.cskb_reserve(skb, size - len);
skb1040net/netrom/af_netrom.casmptr = skb_push(skb, NR_TRANSPORT_LEN);
skb1060net/netrom/af_netrom.cskb->h.raw = skb_put(skb, len);
skb1062net/netrom/af_netrom.casmptr = skb->h.raw;
skb1074net/netrom/af_netrom.ckfree_skb(skb, FREE_WRITE);
skb1078net/netrom/af_netrom.cnr_output(sk, skb);  /* Shove it onto the queue */
skb1099net/netrom/af_netrom.cstruct sk_buff *skb;
skb1116net/netrom/af_netrom.cif ((skb = skb_recv_datagram(sk, flags, noblock, &er)) == NULL)
skb1119net/netrom/af_netrom.ccopied = (size < skb->len - NR_TRANSPORT_LEN) ? size : skb->len - NR_TRANSPORT_LEN;
skb1121net/netrom/af_netrom.cskb_copy_datagram(skb, 0, ubuf, copied);
skb1127net/netrom/af_netrom.cmemcpy(&addr.sax25_call, skb->data + 7, sizeof(ax25_address));
skb1134net/netrom/af_netrom.cskb_free_datagram(skb);
skb1185net/netrom/af_netrom.cstruct sk_buff *skb;
skb1187net/netrom/af_netrom.cif ((skb = skb_peek(&sk->receive_queue)) != NULL)
skb1188net/netrom/af_netrom.camount = skb->len - 20;
skb52net/netrom/nr_dev.cint nr_rx_ip(struct sk_buff *skb, struct device *dev)
skb63net/netrom/nr_dev.cskb->protocol = htons(ETH_P_IP);
skb66net/netrom/nr_dev.cskb->dev = dev;
skb68net/netrom/nr_dev.cskb->h.raw = skb->data;
skb69net/netrom/nr_dev.cip_rcv(skb, skb->dev, NULL);
skb74net/netrom/nr_dev.cstatic int nr_header(struct sk_buff *skb, struct device *dev, unsigned short type,
skb77net/netrom/nr_dev.cunsigned char *buff = skb_push(skb, NR_NETWORK_LEN + NR_TRANSPORT_LEN);
skb107net/netrom/nr_dev.cunsigned long raddr, struct sk_buff *skb)
skb112net/netrom/nr_dev.cskb_device_unlock(skb);
skb115net/netrom/nr_dev.cskb->free = 1;
skb116net/netrom/nr_dev.ckfree_skb(skb, FREE_WRITE);
skb129net/netrom/nr_dev.cif (!nr_route_frame(skb, NULL)) {
skb130net/netrom/nr_dev.cskb->free = 1;
skb131net/netrom/nr_dev.ckfree_skb(skb, FREE_WRITE);
skb163net/netrom/nr_dev.cstatic int nr_xmit(struct sk_buff *skb, struct device *dev)
skb167net/netrom/nr_dev.cif (skb == NULL || dev == NULL)
skb187net/netrom/nr_dev.cdev_kfree_skb(skb, FREE_WRITE);
skb55net/netrom/nr_in.cstatic int nr_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype)
skb61net/netrom/nr_in.csk->window         = skb->data[5];
skb62net/netrom/nr_in.csk->nr->your_index = skb->data[2];
skb63net/netrom/nr_in.csk->nr->your_id    = skb->data[3];
skb101net/netrom/nr_in.cstatic int nr_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype)
skb130net/netrom/nr_in.cstatic int nr_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype)
skb138net/netrom/nr_in.cnr = skb->data[3];
skb139net/netrom/nr_in.cns = skb->data[2];
skb237net/netrom/nr_in.cskb_queue_head(&sk->nr->reseq_queue, skb);
skb284net/netrom/nr_in.cint nr_process_rx_frame(struct sock *sk, struct sk_buff *skb)
skb296net/netrom/nr_in.cframetype = skb->data[4];
skb301net/netrom/nr_in.cqueued = nr_state1_machine(sk, skb, frametype);
skb304net/netrom/nr_in.cqueued = nr_state2_machine(sk, skb, frametype);
skb307net/netrom/nr_in.cqueued = nr_state3_machine(sk, skb, frametype);
skb43net/netrom/nr_out.cint nr_output(struct sock *sk, struct sk_buff *skb)
skb45net/netrom/nr_out.cskb_queue_tail(&sk->write_queue, skb);  /* Throw it on the queue */
skb57net/netrom/nr_out.cstatic void nr_send_iframe(struct sock *sk, struct sk_buff *skb)
skb59net/netrom/nr_out.cif (skb == NULL)
skb62net/netrom/nr_out.cskb->data[2] = sk->nr->vs;
skb63net/netrom/nr_out.cskb->data[3] = sk->nr->vr;
skb65net/netrom/nr_out.cnr_transmit_buffer(sk, skb);  
skb70net/netrom/nr_out.cstruct sk_buff *skb, *skbn;
skb72net/netrom/nr_out.cif ((skb = skb_peek(&sk->nr->ack_queue)) == NULL)
skb75net/netrom/nr_out.cif ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL)
skb87net/netrom/nr_out.cstruct sk_buff *skb, *skbn;
skb110net/netrom/nr_out.cskb  = skb_dequeue(&sk->write_queue);
skb112net/netrom/nr_out.cif ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) {
skb113net/netrom/nr_out.cskb_queue_head(&sk->write_queue, skb);
skb130net/netrom/nr_out.cskb_queue_tail(&sk->nr->ack_queue, skb);
skb145net/netrom/nr_out.cvoid nr_transmit_buffer(struct sock *sk, struct sk_buff *skb)
skb152net/netrom/nr_out.cdptr = skb_push(skb, NR_NETWORK_LEN);
skb168net/netrom/nr_out.cskb->arp = 1;
skb170net/netrom/nr_out.cif (!nr_route_frame(skb, NULL)) {
skb171net/netrom/nr_out.ckfree_skb(skb, FREE_WRITE);
skb638net/netrom/nr_route.cint nr_route_frame(struct sk_buff *skb, ax25_cb *ax25)
skb646net/netrom/nr_route.cnr_src  = (ax25_address *)(skb->data + 0);
skb647net/netrom/nr_route.cnr_dest = (ax25_address *)(skb->data + 7);
skb653net/netrom/nr_route.creturn nr_rx_frame(skb, dev);
skb656net/netrom/nr_route.cif (--skb->data[14] == 0)
skb676net/netrom/nr_route.cdptr  = skb_push(skb, 1);
skb679net/netrom/nr_route.cax25_send_frame(skb, (ax25_address *)dev->dev_addr, &nr_neigh->callsign, nr_neigh->digipeat, nr_neigh->dev);
skb49net/netrom/nr_subr.cstruct sk_buff *skb;
skb51net/netrom/nr_subr.cwhile ((skb = skb_dequeue(&sk->write_queue)) != NULL) {
skb52net/netrom/nr_subr.cskb->sk   = sk;
skb53net/netrom/nr_subr.cskb->free = 1;
skb54net/netrom/nr_subr.ckfree_skb(skb, FREE_WRITE);
skb57net/netrom/nr_subr.cwhile ((skb = skb_dequeue(&sk->nr->ack_queue)) != NULL) {
skb58net/netrom/nr_subr.cskb->sk   = sk;
skb59net/netrom/nr_subr.cskb->free = 1;
skb60net/netrom/nr_subr.ckfree_skb(skb, FREE_WRITE);
skb63net/netrom/nr_subr.cwhile ((skb = skb_dequeue(&sk->nr->reseq_queue)) != NULL) {
skb64net/netrom/nr_subr.cskb->free = 1;
skb65net/netrom/nr_subr.ckfree_skb(skb, FREE_READ);
skb76net/netrom/nr_subr.cstruct sk_buff *skb;
skb83net/netrom/nr_subr.cskb = skb_dequeue(&sk->nr->ack_queue);
skb84net/netrom/nr_subr.cskb->sk   = sk;
skb85net/netrom/nr_subr.cskb->free = 1;
skb86net/netrom/nr_subr.ckfree_skb(skb, FREE_WRITE);
skb99net/netrom/nr_subr.cstruct sk_buff *skb, *skb_prev = NULL;
skb101net/netrom/nr_subr.cwhile ((skb = skb_dequeue(&sk->nr->ack_queue)) != NULL) {
skb103net/netrom/nr_subr.cskb_queue_head(&sk->write_queue, skb);
skb105net/netrom/nr_subr.cskb_append(skb_prev, skb);
skb106net/netrom/nr_subr.cskb_prev = skb;
skb152net/netrom/nr_subr.cstruct sk_buff *skb;
skb174net/netrom/nr_subr.cif ((skb = alloc_skb(len, GFP_ATOMIC)) == NULL)
skb180net/netrom/nr_subr.cskb_reserve(skb, AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + 2 + NR_NETWORK_LEN);
skb182net/netrom/nr_subr.cdptr = skb_put(skb, skb_tailroom(skb));
skb236net/netrom/nr_subr.cskb->free = 1;
skb238net/netrom/nr_subr.cnr_transmit_buffer(sk, skb);
skb245net/netrom/nr_subr.cvoid nr_transmit_dm(struct sk_buff *skb)
skb260net/netrom/nr_subr.cmemcpy(dptr, skb->data + 7, AX25_ADDR_LEN);
skb266net/netrom/nr_subr.cmemcpy(dptr, skb->data + 0, AX25_ADDR_LEN);
skb274net/netrom/nr_subr.c*dptr++ = skb->data[15];
skb275net/netrom/nr_subr.c*dptr++ = skb->data[16];