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);
skb553drivers/net/3c505.cstruct sk_buff *skb;
skb568drivers/net/3c505.cskb = dev_alloc_skb(rlen+2);
skb579drivers/net/3c505.cif (skb == NULL) {
skb595drivers/net/3c505.cskb_reserve(skb,2);  /* 16 byte alignment */
skb596drivers/net/3c505.cskb->dev = dev;
skb601drivers/net/3c505.cptr = (unsigned short *)skb_put(skb,len);
skb610drivers/net/3c505.ckfree_skb(skb, FREE_WRITE);
skb619drivers/net/3c505.cskb->protocol=eth_type_trans(skb,dev);
skb620drivers/net/3c505.cnetif_rx(skb);
skb1003drivers/net/3c505.celp_start_xmit (struct sk_buff *skb, struct device *dev)
skb1010drivers/net/3c505.cif (skb == NULL) {
skb1018drivers/net/3c505.cif (skb->len <= 0)
skb1022drivers/net/3c505.cprintk("%s: request to send packet of length %d\n", dev->name, (int)skb->len);
skb1043drivers/net/3c505.cif (!send_packet(dev, skb->data, skb->len)) {
skb1049drivers/net/3c505.cprintk("%s: packet of length %d sent\n", dev->name, (int)skb->len);
skb1065drivers/net/3c505.cdev_kfree_skb(skb, FREE_WRITE);
skb287drivers/net/3c507.cstatic int  el16_send_packet(struct sk_buff *skb, struct device *dev);
skb455drivers/net/3c507.cel16_send_packet(struct sk_buff *skb, struct device *dev)
skb490drivers/net/3c507.cif (skb == NULL) {
skb499drivers/net/3c507.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb500drivers/net/3c507.cunsigned char *buf = skb->data;
skb510drivers/net/3c507.cdev_kfree_skb (skb, FREE_WRITE);
skb847drivers/net/3c507.cstruct sk_buff *skb;
skb850drivers/net/3c507.cskb = dev_alloc_skb(pkt_len+2);
skb851drivers/net/3c507.cif (skb == NULL) {
skb857drivers/net/3c507.cskb_reserve(skb,2);
skb858drivers/net/3c507.cskb->dev = dev;
skb861drivers/net/3c507.cmemcpy(skb_put(skb,pkt_len), data_frame + 5, pkt_len);
skb863drivers/net/3c507.cskb->protocol=eth_type_trans(skb,dev);
skb864drivers/net/3c507.cnetif_rx(skb);
skb106drivers/net/3c509.cstatic int el3_start_xmit(struct sk_buff *skb, struct device *dev);
skb388drivers/net/3c509.cel3_start_xmit(struct sk_buff *skb, struct device *dev)
skb407drivers/net/3c509.cif (skb == NULL) {
skb412drivers/net/3c509.cif (skb->len <= 0)
skb417drivers/net/3c509.cdev->name, skb->len, inw(ioaddr + EL3_STATUS));
skb441drivers/net/3c509.coutw(skb->len, ioaddr + TX_FIFO);
skb444drivers/net/3c509.coutsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
skb454drivers/net/3c509.cdev_kfree_skb (skb, FREE_WRITE);
skb602drivers/net/3c509.cstruct sk_buff *skb;
skb604drivers/net/3c509.cskb = dev_alloc_skb(pkt_len+5);
skb608drivers/net/3c509.cif (skb != NULL) {
skb609drivers/net/3c509.cskb->dev = dev;
skb610drivers/net/3c509.cskb_reserve(skb,2);  /* Align IP on 16 byte boundaries */
skb613drivers/net/3c509.cinsl(ioaddr+RX_FIFO, skb_put(skb,pkt_len),
skb616drivers/net/3c509.cskb->protocol=eth_type_trans(skb,dev);
skb617drivers/net/3c509.cnetif_rx(skb);
skb132drivers/net/8390.cstatic int ei_start_xmit(struct sk_buff *skb, struct device *dev)
skb175drivers/net/8390.cif (skb == NULL) {
skb180drivers/net/8390.clength = skb->len;
skb181drivers/net/8390.cif (skb->len <= 0)
skb221drivers/net/8390.cei_block_output(dev, length, skb->data, output_page);
skb235drivers/net/8390.cei_block_output(dev, length, skb->data, ei_local->tx_start_page);
skb246drivers/net/8390.cdev_kfree_skb (skb, FREE_WRITE);
skb461drivers/net/8390.cstruct sk_buff *skb;
skb463drivers/net/8390.cskb = dev_alloc_skb(pkt_len+2);
skb464drivers/net/8390.cif (skb == NULL) {
skb471drivers/net/8390.cskb_reserve(skb,2);  /* IP headers on 16 byte boundaries */
skb472drivers/net/8390.cskb->dev = dev;
skb474drivers/net/8390.cei_block_input(dev, pkt_len, skb_put(skb,pkt_len),
skb476drivers/net/8390.cskb->protocol=eth_type_trans(skb,dev);
skb477drivers/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);
skb397drivers/net/arcnet.cstruct sk_buff *skb;    /* packet data buffer             */
skb405drivers/net/arcnet.cstruct sk_buff *skb;    /* buffer from upper levels */
skb455drivers/net/arcnet.cstatic int arcnetA_send_packet(struct sk_buff *skb, struct device *dev);
skb461drivers/net/arcnet.cstatic int arcnetE_send_packet(struct sk_buff *skb, struct device *dev);
skb479drivers/net/arcnet.cstruct sk_buff *skb);
skb481drivers/net/arcnet.cint arcnetA_header(struct sk_buff *skb,struct device *dev,
skb485drivers/net/arcnet.cstruct sk_buff *skb);
skb486drivers/net/arcnet.cunsigned short arcnetA_type_trans(struct sk_buff *skb,struct device *dev);
skb1054drivers/net/arcnet.carcnetA_send_packet(struct sk_buff *skb, struct device *dev)
skb1084drivers/net/arcnet.cstatus,tickssofar,lp->outgoing.skb,
skb1105drivers/net/arcnet.cif (lp->outgoing.skb)
skb1107drivers/net/arcnet.cdev_kfree_skb(lp->outgoing.skb,FREE_WRITE);
skb1110drivers/net/arcnet.clp->outgoing.skb=NULL;
skb1128drivers/net/arcnet.cif (skb == NULL) {
skb1166drivers/net/arcnet.cout->length = 1 < skb->len ? skb->len : 1;
skb1167drivers/net/arcnet.cout->hdr=(struct ClientData*)skb->data;
skb1168drivers/net/arcnet.cout->skb=skb;
skb1173drivers/net/arcnet.cfor( i=0; i< skb->len; i++)
skb1176drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb1199drivers/net/arcnet.c((char *)skb->data)+sizeof(struct ClientData));
skb1202drivers/net/arcnet.cdev_kfree_skb(out->skb,FREE_WRITE);
skb1203drivers/net/arcnet.cout->skb=NULL;
skb1218drivers/net/arcnet.cout->data=(u_char *)skb->data
skb1254drivers/net/arcnet.cif (out->skb)
skb1255drivers/net/arcnet.cdev_kfree_skb(out->skb,FREE_WRITE);
skb1256drivers/net/arcnet.cout->skb=NULL;
skb1444drivers/net/arcnet.carcnetE_send_packet(struct sk_buff *skb, struct device *dev)
skb1449drivers/net/arcnet.cprintk("%s: in arcnetE_send_packet (skb=%p)\n",dev->name,skb);
skb1469drivers/net/arcnet.cif (skb == NULL)
skb1484drivers/net/arcnet.cshort offset,length=skb->len+1;
skb1494drivers/net/arcnet.cdev_kfree_skb(skb,FREE_WRITE);
skb1508drivers/net/arcnet.cif (((struct ethhdr*)(skb->data))->h_dest[0] == 0xFF)
skb1512drivers/net/arcnet.c((struct ethhdr*)(skb->data))->h_dest[5];
skb1541drivers/net/arcnet.cmemcpy(arcsoft,skb->data,skb->len);
skb1573drivers/net/arcnet.cdev_kfree_skb(skb,FREE_WRITE);
skb1696drivers/net/arcnet.cstatus,out->numsegs,out->segnum,out->skb);
skb1732drivers/net/arcnet.cif (!lp->outgoing.skb)
skb1765drivers/net/arcnet.cif (out->skb)
skb1766drivers/net/arcnet.cdev_kfree_skb(out->skb,FREE_WRITE);
skb1767drivers/net/arcnet.cout->skb=NULL;
skb1905drivers/net/arcnet.cstruct sk_buff *skb;
skb1933drivers/net/arcnet.cif (in->skb)  /* already assembling one! */
skb1938drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb1941drivers/net/arcnet.cin->skb=NULL;
skb1946drivers/net/arcnet.cskb = alloc_skb(length, GFP_ATOMIC);
skb1947drivers/net/arcnet.cif (skb == NULL) {
skb1952drivers/net/arcnet.csoft=(struct ClientData *)skb->data;
skb1954drivers/net/arcnet.cskb->len = length;
skb1955drivers/net/arcnet.cskb->dev = dev;
skb2002drivers/net/arcnet.cfor( i=0; i< skb->len; i++)
skb2005drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb2011drivers/net/arcnet.cskb->protocol=arcnetA_type_trans(skb,dev);
skb2014drivers/net/arcnet.cnetif_rx(skb);
skb2041drivers/net/arcnet.cif (in->skb && in->sequence!=arcsoft->sequence)
skb2046drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb2047drivers/net/arcnet.cin->skb=NULL;
skb2057drivers/net/arcnet.cif (in->skb)  /* already assembling one! */
skb2064drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb2079drivers/net/arcnet.cin->skb=skb=alloc_skb(508*in->numpackets
skb2082drivers/net/arcnet.cif (skb == NULL) {
skb2092drivers/net/arcnet.cskb->free=1;
skb2094drivers/net/arcnet.csoft=(struct ClientData *)skb->data;
skb2096drivers/net/arcnet.cskb->len=sizeof(struct ClientData);
skb2097drivers/net/arcnet.cskb->dev=dev;
skb2111drivers/net/arcnet.cif (!in->skb)
skb2134drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb2135drivers/net/arcnet.cin->skb=NULL;
skb2142drivers/net/arcnet.csoft=(struct ClientData *)in->skb->data;
skb2145drivers/net/arcnet.cskb=in->skb;
skb2147drivers/net/arcnet.cmemcpy(skb->data+skb->len,
skb2151drivers/net/arcnet.cskb->len+=length-sizeof(struct ClientData);
skb2159drivers/net/arcnet.cif (!skb || !in->skb)
skb2161drivers/net/arcnet.cskb,in->skb);
skb2162drivers/net/arcnet.cin->skb=NULL;
skb2168drivers/net/arcnet.cfor( i=0; i< skb->len; i++)
skb2171drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb2178drivers/net/arcnet.cskb->protocol=arcnetA_type_trans(skb,dev);
skb2181drivers/net/arcnet.cnetif_rx(skb);
skb2195drivers/net/arcnet.cstruct sk_buff *skb;
skb2201drivers/net/arcnet.cskb = alloc_skb(length, GFP_ATOMIC);
skb2202drivers/net/arcnet.cif (skb == NULL) {
skb2208drivers/net/arcnet.cskb->len = length;
skb2209drivers/net/arcnet.cskb->dev = lp->edev;
skb2211drivers/net/arcnet.cmemcpy(skb->data,(u_char *)arcsoft+1,length-1);
skb2217drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
skb2222drivers/net/arcnet.cprintk("%02hX ",((u_char *)skb->data)[i]);
skb2228drivers/net/arcnet.cskb->protocol=eth_type_trans(skb,dev);
skb2231drivers/net/arcnet.cnetif_rx(skb);
skb2283drivers/net/arcnet.cstruct sk_buff *skb)
skb2285drivers/net/arcnet.cint arcnetA_header(struct sk_buff *skb,struct device *dev,
skb2293drivers/net/arcnet.cskb_push(skb,dev->hard_header_len);
skb2369drivers/net/arcnet.cstruct sk_buff *skb)
skb2390drivers/net/arcnet.creturn arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0;
skb2400drivers/net/arcnet.cunsigned short arcnetA_type_trans(struct sk_buff *skb,struct device *dev)
skb2402drivers/net/arcnet.cstruct ClientData *head = (struct ClientData *) skb->data;
skb2407drivers/net/arcnet.cskb->mac.raw=skb->data;
skb2408drivers/net/arcnet.cskb_pull(skb,dev->hard_header_len);
skb2412drivers/net/arcnet.cskb->pkt_type=PACKET_BROADCAST;
skb2417drivers/net/arcnet.cskb->pkt_type=PACKET_OTHERHOST;
skb124drivers/net/at1700.cstatic int  net_send_packet(struct sk_buff *skb, struct device *dev);
skb370drivers/net/at1700.cnet_send_packet(struct sk_buff *skb, struct device *dev)
skb404drivers/net/at1700.cif (skb == NULL) {
skb414drivers/net/at1700.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb415drivers/net/at1700.cunsigned char *buf = skb->data;
skb441drivers/net/at1700.cdev_kfree_skb (skb, FREE_WRITE);
skb526drivers/net/at1700.cstruct sk_buff *skb;
skb537drivers/net/at1700.cskb = dev_alloc_skb(pkt_len+3);
skb538drivers/net/at1700.cif (skb == NULL) {
skb547drivers/net/at1700.cskb->dev = dev;
skb548drivers/net/at1700.cskb_reserve(skb,2);
skb550drivers/net/at1700.cinsw(ioaddr + DATAPORT, skb_put(skb,pkt_len), (pkt_len + 1) >> 1);
skb551drivers/net/at1700.cskb->protocol=eth_type_trans(skb, dev);
skb552drivers/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;
skb2478drivers/net/de4x5.cstruct sk_buff *skb;
skb2480drivers/net/de4x5.cif ((skb = alloc_skb(0, GFP_ATOMIC)) != NULL) {
skb2481drivers/net/de4x5.cskb->len= FAKE_FRAME_LEN;
skb2482drivers/net/de4x5.cskb->arp=1;
skb2483drivers/net/de4x5.cskb->dev=dev;
skb2484drivers/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);
skb144drivers/net/eepro.cstatic int  eepro_send_packet(struct sk_buff *skb, struct device *dev);
skb603drivers/net/eepro.ceepro_send_packet(struct sk_buff *skb, struct device *dev)
skb641drivers/net/eepro.cif (skb == NULL) {
skb650drivers/net/eepro.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb651drivers/net/eepro.cunsigned char *buf = skb->data;
skb657drivers/net/eepro.cdev_kfree_skb (skb, FREE_WRITE);
skb1042drivers/net/eepro.cstruct sk_buff *skb;
skb1045drivers/net/eepro.cskb = dev_alloc_skb(rcv_size+2);
skb1046drivers/net/eepro.cif (skb == NULL) {
skb1051drivers/net/eepro.cskb->dev = dev;
skb1052drivers/net/eepro.cskb_reserve(skb,2);
skb1054drivers/net/eepro.cinsw(ioaddr+IO_PORT, skb_put(skb,rcv_size), (rcv_size + 1) >> 1);
skb1056drivers/net/eepro.cskb->protocol = eth_type_trans(skb,dev);  
skb1057drivers/net/eepro.cnetif_rx(skb);
skb293drivers/net/eexpress.cstatic int  eexp_send_packet(struct sk_buff *skb, struct device *dev);
skb453drivers/net/eexpress.ceexp_send_packet(struct sk_buff *skb, struct device *dev)
skb488drivers/net/eexpress.cif (skb == NULL) {
skb497drivers/net/eexpress.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb498drivers/net/eexpress.cunsigned char *buf = skb->data;
skb508drivers/net/eexpress.cdev_kfree_skb (skb, FREE_WRITE);
skb939drivers/net/eexpress.cstruct sk_buff *skb;
skb942drivers/net/eexpress.cskb = dev_alloc_skb(pkt_len+2);
skb943drivers/net/eexpress.cif (skb == NULL) {
skb948drivers/net/eexpress.cskb->dev = dev;
skb949drivers/net/eexpress.cskb_reserve(skb,2);
skb953drivers/net/eexpress.cinsw(ioaddr, skb_put(skb,pkt_len), (pkt_len + 1) >> 1);
skb955drivers/net/eexpress.cskb->protocol=eth_type_trans(skb,dev);
skb956drivers/net/eexpress.cnetif_rx(skb);
skb149drivers/net/eql.cstatic int eql_slave_xmit(struct sk_buff *skb, struct device *dev); /*  */
skb152drivers/net/eql.cstatic int eql_header(struct sk_buff *skb, struct device *dev, 
skb156drivers/net/eql.cunsigned long raddr, struct sk_buff *skb); /*  */
skb357drivers/net/eql.ceql_slave_xmit(struct sk_buff *skb, struct device *dev)
skb363drivers/net/eql.cif (skb == NULL)
skb378drivers/net/eql.cdev->name, eql_number_slaves (eql->queue), skb->len,
skb382drivers/net/eql.cdev_queue_xmit (skb, slave_dev, 1);
skb384drivers/net/eql.cslave->bytes_queued += skb->len; 
skb392drivers/net/eql.cdev_kfree_skb(skb, FREE_WRITE);
skb410drivers/net/eql.ceql_header(struct sk_buff *skb, struct device *dev, 
skb421drivers/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 */
skb195drivers/net/hp100.cstatic int hp100_start_xmit( struct sk_buff *skb, struct device *dev );
skb584drivers/net/hp100.cstatic int hp100_start_xmit( struct sk_buff *skb, struct device *dev )
skb605drivers/net/hp100.cif ( ( i = ( hp100_inl( TX_MEM_FREE ) & ~0x7fffffff ) ) < skb -> len + 16 )
skb649drivers/net/hp100.cif ( skb == NULL )
skb655drivers/net/hp100.cif ( skb -> len <= 0 ) return 0;
skb668drivers/net/hp100.cprintk( "hp100_start_xmit: irq_status = 0x%x, len = %d\n", val, (int)skb -> len );
skb670drivers/net/hp100.cok_flag = skb -> len >= HP100_MIN_PACKET_SIZE;
skb671drivers/net/hp100.ci = ok_flag ? skb -> len : HP100_MIN_PACKET_SIZE;
skb678drivers/net/hp100.cmemcpy( lp -> mem_ptr_virt, skb -> data, skb -> len );
skb680drivers/net/hp100.cmemset( lp -> mem_ptr_virt, 0, HP100_MIN_PACKET_SIZE - skb -> len );
skb684drivers/net/hp100.cmemcpy_toio( lp -> mem_ptr_phys, skb -> data, skb -> len );
skb686drivers/net/hp100.cmemset_io( lp -> mem_ptr_phys, 0, HP100_MIN_PACKET_SIZE - skb -> len );
skb691drivers/net/hp100.coutsl( ioaddr + HP100_REG_DATA32, skb -> data, ( skb -> len + 3 ) >> 2 );
skb693drivers/net/hp100.cfor ( i = ( skb -> len + 3 ) & ~3; i < HP100_MIN_PACKET_SIZE; i += 4 )
skb701drivers/net/hp100.cdev_kfree_skb( skb, FREE_WRITE );
skb720drivers/net/hp100.cstruct sk_buff *skb;
skb763drivers/net/hp100.cskb = dev_alloc_skb( pkt_len );
skb764drivers/net/hp100.cif ( skb == NULL )
skb775drivers/net/hp100.cskb -> dev = dev;
skb776drivers/net/hp100.cptr = (u_char *)skb_put( skb, pkt_len );
skb786drivers/net/hp100.cskb -> protocol = eth_type_trans( skb, dev );
skb787drivers/net/hp100.cnetif_rx( skb );
skb118drivers/net/ibmtr.cstatic int tok_send_packet(struct sk_buff *skb, struct device *dev);
skb1063drivers/net/ibmtr.cstruct sk_buff *skb;
skb1106drivers/net/ibmtr.cif(!(skb=dev_alloc_skb(ntohs(rec_req->frame_len)-lan_hdr_len+sizeof(struct trh_hdr)))) {
skb1114drivers/net/ibmtr.cskb_put(skb,ntohs(rec_req->frame_len)-lan_hdr_len+sizeof(struct trh_hdr));
skb1115drivers/net/ibmtr.cskb->dev=dev;
skb1122drivers/net/ibmtr.cdata=skb->data;
skb1152drivers/net/ibmtr.cskb->protocol=tr_type_trans(skb,dev);
skb1153drivers/net/ibmtr.cnetif_rx(skb);
skb1158drivers/net/ibmtr.cstatic int tok_send_packet(struct sk_buff *skb, struct device *dev) {
skb1179drivers/net/ibmtr.cif(skb==NULL) {
skb1189drivers/net/ibmtr.cti->current_skb=skb; /* save skb. We will need it when the adapter
skb256drivers/net/lance.cstatic int lance_start_xmit(struct sk_buff *skb, struct device *dev);
skb709drivers/net/lance.clance_start_xmit(struct sk_buff *skb, struct device *dev)
skb751drivers/net/lance.cif (skb == NULL) {
skb756drivers/net/lance.cif (skb->len <= 0)
skb791drivers/net/lance.c-(ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
skb793drivers/net/lance.clp->tx_ring[entry].length = -skb->len;
skb799drivers/net/lance.cif ((int)(skb->data) + skb->len > 0x01000000) {
skb802drivers/net/lance.cdev->name, (int)(skb->data));
skb803drivers/net/lance.cmemcpy(&lp->tx_bounce_buffs[entry], skb->data, skb->len);
skb806drivers/net/lance.cdev_kfree_skb (skb, FREE_WRITE);
skb808drivers/net/lance.clp->tx_skbuff[entry] = skb;
skb809drivers/net/lance.clp->tx_ring[entry].base = (int)(skb->data) | 0x83000000;
skb986drivers/net/lance.cstruct sk_buff *skb;
skb988drivers/net/lance.cskb = dev_alloc_skb(pkt_len+2);
skb989drivers/net/lance.cif (skb == NULL) {
skb1002drivers/net/lance.cskb->dev = dev;
skb1003drivers/net/lance.cskb_reserve(skb,2);  /* 16 byte align */
skb1004drivers/net/lance.cskb_put(skb,pkt_len);  /* Make room */
skb1005drivers/net/lance.ceth_copy_and_sum(skb,
skb1008drivers/net/lance.cskb->protocol=eth_type_trans(skb,dev);
skb1009drivers/net/lance.cnetif_rx(skb);
skb48drivers/net/loopback.cstatic int loopback_xmit(struct sk_buff *skb, struct device *dev)
skb54drivers/net/loopback.cif (skb == NULL || dev == NULL) 
skb73drivers/net/loopback.cif(skb->free==0)
skb75drivers/net/loopback.cstruct sk_buff *skb2=skb;
skb76drivers/net/loopback.cskb=skb_clone(skb, GFP_ATOMIC);    /* Clone the buffer */
skb77drivers/net/loopback.cif(skb==NULL)
skb82drivers/net/loopback.celse if(skb->sk)
skb90drivers/net/loopback.cskb->sk->wmem_alloc-=skb->truesize;
skb91drivers/net/loopback.cskb->sk->write_space(skb->sk);
skb95drivers/net/loopback.cskb->protocol=eth_type_trans(skb,dev);
skb96drivers/net/loopback.cskb->dev=dev;
skb99drivers/net/loopback.cnetif_rx(skb);
skb101drivers/net/loopback.cskb_device_unlock(skb);
skb789drivers/net/ni52.cstruct sk_buff *skb;
skb803drivers/net/ni52.cskb = (struct sk_buff *) dev_alloc_skb(totlen+2);
skb804drivers/net/ni52.cif(skb != NULL)
skb806drivers/net/ni52.cskb->dev = dev;
skb807drivers/net/ni52.cskb_reserve(skb,2);    /* 16 byte alignment */
skb808drivers/net/ni52.cmemcpy(skb_put(skb,totlen),(char *) p->base+(unsigned long) rbd->buffer, totlen);
skb809drivers/net/ni52.cskb->protocol=eth_type_trans(skb,dev);
skb810drivers/net/ni52.cnetif_rx(skb);
skb925drivers/net/ni52.cstatic int ni52_send_packet(struct sk_buff *skb, struct device *dev)
skb969drivers/net/ni52.cif(skb == NULL)
skb975drivers/net/ni52.cif (skb->len <= 0)
skb977drivers/net/ni52.cif(skb->len > XMIT_BUFF_SIZE)
skb979drivers/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);
skb987drivers/net/ni52.cmemcpy((char *)p->xmit_cbuffs[p->xmit_count],(char *)(skb->data),skb->len);
skb988drivers/net/ni52.clen = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN;
skb1002drivers/net/ni52.cdev_kfree_skb(skb,FREE_WRITE);
skb1022drivers/net/ni52.cdev_kfree_skb(skb,FREE_WRITE);
skb1042drivers/net/ni52.cdev_kfree_skb(skb,FREE_WRITE);
skb120drivers/net/ni65.cstatic int   ni65_send_packet(struct sk_buff *skb, struct device *dev);
skb450drivers/net/ni65.cstruct sk_buff *skb;
skb460drivers/net/ni65.cskb = (struct sk_buff *) p->tmdbufs[p->tmdlast];
skb461drivers/net/ni65.cdev_kfree_skb(skb,FREE_WRITE); 
skb498drivers/net/ni65.cstruct sk_buff *skb,*skb1;
skb527drivers/net/ni65.cskb = dev_alloc_skb(R_BUF_SIZE);
skb528drivers/net/ni65.cif(skb != NULL)
skb530drivers/net/ni65.cif( (unsigned long) (skb->data + R_BUF_SIZE) & 0xff000000) {
skb531drivers/net/ni65.cmemcpy(skb_put(skb,len),p->recv_skb[p->rmdnum]->data,len);
skb532drivers/net/ni65.cskb1 = skb;
skb536drivers/net/ni65.cp->recv_skb[p->rmdnum] = skb;
skb562drivers/net/ni65.cstatic int ni65_send_packet(struct sk_buff *skb, struct device *dev)
skb579drivers/net/ni65.cif(skb == NULL)
skb585drivers/net/ni65.cif (skb->len <= 0)
skb600drivers/net/ni65.cshort len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb605drivers/net/ni65.ctmdp->u.buffer = (unsigned long) (skb->data);
skb606drivers/net/ni65.cp->tmdbufs[p->tmdnum] = skb;
skb608drivers/net/ni65.cmemcpy((char *) (tmdp->u.buffer & 0x00ffffff),(char *)skb->data,skb->len);
skb609drivers/net/ni65.cdev_kfree_skb (skb, FREE_WRITE);
skb153drivers/net/pi2.cstatic int pi_send_packet(struct sk_buff *skb, struct device *dev);
skb210drivers/net/pi2.cstatic void hardware_send_packet(struct pi_local *lp, struct sk_buff *skb)
skb222drivers/net/pi2.cskb_queue_tail(&lp->sndq, skb);
skb340drivers/net/pi2.cstatic void free_p(struct sk_buff *skb)
skb342drivers/net/pi2.cdev_kfree_skb(skb, FREE_WRITE);
skb512drivers/net/pi2.cstruct sk_buff *skb;
skb556drivers/net/pi2.cskb = dev_alloc_skb(sksize);
skb557drivers/net/pi2.cif (skb == NULL) {
skb563drivers/net/pi2.cskb->dev = dev;
skb566drivers/net/pi2.ccfix=skb_put(skb,pkt_len);
skb571drivers/net/pi2.cskb->protocol=htons(ETH_P_AX25);
skb572drivers/net/pi2.cskb->mac.raw=skb->data;
skb573drivers/net/pi2.cIS_SKB(skb);
skb574drivers/net/pi2.cnetif_rx(skb);
skb587drivers/net/pi2.cstruct sk_buff *skb;
skb645drivers/net/pi2.cskb = dev_alloc_skb(sksize);
skb646drivers/net/pi2.cif (skb == NULL) {
skb652drivers/net/pi2.cskb->dev = dev;
skb655drivers/net/pi2.ccfix=skb_put(skb,pkt_len);
skb659drivers/net/pi2.cskb->protocol=ntohs(ETH_P_AX25);
skb660drivers/net/pi2.cIS_SKB(skb);
skb661drivers/net/pi2.cnetif_rx(skb);
skb1078drivers/net/pi2.cstatic int pi_header(struct sk_buff *skb, struct device *dev, unsigned short type,
skb1081drivers/net/pi2.creturn ax25_encapsulate(skb, dev, type, daddr, saddr, len);
skb1086drivers/net/pi2.cstruct sk_buff *skb)
skb1088drivers/net/pi2.creturn ax25_rebuild_header(buff, dev, raddr, skb);
skb1498drivers/net/pi2.cstatic int pi_send_packet(struct sk_buff *skb, struct device *dev)
skb1505drivers/net/pi2.cif (skb == NULL) {
skb1509drivers/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;
skb527drivers/net/plip.crcv->skb = dev_alloc_skb(rcv->length.h);
skb528drivers/net/plip.cif (rcv->skb == NULL) {
skb532drivers/net/plip.cskb_put(rcv->skb,rcv->length.h);
skb533drivers/net/plip.crcv->skb->dev = dev;
skb539drivers/net/plip.clbuf = rcv->skb->data;
skb564drivers/net/plip.crcv->skb->protocol=eth_type_trans(rcv->skb, dev);
skb565drivers/net/plip.cnetif_rx(rcv->skb);
skb567drivers/net/plip.crcv->skb = NULL;
skb651drivers/net/plip.cif (snd->skb == NULL || (lbuf = snd->skb->data) == NULL) {
skb654drivers/net/plip.csnd->skb = NULL;
skb723drivers/net/plip.cdev_kfree_skb(snd->skb, FREE_WRITE);
skb730drivers/net/plip.csnd->skb = NULL;
skb839drivers/net/plip.cstruct sk_buff *skb)
skb846drivers/net/plip.creturn nl->orig_rebuild_header(buff, dev, dst, skb);
skb861drivers/net/plip.cplip_tx_packet(struct sk_buff *skb, struct device *dev)
skb872drivers/net/plip.cif (skb == NULL) {
skb882drivers/net/plip.cif (skb->len > dev->mtu) {
skb883drivers/net/plip.cprintk("%s: packet too big, %d.\n", dev->name, (int)skb->len);
skb893drivers/net/plip.csnd->skb = skb;
skb894drivers/net/plip.csnd->length.h = skb->len;
skb940drivers/net/plip.cnl->rcv_data.skb = nl->snd_data.skb = NULL;
skb975drivers/net/plip.cif (snd->skb) {
skb976drivers/net/plip.cdev_kfree_skb(snd->skb, FREE_WRITE);
skb977drivers/net/plip.csnd->skb = NULL;
skb980drivers/net/plip.cif (rcv->skb) {
skb981drivers/net/plip.crcv->skb->free = 1;
skb982drivers/net/plip.ckfree_skb(rcv->skb, FREE_READ);
skb983drivers/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);
skb1724drivers/net/ppp.cppp_xmit(struct sk_buff *skb, struct device *dev)
skb1733drivers/net/ppp.cif (skb == NULL) {
skb1741drivers/net/ppp.cp     = skb->data;
skb1742drivers/net/ppp.clen   = skb->len;
skb1746drivers/net/ppp.c(unsigned long int) skb, ppp->sending));
skb1750drivers/net/ppp.cdev_kfree_skb(skb, FREE_WRITE);
skb1773drivers/net/ppp.clen = ntohs( ((struct iphdr *)(skb->data)) -> tot_len );
skb1815drivers/net/ppp.cstruct iphdr *iph = (struct iphdr *)skb->data;
skb1862drivers/net/ppp.cdev_kfree_skb(skb, FREE_WRITE);
skb1881drivers/net/ppp.cppp_add_arp(unsigned long addr, struct sk_buff *skb, struct device *dev)
skb1888drivers/net/ppp.cppp_header(struct sk_buff *skb, struct device *dev, unsigned short type,
skb1896drivers/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 */
skb110drivers/net/skeleton.cstatic int  net_send_packet(struct sk_buff *skb, struct device *dev);
skb335drivers/net/skeleton.cnet_send_packet(struct sk_buff *skb, struct device *dev)
skb357drivers/net/skeleton.cif (skb == NULL) {
skb367drivers/net/skeleton.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb368drivers/net/skeleton.cunsigned char *buf = skb->data;
skb373drivers/net/skeleton.cdev_kfree_skb (skb, FREE_WRITE);
skb444drivers/net/skeleton.cstruct sk_buff *skb;
skb446drivers/net/skeleton.cskb = dev_alloc_skb(pkt_len);
skb447drivers/net/skeleton.cif (skb == NULL) {
skb453drivers/net/skeleton.cskb->dev = dev;
skb456drivers/net/skeleton.cmemcpy(skb_put(skb,pkt_len), (void*)dev->rmem_start,
skb459drivers/net/skeleton.cinsw(ioaddr, skb->data, (pkt_len + 1) >> 1);
skb461drivers/net/skeleton.cnetif_rx(skb);
skb342drivers/net/slip.cstruct sk_buff *skb;
skb379drivers/net/slip.cskb = dev_alloc_skb(count);
skb380drivers/net/slip.cif (skb == NULL)  {
skb385drivers/net/slip.cskb->dev = sl->dev;
skb386drivers/net/slip.cmemcpy(skb_put(skb,count), sl->rbuff, count);
skb387drivers/net/slip.cskb->mac.raw=skb->data;
skb389drivers/net/slip.cskb->protocol=htons(ETH_P_AX25);
skb391drivers/net/slip.cskb->protocol=htons(ETH_P_IP);
skb392drivers/net/slip.cnetif_rx(skb);
skb481drivers/net/slip.csl_xmit(struct sk_buff *skb, struct device *dev)
skb520drivers/net/slip.cif (skb != NULL) {
skb522drivers/net/slip.csl_encaps(sl, skb->data, skb->len);
skb523drivers/net/slip.cdev_kfree_skb(skb, FREE_WRITE);
skb533drivers/net/slip.csl_header(struct sk_buff *skb, struct device *dev, unsigned short type,
skb541drivers/net/slip.creturn ax25_encapsulate(skb, dev, type, daddr, saddr, len);
skb552drivers/net/slip.cstruct sk_buff *skb)
skb559drivers/net/slip.creturn ax25_rebuild_header(buff, dev, raddr, skb);
skb161drivers/net/tulip.cstatic int tulip_start_xmit(struct sk_buff *skb, struct device *dev);
skb389drivers/net/tulip.ctulip_start_xmit(struct sk_buff *skb, struct device *dev)
skb419drivers/net/tulip.cif (skb == NULL || skb->len <= 0) {
skb441drivers/net/tulip.ctp->tx_skbuff[entry] = skb;
skb442drivers/net/tulip.ctp->tx_ring[entry].length = skb->len |
skb444drivers/net/tulip.ctp->tx_ring[entry].buffer1 = skb->data;
skb614drivers/net/tulip.cstruct sk_buff *skb;
skb616drivers/net/tulip.cskb = dev_alloc_skb(pkt_len+2);
skb617drivers/net/tulip.cif (skb == NULL) {
skb632drivers/net/tulip.cskb->dev = dev;
skb633drivers/net/tulip.cskb_reserve(skb,2);  /* 16 byte align the data fields */
skb634drivers/net/tulip.cmemcpy(skb_put(skb,pkt_len), lp->rx_ring[entry].buffer1, pkt_len);
skb635drivers/net/tulip.cskb->protocol=eth_type_trans(skb,dev);
skb636drivers/net/tulip.cnetif_rx(skb);
skb47drivers/net/tunnel.cstatic int tunnel_xmit(struct sk_buff *skb, struct device *dev);
skb121drivers/net/tunnel.cstatic int tunnel_xmit(struct sk_buff *skb, struct device *dev)
skb132drivers/net/tunnel.cif (skb == NULL || dev == NULL)
skb157drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb162drivers/net/tunnel.ciph=(struct iphdr *)skb->data;
skb169drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb186drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb193drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb207drivers/net/tunnel.cnewlen = (skb->len + ip_header_len);
skb211drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb221drivers/net/tunnel.cmemcpy(skb2->h.iph, skb->data, ip_header_len );
skb222drivers/net/tunnel.cmemcpy(skb2->data + ip_header_len, skb->data, skb->len);
skb224drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb1392drivers/net/wavelan.cwavelan_send_packet(struct sk_buff *skb, device *dev)
skb1433drivers/net/wavelan.cif (skb == (struct sk_buff *)0)
skb1447drivers/net/wavelan.clength = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN;
skb1448drivers/net/wavelan.cbuf = skb->data;
skb1455drivers/net/wavelan.cdev_kfree_skb(skb, FREE_WRITE);
skb1500drivers/net/wavelan.cstruct sk_buff  *skb;
skb1643drivers/net/wavelan.cif ((skb = dev_alloc_skb(sksize)) == (struct sk_buff *)0)
skb1650drivers/net/wavelan.cskb->dev = dev;
skb1652drivers/net/wavelan.cobram_read(ioaddr, rbd.rbd_bufl, skb_put(skb,pkt_len), pkt_len);
skb1668drivers/net/wavelan.cc = skb->data[i];
skb1670drivers/net/wavelan.cprintk(" %c", skb->data[i]);
skb1672drivers/net/wavelan.cprintk("%02x", skb->data[i]);
skb1681drivers/net/wavelan.cskb->protocol=eth_type_trans(skb,dev);
skb1682drivers/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 unsigned char *    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__ unsigned char * skb_pull(struct sk_buff *skb, int len)
skb329include/linux/skbuff.hif(len > skb->len)
skb331include/linux/skbuff.hskb->data+=len;
skb332include/linux/skbuff.hskb->len-=len;
skb333include/linux/skbuff.hreturn skb->data;
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;
skb367include/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);
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,
skb244include/net/sock.hvoid      (*wfree)(struct sock *sk, struct sk_buff *skb);
skb245include/net/sock.hvoid      (*rfree)(struct sock *sk, struct sk_buff *skb);
skb261include/net/sock.hint      (*build_header)(struct sk_buff *skb,
skb271include/net/sock.hstruct device *dev, struct sk_buff *skb,
skb339include/net/sock.hstruct sk_buff *skb);
skb341include/net/sock.hstruct sk_buff *skb);
skb352include/net/sock.hextern struct sk_buff     *sock_alloc_send_skb(struct sock *skb,
skb366include/net/sock.hextern __inline__ int sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
skb369include/net/sock.hif(sk->rmem_alloc + skb->truesize >= sk->rcvbuf)
skb373include/net/sock.hsk->rmem_alloc+=skb->truesize;
skb374include/net/sock.hskb->sk=sk;
skb376include/net/sock.hskb_queue_tail(&sk->receive_queue,skb);
skb378include/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;
skb53net/802/p8022.crawp = skb_push(skb,3);
skb57net/802/p8022.cdev->hard_header(skb, dev, ETH_P_802_3, dest_node, NULL, skb->len);
skb9net/802/p8023.cstruct sk_buff *skb, unsigned char *dest_node)
skb11net/802/p8023.cstruct device  *dev = skb->dev;
skb13net/802/p8023.cdev->hard_header(skb, dev, ETH_P_802_3, dest_node, NULL, skb->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)
skb77net/802/psnap.cmemcpy(skb_push(skb,5),dl->type,5);
skb78net/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;
skb90net/appletalk/aarp.cstruct sk_buff *skb;
skb92net/appletalk/aarp.cwhile((skb=skb_dequeue(&a->packet_queue))!=NULL)
skb93net/appletalk/aarp.ckfree_skb(skb, FREE_WRITE);
skb106net/appletalk/aarp.cstruct sk_buff *skb=alloc_skb(len, GFP_ATOMIC);
skb110net/appletalk/aarp.cif(skb==NULL || sat==NULL)
skb117net/appletalk/aarp.cskb_reserve(skb,dev->hard_header_len+aarp_dl->header_length);
skb118net/appletalk/aarp.ceah    =  (struct elapaarp *)skb_put(skb,sizeof(struct elapaarp));
skb119net/appletalk/aarp.cskb->arp  =  1;
skb120net/appletalk/aarp.cskb->free  =  1;
skb121net/appletalk/aarp.cskb->dev  =  a->dev;
skb149net/appletalk/aarp.caarp_dl->datalink_header(aarp_dl, skb, aarp_eth_multicast);  
skb156net/appletalk/aarp.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb168net/appletalk/aarp.cstruct sk_buff *skb=alloc_skb(len, GFP_ATOMIC);
skb171net/appletalk/aarp.cif(skb==NULL)
skb178net/appletalk/aarp.cskb_reserve(skb,dev->hard_header_len+aarp_dl->header_length);
skb179net/appletalk/aarp.ceah    =  (struct elapaarp *)skb_put(skb,sizeof(struct elapaarp));   
skb180net/appletalk/aarp.cskb->arp  =  1;
skb181net/appletalk/aarp.cskb->free  =  1;
skb182net/appletalk/aarp.cskb->dev  =  dev;
skb213net/appletalk/aarp.caarp_dl->datalink_header(aarp_dl, skb, sha);  
skb219net/appletalk/aarp.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb230net/appletalk/aarp.cstruct sk_buff *skb=alloc_skb(len, GFP_ATOMIC);
skb234net/appletalk/aarp.cif(skb==NULL)
skb241net/appletalk/aarp.cskb_reserve(skb,dev->hard_header_len+aarp_dl->header_length);
skb242net/appletalk/aarp.ceah    =  (struct elapaarp *)skb_put(skb,sizeof(struct elapaarp));
skb244net/appletalk/aarp.cskb->arp  =  1;
skb245net/appletalk/aarp.cskb->free  =  1;
skb246net/appletalk/aarp.cskb->dev  =  dev;
skb274net/appletalk/aarp.caarp_dl->datalink_header(aarp_dl, skb, aarp_eth_multicast);  
skb280net/appletalk/aarp.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb428net/appletalk/aarp.cint aarp_send_ddp(struct device *dev,struct sk_buff *skb, struct at_addr *sa, void *hwaddr)
skb443net/appletalk/aarp.cskb->dev = dev;
skb455net/appletalk/aarp.cddp_dl->datalink_header(ddp_dl, skb, ddp_eth_multicast);
skb456net/appletalk/aarp.cif(skb->sk==NULL)
skb457net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, SOPRI_NORMAL);
skb459net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, skb->sk->priority);
skb470net/appletalk/aarp.cddp_dl->datalink_header(ddp_dl, skb, a->hwaddr);
skb471net/appletalk/aarp.cif(skb->sk==NULL)
skb472net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, SOPRI_NORMAL);
skb474net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, skb->sk->priority);
skb487net/appletalk/aarp.cskb_queue_tail(&a->packet_queue, skb);
skb507net/appletalk/aarp.cskb_queue_tail(&a->packet_queue, skb);
skb538net/appletalk/aarp.cstruct sk_buff *skb;
skb549net/appletalk/aarp.cwhile((skb=skb_dequeue(&a->packet_queue))!=NULL)
skb552net/appletalk/aarp.cddp_dl->datalink_header(ddp_dl,skb,a->hwaddr);
skb553net/appletalk/aarp.cif(skb->sk==NULL)
skb554net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, SOPRI_NORMAL);
skb556net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, skb->sk->priority);
skb564net/appletalk/aarp.cstatic int aarp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb566net/appletalk/aarp.cstruct elapaarp *ea=(struct elapaarp *)skb->h.raw;
skb580net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb588net/appletalk/aarp.cif(!skb_pull(skb,sizeof(*ea)))
skb590net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb603net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb634net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb646net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb703net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb193net/appletalk/ddp.cstruct sk_buff *skb;
skb196net/appletalk/ddp.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL)
skb198net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1339net/appletalk/ddp.cint atalk_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb1342net/appletalk/ddp.cstruct ddpehdr *ddp=(void *)skb->h.raw;
skb1348net/appletalk/ddp.cif(skb->len<sizeof(*ddp))
skb1350net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1367net/appletalk/ddp.coriglen = skb->len;
skb1369net/appletalk/ddp.cskb_trim(skb,min(skb->len,ddp->deh_len));
skb1377net/appletalk/ddp.cif(skb->len<sizeof(*ddp))
skb1379net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1391net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1410net/appletalk/ddp.cif (skb->pkt_type != PACKET_HOST || ddp->deh_dnet == 0) 
skb1412net/appletalk/ddp.ckfree_skb(skb, FREE_READ);
skb1423net/appletalk/ddp.ckfree_skb(skb, FREE_READ);
skb1429net/appletalk/ddp.cskb_trim(skb,min(origlen, rt->dev->hard_header_len + 
skb1436net/appletalk/ddp.cif(aarp_send_ddp(rt->dev, skb, &ta, NULL)==-1)
skb1437net/appletalk/ddp.ckfree_skb(skb, FREE_READ);
skb1451net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1460net/appletalk/ddp.cskb->sk = sock;
skb1462net/appletalk/ddp.cif(sock_queue_rcv_skb(sock,skb)<0)
skb1464net/appletalk/ddp.cskb->sk=NULL;
skb1465net/appletalk/ddp.ckfree_skb(skb, FREE_WRITE);
skb1475net/appletalk/ddp.cstruct sk_buff *skb;
skb1548net/appletalk/ddp.cskb = sock_alloc_send_skb(sk, size, 0 , &err);
skb1549net/appletalk/ddp.cif(skb==NULL)
skb1552net/appletalk/ddp.cskb->sk=sk;
skb1553net/appletalk/ddp.cskb->free=1;
skb1554net/appletalk/ddp.cskb->arp=1;
skb1555net/appletalk/ddp.cskb_reserve(skb,ddp_dl->header_length);
skb1556net/appletalk/ddp.cskb_reserve(skb,dev->hard_header_len);
skb1558net/appletalk/ddp.cskb->dev=dev;
skb1563net/appletalk/ddp.cddp=(struct ddpehdr *)skb_put(skb,sizeof(struct ddpehdr));
skb1584net/appletalk/ddp.cmemcpy_fromiovec(skb_put(skb,len),msg->msg_iov,len);
skb1600net/appletalk/ddp.cstruct sk_buff *skb2=skb_clone(skb, GFP_KERNEL);
skb1618net/appletalk/ddp.csk->wmem_alloc-=skb->truesize;
skb1619net/appletalk/ddp.cddp_dl->datalink_header(ddp_dl, skb, dev->dev_addr);
skb1620net/appletalk/ddp.cskb->sk = NULL;
skb1621net/appletalk/ddp.cskb->mac.raw=skb->data;
skb1622net/appletalk/ddp.cskb->h.raw = skb->data + ddp_dl->header_length + dev->hard_header_len;
skb1623net/appletalk/ddp.cskb_pull(skb,dev->hard_header_len);
skb1624net/appletalk/ddp.cskb_pull(skb,ddp_dl->header_length);
skb1625net/appletalk/ddp.catalk_rcv(skb,dev,NULL);
skb1637net/appletalk/ddp.cif(aarp_send_ddp(dev,skb,&usat->sat_addr, NULL)==-1)
skb1638net/appletalk/ddp.ckfree_skb(skb, FREE_WRITE);
skb1674net/appletalk/ddp.cstruct sk_buff *skb;
skb1687net/appletalk/ddp.cskb=skb_recv_datagram(sk,flags,noblock,&er);
skb1688net/appletalk/ddp.cif(skb==NULL)
skb1691net/appletalk/ddp.cddp = (struct ddpehdr *)(skb->h.raw);
skb1697net/appletalk/ddp.cskb_copy_datagram_iovec(skb,0,msg->msg_iov,copied);
skb1704net/appletalk/ddp.cskb_copy_datagram_iovec(skb,sizeof(*ddp),msg->msg_iov,copied);
skb1713net/appletalk/ddp.cskb_free_datagram(skb);
skb1791net/appletalk/ddp.cstruct sk_buff *skb;
skb1793net/appletalk/ddp.cif((skb=skb_peek(&sk->receive_queue))!=NULL)
skb1794net/appletalk/ddp.cv=skb->len-sizeof(struct ddpehdr);
skb355net/ax25/af_ax25.cstatic void ax25_send_to_raw(struct sock *sk, struct sk_buff *skb, int proto)
skb361net/ax25/af_ax25.cif ((copy = skb_clone(skb, GFP_ATOMIC)) == NULL)
skb368net/ax25/af_ax25.csk->data_ready(sk, skb->len);
skb396net/ax25/af_ax25.cstruct sk_buff *skb;
skb408net/ax25/af_ax25.cwhile ((skb = skb_dequeue(&ax25->sk->receive_queue)) != NULL) {
skb409net/ax25/af_ax25.cif (skb->sk != ax25->sk) {      /* A pending connection */
skb410net/ax25/af_ax25.cskb->sk->dead = 1;  /* Queue the unaccepted socket for death */
skb411net/ax25/af_ax25.cax25_set_timer(skb->sk->ax25);
skb412net/ax25/af_ax25.cskb->sk->ax25->state = AX25_STATE_0;
skb415net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb588net/ax25/af_ax25.cint ax25_send_frame(struct sk_buff *skb, ax25_address *src, ax25_address *dest,
skb593net/ax25/af_ax25.cif (skb == NULL)
skb604net/ax25/af_ax25.cax25_output(ax25, skb);
skb632net/ax25/af_ax25.cax25_output(ax25, skb);
skb1255net/ax25/af_ax25.cstruct sk_buff *skb;
skb1274net/ax25/af_ax25.cif ((skb = skb_dequeue(&sk->receive_queue)) == NULL) {
skb1285net/ax25/af_ax25.c} while (skb == NULL);
skb1287net/ax25/af_ax25.cnewsk = skb->sk;
skb1292net/ax25/af_ax25.cskb->sk = NULL;
skb1293net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1335net/ax25/af_ax25.cstatic int ax25_rcv(struct sk_buff *skb, struct device *dev, ax25_address *dev_addr, struct packet_type *ptype)
skb1349net/ax25/af_ax25.cskb->h.raw = skb->data;
skb1354net/ax25/af_ax25.cif (ax25_parse_addr(skb->data, skb->len, &src, &dest, &dp, &type) == NULL) {
skb1355net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1383net/ax25/af_ax25.cbuild_ax25_addr(skb->data, &src, &dest, &dp, type, MODULUS);
skb1384net/ax25/af_ax25.cskb->arp = 1;
skb1386net/ax25/af_ax25.cax25_queue_xmit(skb, dev, SOPRI_NORMAL);
skb1388net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1391net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1400net/ax25/af_ax25.cskb_pull(skb, size_ax25_addr(&dp));
skb1412net/ax25/af_ax25.cif ((*skb->data & ~0x10) == LAPB_UI) {  /* UI frame - bypass LAPB processing */
skb1413net/ax25/af_ax25.cskb->h.raw = skb->data + 2;    /* skip control and pid */
skb1416net/ax25/af_ax25.cax25_send_to_raw(raw, skb, skb->data[1]);
skb1419net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1424net/ax25/af_ax25.cswitch (skb->data[1]) {
skb1427net/ax25/af_ax25.cskb_pull(skb,2);    /* drop PID/CTRL */
skb1429net/ax25/af_ax25.cip_rcv(skb, dev, ptype);  /* Note ptype here is the wrong one, fix me later */
skb1433net/ax25/af_ax25.cskb_pull(skb,2);
skb1434net/ax25/af_ax25.carp_rcv(skb, dev, ptype);  /* Note ptype here is wrong... */
skb1441net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1446net/ax25/af_ax25.cskb_pull(skb, 2);
skb1447net/ax25/af_ax25.cskb_queue_tail(&sk->receive_queue, skb);
skb1448net/ax25/af_ax25.cskb->sk = sk;
skb1449net/ax25/af_ax25.csk->rmem_alloc += skb->truesize;
skb1451net/ax25/af_ax25.csk->data_ready(sk, skb->len);
skb1454net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1459net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);  /* Will scan SOCK_AX25 RAW sockets */
skb1472net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1483net/ax25/af_ax25.cif (ax25_process_rx_frame(ax25, skb, type) == 0)
skb1484net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1489net/ax25/af_ax25.cif ((*skb->data & ~PF) != SABM && (*skb->data & ~PF) != SABME) {
skb1494net/ax25/af_ax25.cif ((*skb->data & ~PF) != DM && mine)
skb1497net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1506net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1512net/ax25/af_ax25.cskb_queue_head(&sk->receive_queue, skb);
skb1514net/ax25/af_ax25.cskb->sk     = make;
skb1522net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1528net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1537net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1549net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1564net/ax25/af_ax25.cif ((*skb->data & ~PF) == SABME) {
skb1585net/ax25/af_ax25.csk->data_ready(sk, skb->len );
skb1587net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1596net/ax25/af_ax25.cstatic int kiss_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *ptype)
skb1598net/ax25/af_ax25.cskb->sk = NULL;    /* Initially we don't know who its for */
skb1600net/ax25/af_ax25.cif ((*skb->data & 0x0F) != 0) {
skb1601net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);  /* Not a KISS data frame */
skb1605net/ax25/af_ax25.cskb_pull(skb, AX25_KISS_HEADER_LEN);  /* Remove the KISS byte */
skb1607net/ax25/af_ax25.creturn ax25_rcv(skb, dev, (ax25_address *)dev->dev_addr, ptype);
skb1613net/ax25/af_ax25.cstatic int bpq_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *ptype)
skb1618net/ax25/af_ax25.cskb->sk = NULL;    /* Initially we don't know who its for */
skb1621net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);  /* We have no port callsign */
skb1625net/ax25/af_ax25.clen = skb->data[0] + skb->data[1] * 256 - 5;
skb1627net/ax25/af_ax25.cskb_pull(skb, 2);  /* Remove the length bytes */
skb1628net/ax25/af_ax25.cskb_trim(skb, len);  /* Set the length of the data */
skb1630net/ax25/af_ax25.creturn ax25_rcv(skb, dev, &port_call, ptype);
skb1640net/ax25/af_ax25.cstruct sk_buff *skb;
skb1723net/ax25/af_ax25.cif ((skb = sock_alloc_send_skb(sk, size, 0, &err)) == NULL)
skb1726net/ax25/af_ax25.cskb->sk   = sk;
skb1727net/ax25/af_ax25.cskb->free = 1;
skb1728net/ax25/af_ax25.cskb->arp  = 1;
skb1730net/ax25/af_ax25.cskb_reserve(skb, size - len);
skb1736net/ax25/af_ax25.cmemcpy_fromiovec(skb_put(skb, len), msg->msg_iov, len);
skb1739net/ax25/af_ax25.casmptr  = skb_push(skb, 1);
skb1748net/ax25/af_ax25.ckfree_skb(skb, FREE_WRITE);
skb1752net/ax25/af_ax25.cax25_output(sk->ax25, skb);  /* Shove it onto the queue and kick */
skb1756net/ax25/af_ax25.casmptr = skb_push(skb, 1 + size_ax25_addr(dp));
skb1770net/ax25/af_ax25.cskb->h.raw = asmptr;
skb1773net/ax25/af_ax25.cprintk("base=%p pos=%p\n", skb->data, asmptr);
skb1778net/ax25/af_ax25.cax25_queue_xmit(skb, sk->ax25->device, SOPRI_NORMAL);
skb1817net/ax25/af_ax25.cstruct sk_buff *skb;
skb1839net/ax25/af_ax25.cif ((skb = skb_recv_datagram(sk, flags, noblock, &er)) == NULL)
skb1843net/ax25/af_ax25.clength = skb->len + (skb->data - skb->h.raw);
skb1846net/ax25/af_ax25.cskb_pull(skb, 1);    /* Remove PID */
skb1847net/ax25/af_ax25.clength     = skb->len;
skb1848net/ax25/af_ax25.cskb->h.raw = skb->data;
skb1852net/ax25/af_ax25.cskb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied);
skb1858net/ax25/af_ax25.cunsigned char *dp = skb->data;
skb1861net/ax25/af_ax25.cax25_parse_addr(dp, skb->len, NULL, &dest, &digi, NULL);
skb1876net/ax25/af_ax25.cskb_free_datagram(skb);
skb1945net/ax25/af_ax25.cstruct sk_buff *skb;
skb1947net/ax25/af_ax25.cif ((skb = skb_peek(&sk->receive_queue)) != NULL)
skb1948net/ax25/af_ax25.camount = skb->len;
skb2179net/ax25/af_ax25.cvoid ax25_queue_xmit(struct sk_buff *skb, struct device *dev, int pri)
skb2186net/ax25/af_ax25.cif (skb_headroom(skb) < AX25_BPQ_HEADER_LEN) {
skb2188net/ax25/af_ax25.cskb->free = 1;
skb2189net/ax25/af_ax25.ckfree_skb(skb, FREE_WRITE);
skb2193net/ax25/af_ax25.csize = skb->len;
skb2195net/ax25/af_ax25.cptr = skb_push(skb, 2);
skb2200net/ax25/af_ax25.cdev->hard_header(skb, dev, ETH_P_BPQ, bcast_addr, NULL, 0);
skb2202net/ax25/af_ax25.cptr = skb_push(skb, 1);
skb2207net/ax25/af_ax25.cdev_queue_xmit(skb, dev, pri);
skb2223net/ax25/af_ax25.cint ax25_encapsulate(struct sk_buff *skb, struct device *dev, unsigned short type, void *daddr,
skb2227net/ax25/af_ax25.cunsigned char *buff = skb_push(skb, AX25_HEADER_LEN);
skb2271net/ax25/af_ax25.cint ax25_rebuild_header(unsigned char *bp, struct device *dev, unsigned long dest, struct sk_buff *skb)
skb2275net/ax25/af_ax25.cif (arp_find(bp + 1, dest, dev, dev->pa_addr, skb))
skb2281net/ax25/af_ax25.cskb_device_unlock(skb);
skb2282net/ax25/af_ax25.cskb_pull(skb, AX25_HEADER_LEN - 1);  /* Keep PID */
skb2283net/ax25/af_ax25.cax25_send_frame(skb, (ax25_address *)(bp + 8), (ax25_address *)(bp + 1), NULL, dev);
skb64net/ax25/ax25_in.cstatic int ax25_rx_fragment(ax25_cb *ax25, struct sk_buff *skb)
skb70net/ax25/ax25_in.cif (!(*skb->data & SEG_FIRST)) {
skb71net/ax25/ax25_in.cif ((ax25->fragno - 1) == (*skb->data & SEG_REM)) {
skb72net/ax25/ax25_in.cax25->fragno = *skb->data & SEG_REM;
skb73net/ax25/ax25_in.cskb_pull(skb, 1);
skb74net/ax25/ax25_in.cax25->fraglen += skb->len;
skb75net/ax25/ax25_in.cskb_queue_tail(&ax25->frag_queue, skb);
skb114net/ax25/ax25_in.cif (*skb->data & SEG_FIRST) {
skb115net/ax25/ax25_in.cax25->fragno = *skb->data & SEG_REM;
skb116net/ax25/ax25_in.cskb_pull(skb, 1);
skb117net/ax25/ax25_in.cax25->fraglen = skb->len;
skb118net/ax25/ax25_in.cskb_queue_tail(&ax25->frag_queue, skb);
skb130net/ax25/ax25_in.cstatic int ax25_rx_iframe(ax25_cb *ax25, struct sk_buff *skb)
skb134net/ax25/ax25_in.cswitch (*skb->data) {
skb138net/ax25/ax25_in.cskb_pull(skb, 1);  /* Remove PID */
skb139net/ax25/ax25_in.cqueued = nr_route_frame(skb, ax25);
skb145net/ax25/ax25_in.cskb_pull(skb, 1);  /* Remove PID */
skb146net/ax25/ax25_in.cskb->h.raw = skb->data;
skb148net/ax25/ax25_in.cip_rcv(skb, skb->dev, NULL);  /* Wrong ptype */
skb154net/ax25/ax25_in.cif (sock_queue_rcv_skb(ax25->sk, skb) == 0) {
skb163net/ax25/ax25_in.cskb_pull(skb, 1);  /* Remove PID */
skb164net/ax25/ax25_in.cqueued = ax25_rx_fragment(ax25, skb);
skb179net/ax25/ax25_in.cstatic int ax25_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type)
skb248net/ax25/ax25_in.cstatic int ax25_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type)
skb306net/ax25/ax25_in.cstatic int ax25_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type)
skb421net/ax25/ax25_in.cqueued = ax25_rx_iframe(ax25, skb);
skb465net/ax25/ax25_in.cstatic int ax25_state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type)
skb625net/ax25/ax25_in.cqueued = ax25_rx_iframe(ax25, skb);
skb667net/ax25/ax25_in.cint ax25_process_rx_frame(ax25_cb *ax25, struct sk_buff *skb, int type)
skb679net/ax25/ax25_in.cframetype = ax25_decode(ax25, skb, &ns, &nr, &pf);
skb683net/ax25/ax25_in.cqueued = ax25_state1_machine(ax25, skb, frametype, pf, type);
skb686net/ax25/ax25_in.cqueued = ax25_state2_machine(ax25, skb, frametype, pf, type);
skb689net/ax25/ax25_in.cqueued = ax25_state3_machine(ax25, skb, frametype, ns, nr, pf, type);
skb692net/ax25/ax25_in.cqueued = ax25_state4_machine(ax25, skb, frametype, ns, nr, pf, type);
skb56net/ax25/ax25_out.cvoid ax25_output(ax25_cb *ax25, struct sk_buff *skb)
skb64net/ax25/ax25_out.cif (skb->len > mtu) {
skb67net/ax25/ax25_out.cfragno = skb->len / mtu;
skb68net/ax25/ax25_out.cif (skb->len % mtu == 0) fragno--;
skb70net/ax25/ax25_out.cfrontlen = skb_headroom(skb);  /* Address space + CTRL */
skb72net/ax25/ax25_out.cwhile (skb->len > 0) {
skb73net/ax25/ax25_out.cif (skb->sk != NULL) {
skb74net/ax25/ax25_out.cif ((skbn = sock_alloc_send_skb(skb->sk, mtu + 2 + frontlen, 0, &err)) == NULL)
skb81net/ax25/ax25_out.cskbn->sk   = skb->sk;
skb87net/ax25/ax25_out.clen = (mtu > skb->len) ? skb->len : mtu;
skb89net/ax25/ax25_out.cmemcpy(skb_put(skbn, len), skb->data, len);
skb90net/ax25/ax25_out.cskb_pull(skb, len);
skb105net/ax25/ax25_out.cskb->free = 1;
skb106net/ax25/ax25_out.ckfree_skb(skb, FREE_WRITE);
skb108net/ax25/ax25_out.cskb_queue_tail(&ax25->write_queue, skb);    /* Throw it on the queue */
skb119net/ax25/ax25_out.cstatic void ax25_send_iframe(ax25_cb *ax25, struct sk_buff *skb, int poll_bit)
skb123net/ax25/ax25_out.cif (skb == NULL)
skb127net/ax25/ax25_out.cframe = skb_push(skb, 1);
skb134net/ax25/ax25_out.cframe = skb_push(skb, 2);
skb142net/ax25/ax25_out.cax25_transmit_buffer(ax25, skb, C_COMMAND);  
skb147net/ax25/ax25_out.cstruct sk_buff *skb, *skbn;
skb171net/ax25/ax25_out.cskb  = skb_dequeue(&ax25->write_queue);
skb173net/ax25/ax25_out.cif ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) {
skb174net/ax25/ax25_out.cskb_queue_head(&ax25->write_queue, skb);
skb194net/ax25/ax25_out.cskb_queue_tail(&ax25->ack_queue, skb);
skb211net/ax25/ax25_out.cvoid ax25_transmit_buffer(ax25_cb *ax25, struct sk_buff *skb, int type)
skb226net/ax25/ax25_out.cif (skb_headroom(skb) < size_ax25_addr(ax25->digipeat)) {
skb228net/ax25/ax25_out.cskb->free = 1;
skb229net/ax25/ax25_out.ckfree_skb(skb, FREE_WRITE);
skb233net/ax25/ax25_out.cptr = skb_push(skb, size_ax25_addr(ax25->digipeat));
skb236net/ax25/ax25_out.cskb->arp = 1;
skb238net/ax25/ax25_out.cax25_queue_xmit(skb, ax25->device, SOPRI_NORMAL);
skb58net/ax25/ax25_subr.cstruct sk_buff *skb;
skb60net/ax25/ax25_subr.cwhile ((skb = skb_dequeue(&ax25->write_queue)) != NULL) {
skb61net/ax25/ax25_subr.cskb->free = 1;
skb62net/ax25/ax25_subr.ckfree_skb(skb, FREE_WRITE);
skb65net/ax25/ax25_subr.cwhile ((skb = skb_dequeue(&ax25->ack_queue)) != NULL) {
skb66net/ax25/ax25_subr.cskb->free = 1;
skb67net/ax25/ax25_subr.ckfree_skb(skb, FREE_WRITE);
skb70net/ax25/ax25_subr.cwhile ((skb = skb_dequeue(&ax25->reseq_queue)) != NULL) {
skb71net/ax25/ax25_subr.ckfree_skb(skb, FREE_READ);
skb74net/ax25/ax25_subr.cwhile ((skb = skb_dequeue(&ax25->frag_queue)) != NULL) {
skb75net/ax25/ax25_subr.ckfree_skb(skb, FREE_READ);
skb86net/ax25/ax25_subr.cstruct sk_buff *skb, *skb_prev = NULL;
skb93net/ax25/ax25_subr.cskb = skb_dequeue(&ax25->ack_queue);
skb94net/ax25/ax25_subr.cskb->free = 1;
skb95net/ax25/ax25_subr.ckfree_skb(skb, FREE_WRITE);
skb105net/ax25/ax25_subr.cwhile ((skb = skb_dequeue(&ax25->ack_queue)) != NULL) {
skb107net/ax25/ax25_subr.cskb_queue_head(&ax25->write_queue, skb);
skb109net/ax25/ax25_subr.cskb_append(skb_prev, skb);
skb110net/ax25/ax25_subr.cskb_prev = skb;
skb136net/ax25/ax25_subr.cint ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf)
skb141net/ax25/ax25_subr.cframe = skb->data;
skb158net/ax25/ax25_subr.cskb_pull(skb, 1);
skb165net/ax25/ax25_subr.cskb_pull(skb, 2);
skb170net/ax25/ax25_subr.cskb_pull(skb, 2);
skb174net/ax25/ax25_subr.cskb_pull(skb, 1);
skb188net/ax25/ax25_subr.cstruct sk_buff *skb;
skb195net/ax25/ax25_subr.cif ((skb = alloc_skb(AX25_BPQ_HEADER_LEN + size_ax25_addr(ax25->digipeat) + 2, GFP_ATOMIC)) == NULL)
skb198net/ax25/ax25_subr.cskb_reserve(skb, AX25_BPQ_HEADER_LEN + size_ax25_addr(ax25->digipeat));
skb201net/ax25/ax25_subr.cskb->sk = ax25->sk;
skb202net/ax25/ax25_subr.cax25->sk->wmem_alloc += skb->truesize;
skb207net/ax25/ax25_subr.cdptr = skb_put(skb, 1);
skb214net/ax25/ax25_subr.cdptr = skb_put(skb, 1);
skb218net/ax25/ax25_subr.cdptr = skb_put(skb, 2);
skb225net/ax25/ax25_subr.cskb->free = 1;
skb227net/ax25/ax25_subr.cax25_transmit_buffer(ax25, skb, type);
skb237net/ax25/ax25_subr.cstruct sk_buff *skb;
skb244net/ax25/ax25_subr.cif ((skb = alloc_skb(AX25_BPQ_HEADER_LEN + size_ax25_addr(digi) + 1, GFP_ATOMIC)) == NULL)
skb247net/ax25/ax25_subr.cskb_reserve(skb, AX25_BPQ_HEADER_LEN + size_ax25_addr(digi));
skb251net/ax25/ax25_subr.cdptr = skb_put(skb, 1);
skb252net/ax25/ax25_subr.cskb->sk = NULL;
skb260net/ax25/ax25_subr.cdptr  = skb_push(skb, size_ax25_addr(digi));
skb263net/ax25/ax25_subr.cskb->arp  = 1;
skb264net/ax25/ax25_subr.cskb->free = 1;
skb266net/ax25/ax25_subr.cax25_queue_xmit(skb, dev, SOPRI_NORMAL);
skb57net/core/datagram.cstruct sk_buff *skb;
skb131net/core/datagram.cskb=skb_dequeue(&sk->receive_queue);
skb132net/core/datagram.cif(skb!=NULL)
skb133net/core/datagram.cskb->users++;
skb140net/core/datagram.cskb=skb_peek(&sk->receive_queue);
skb141net/core/datagram.cif(skb!=NULL)
skb142net/core/datagram.cskb->users++;
skb144net/core/datagram.cif(skb==NULL)  /* shouldn't happen but .. */
skb147net/core/datagram.creturn skb;
skb150net/core/datagram.cvoid skb_free_datagram(struct sk_buff *skb)
skb156net/core/datagram.cskb->users--;
skb157net/core/datagram.cif(skb->users>0)
skb163net/core/datagram.cif(!skb->next && !skb->prev)  /* Been dequeued by someone - ie it's read */
skb164net/core/datagram.ckfree_skb(skb,FREE_READ);
skb172net/core/datagram.cvoid skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size)
skb174net/core/datagram.cmemcpy_tofs(to,skb->h.raw+offset,size);
skb182net/core/datagram.cvoid skb_copy_datagram_iovec(struct sk_buff *skb, int offset, struct iovec *to, int size)
skb184net/core/datagram.cmemcpy_toiovec(to,skb->h.raw+offset,size);
skb278net/core/dev.cstruct sk_buff *skb;
skb279net/core/dev.cwhile((skb=skb_dequeue(&dev->buffs[ct]))!=NULL)
skb280net/core/dev.cif(skb->free)
skb281net/core/dev.ckfree_skb(skb,FREE_WRITE);
skb314net/core/dev.cvoid dev_queue_xmit(struct sk_buff *skb, struct device *dev, int pri)
skb322net/core/dev.cif(pri>=0 && !skb_device_locked(skb))
skb323net/core/dev.cskb_device_lock(skb);  /* Shove a lock on the frame */
skb325net/core/dev.cIS_SKB(skb);
skb327net/core/dev.cskb->dev = dev;
skb354net/core/dev.cif (!skb->arp && dev->rebuild_header(skb->data, dev, skb->raddr, skb)) {
skb363net/core/dev.cskb_queue_tail(dev->buffs + pri,skb);
skb364net/core/dev.cskb_device_unlock(skb);    /* Buffer is on the device queue and can be freed safely */
skb365net/core/dev.cskb = skb_dequeue(dev->buffs + pri);
skb366net/core/dev.cskb_device_lock(skb);    /* New buffer needs locking down */
skb373net/core/dev.cskb->stamp=xtime;
skb380net/core/dev.c((struct sock *)ptype->data != skb->sk))
skb383net/core/dev.cif ((skb2 = skb_clone(skb, GFP_ATOMIC)) == NULL)
skb387net/core/dev.cptype->func(skb2, skb->dev, ptype);
skb392net/core/dev.cif (dev->hard_start_xmit(skb, dev) == 0) {
skb406net/core/dev.cskb_device_unlock(skb);
skb407net/core/dev.cskb_queue_head(dev->buffs + pri,skb);
skb417net/core/dev.cvoid netif_rx(struct sk_buff *skb)
skb426net/core/dev.cskb->sk = NULL;
skb427net/core/dev.cskb->free = 1;
skb428net/core/dev.cif(skb->stamp.tv_sec==0)
skb429net/core/dev.cskb->stamp = xtime;
skb442net/core/dev.ckfree_skb(skb, FREE_READ);
skb450net/core/dev.cIS_SKB(skb);
skb452net/core/dev.cskb_queue_tail(&backlog,skb);
skb486net/core/dev.cstruct sk_buff *skb = NULL;
skb496net/core/dev.cskb = (struct sk_buff *) buff;
skb508net/core/dev.cskb = alloc_skb(len, GFP_ATOMIC);
skb509net/core/dev.cif (skb == NULL) 
skb522net/core/dev.cto = skb_put(skb,len);
skb544net/core/dev.cskb->dev = dev;
skb545net/core/dev.cskb->free = 1;
skb547net/core/dev.cnetif_rx(skb);
skb604net/core/dev.cstruct sk_buff *skb;
skb637net/core/dev.cwhile((skb=skb_dequeue(&backlog))!=NULL)
skb653net/core/dev.cskb->h.raw = skb->data;
skb659net/core/dev.ctype = skb->protocol;
skb671net/core/dev.cstruct sk_buff *skb2=skb_clone(skb, GFP_ATOMIC);
skb673net/core/dev.cpt_prev->func(skb2,skb->dev, pt_prev);
skb680net/core/dev.cif (ptype->type == type && (!ptype->dev || ptype->dev==skb->dev))
skb690net/core/dev.cskb2=skb_clone(skb, GFP_ATOMIC);
skb698net/core/dev.cpt_prev->func(skb2, skb->dev, pt_prev);
skb710net/core/dev.cpt_prev->func(skb, skb->dev, pt_prev);
skb716net/core/dev.ckfree_skb(skb, FREE_WRITE);
skb752net/core/dev.cstruct sk_buff *skb;
skb768net/core/dev.cwhile((skb=skb_dequeue(&dev->buffs[i]))!=NULL)
skb773net/core/dev.cskb_device_lock(skb);
skb779net/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.cunsigned char * skb_pull(struct sk_buff *skb, int len)
skb384net/core/skbuff.cIS_SKB(skb);
skb385net/core/skbuff.cif(len>skb->len)
skb387net/core/skbuff.cskb->data+=len;
skb388net/core/skbuff.cskb->len-=len;
skb389net/core/skbuff.creturn skb->data;
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;
skb13net/ethernet/pe2.cdev->hard_header(skb, dev, ETH_P_IPX, dest_node, NULL, skb->len);
skb294net/ipv4/af_inet.cstruct sk_buff *skb;
skb309net/ipv4/af_inet.cwhile ((skb = tcp_dequeue_partial(sk)) != NULL) {
skb310net/ipv4/af_inet.cIS_SKB(skb);
skb311net/ipv4/af_inet.ckfree_skb(skb, FREE_WRITE);
skb315net/ipv4/af_inet.cwhile((skb = skb_dequeue(&sk->write_queue)) != NULL) {
skb316net/ipv4/af_inet.cIS_SKB(skb);
skb317net/ipv4/af_inet.ckfree_skb(skb, FREE_WRITE);
skb327net/ipv4/af_inet.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL) 
skb333net/ipv4/af_inet.cif (skb->sk != NULL && skb->sk != sk) 
skb335net/ipv4/af_inet.cIS_SKB(skb);
skb336net/ipv4/af_inet.cskb->sk->dead = 1;
skb337net/ipv4/af_inet.cskb->sk->prot->close(skb->sk, 0);
skb339net/ipv4/af_inet.cIS_SKB(skb);
skb340net/ipv4/af_inet.ckfree_skb(skb, FREE_READ);
skb346net/ipv4/af_inet.cfor(skb = sk->send_head; skb != NULL; )
skb354net/ipv4/af_inet.cif (skb->next  && skb->prev) {
skb356net/ipv4/af_inet.cIS_SKB(skb);
skb357net/ipv4/af_inet.cskb_unlink(skb);
skb359net/ipv4/af_inet.cskb->dev = NULL;
skb360net/ipv4/af_inet.cskb2 = skb->link3;
skb361net/ipv4/af_inet.ckfree_skb(skb, FREE_WRITE);
skb362net/ipv4/af_inet.cskb = skb2;
skb368net/ipv4/af_inet.cwhile((skb=skb_dequeue(&sk->back_log))!=NULL) 
skb372net/ipv4/af_inet.ckfree_skb(skb, FREE_READ);
skb118net/ipv4/arp.cstruct sk_buff_head    skb;      /* list of queued packets   */
skb270net/ipv4/arp.cstruct sk_buff *skb;
skb276net/ipv4/arp.cwhile ((skb = skb_dequeue(&entry->skb)) != NULL)
skb278net/ipv4/arp.cskb_device_lock(skb);
skb280net/ipv4/arp.cdev_kfree_skb(skb, FREE_WRITE);
skb338net/ipv4/arp.cstruct sk_buff *skb;
skb353net/ipv4/arp.cskb = alloc_skb(sizeof(struct arphdr)+ 2*(dev->addr_len+4)
skb355net/ipv4/arp.cif (skb == NULL)
skb360net/ipv4/arp.cskb_reserve(skb, dev->hard_header_len);
skb361net/ipv4/arp.carp = (struct arphdr *) skb_put(skb,sizeof(struct arphdr) + 2*(dev->addr_len+4));
skb362net/ipv4/arp.cskb->arp = 1;
skb363net/ipv4/arp.cskb->dev = dev;
skb364net/ipv4/arp.cskb->free = 1;
skb370net/ipv4/arp.cdev->hard_header(skb,dev,ptype,dest_hw?dest_hw:dev->broadcast,src_hw?src_hw:NULL,skb->len);
skb400net/ipv4/arp.cdev_queue_xmit(skb, dev, 0);
skb498net/ipv4/arp.cstruct sk_buff *skb;
skb520net/ipv4/arp.cwhile((skb = skb_dequeue(&entry->skb)) != NULL)
skb522net/ipv4/arp.cIS_SKB(skb);
skb523net/ipv4/arp.cskb_device_lock(skb);
skb525net/ipv4/arp.cif(!skb->dev->rebuild_header(skb->data,skb->dev,skb->raddr,skb))
skb527net/ipv4/arp.cskb->arp  = 1;
skb528net/ipv4/arp.cif(skb->sk==NULL)
skb529net/ipv4/arp.cdev_queue_xmit(skb, skb->dev, 0);
skb531net/ipv4/arp.cdev_queue_xmit(skb,skb->dev,skb->sk->priority);
skb590net/ipv4/arp.cint arp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb596net/ipv4/arp.cstruct arphdr *arp = (struct arphdr *)skb->h.raw;
skb618net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb638net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb647net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb656net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb664net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb671net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb696net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb730net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb775net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb781net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb847net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb859net/ipv4/arp.centry->dev = skb->dev;
skb860net/ipv4/arp.cskb_queue_head_init(&entry->skb);
skb869net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb912net/ipv4/arp.cu32 saddr, struct sk_buff *skb)
skb925net/ipv4/arp.cskb->arp = 1;
skb950net/ipv4/arp.cskb->arp = 1;
skb971net/ipv4/arp.cif (skb != NULL)
skb973net/ipv4/arp.cskb_queue_tail(&entry->skb, skb);
skb974net/ipv4/arp.cskb_device_unlock(skb);
skb986net/ipv4/arp.cif (skb)
skb987net/ipv4/arp.cskb->arp = 1;
skb1016net/ipv4/arp.cskb_queue_head_init(&entry->skb);
skb1017net/ipv4/arp.cif (skb != NULL)
skb1019net/ipv4/arp.cskb_queue_tail(&entry->skb, skb);
skb1020net/ipv4/arp.cskb_device_unlock(skb);
skb1025net/ipv4/arp.cif (skb != NULL && skb->free)
skb1026net/ipv4/arp.ckfree_skb(skb, FREE_WRITE);
skb1317net/ipv4/arp.cskb_queue_head_init(&entry->skb);
skb167net/ipv4/icmp.cstruct sk_buff *skb;
skb284net/ipv4/icmp.cskb = (struct sk_buff *) alloc_skb(len+15, GFP_ATOMIC);
skb285net/ipv4/icmp.cif (skb == NULL) 
skb290net/ipv4/icmp.cskb->free = 1;
skb304net/ipv4/icmp.coffset = ip_build_header(skb, our_addr, iph->saddr,
skb310net/ipv4/icmp.cskb->sk = NULL;
skb311net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb319net/ipv4/icmp.cskb_put(skb,sizeof(struct icmphdr) + sizeof(struct iphdr) + 8);
skb328net/ipv4/icmp.cicmph = (struct icmphdr *) (skb->data + offset);
skb346net/ipv4/icmp.cip_queue_xmit(NULL, ndev, skb, 1);
skb354net/ipv4/icmp.cstatic void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb)
skb425net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb433net/ipv4/icmp.cstatic void icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb,
skb500net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb508net/ipv4/icmp.cstatic void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb526net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb533net/ipv4/icmp.cIPPROTO_ICMP, opt, len, skb->ip_hdr->tos,255);
skb539net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb574net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb581net/ipv4/icmp.cstatic void icmp_timestamp(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb604net/ipv4/icmp.cskb->sk = NULL;
skb605net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb616net/ipv4/icmp.cskb->ip_hdr->tos, 255);
skb621net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb656net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb666net/ipv4/icmp.cstatic void icmp_info(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb671net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb687net/ipv4/icmp.cstatic void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev,
skb705net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb715net/ipv4/icmp.cIPPROTO_ICMP, opt, len, skb->ip_hdr->tos,255);
skb721net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb748net/ipv4/icmp.cskb->sk = NULL;
skb749net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb86net/ipv4/igmp.cstruct sk_buff *skb=alloc_skb(MAX_IGMP_SIZE, GFP_ATOMIC);
skb90net/ipv4/igmp.cif(skb==NULL)
skb92net/ipv4/igmp.ctmp=ip_build_header(skb, INADDR_ANY, address, &dev, IPPROTO_IGMP, NULL,
skb93net/ipv4/igmp.cskb->truesize, 0, 1);
skb96net/ipv4/igmp.ckfree_skb(skb, FREE_WRITE);
skb99net/ipv4/igmp.cih=(struct igmphdr *)skb_put(skb,sizeof(struct igmphdr));
skb105net/ipv4/igmp.cip_queue_xmit(NULL,dev,skb,1);
skb200net/ipv4/igmp.cint igmp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb207net/ipv4/igmp.cih=(struct igmphdr *)skb->data;
skb209net/ipv4/igmp.cif(skb->len <sizeof(struct igmphdr) || skb->ip_hdr->ttl!=1 || ip_compute_csum((void *)skb->h.raw,sizeof(struct igmphdr)))
skb211net/ipv4/igmp.ckfree_skb(skb, FREE_READ);
skb219net/ipv4/igmp.ckfree_skb(skb, FREE_READ);
skb184net/ipv4/ip.cstatic int ip_send(struct sk_buff *skb, unsigned long daddr, int len, struct device *dev, unsigned long saddr)
skb188net/ipv4/ip.cskb->dev = dev;
skb189net/ipv4/ip.cskb->arp = 1;
skb196net/ipv4/ip.cskb_reserve(skb,(dev->hard_header_len+15)&~15);  /* 16 byte aligned IP headers are good */
skb197net/ipv4/ip.cmac = dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, len);
skb201net/ipv4/ip.cskb->arp = 0;
skb202net/ipv4/ip.cskb->raddr = daddr;  /* next routing address */
skb208net/ipv4/ip.cstatic int ip_send_room(struct sk_buff *skb, unsigned long daddr, int len, struct device *dev, unsigned long saddr)
skb212net/ipv4/ip.cskb->dev = dev;
skb213net/ipv4/ip.cskb->arp = 1;
skb216net/ipv4/ip.cskb_reserve(skb,MAX_HEADER);
skb217net/ipv4/ip.cmac = dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, len);
skb221net/ipv4/ip.cskb->arp = 0;
skb222net/ipv4/ip.cskb->raddr = daddr;  /* next routing address */
skb236net/ipv4/ip.cint ip_build_header(struct sk_buff *skb, unsigned long saddr, unsigned long daddr,
skb250net/ipv4/ip.cif(MULTICAST(daddr) && *dev==NULL && skb->sk && *skb->sk->ip_mc_name)
skb251net/ipv4/ip.c*dev=dev_get(skb->sk->ip_mc_name);
skb255net/ipv4/ip.cif(skb->localroute)
skb280net/ipv4/ip.cif(skb->localroute)
skb311net/ipv4/ip.ctmp = ip_send_room(skb, raddr, len, *dev, saddr);
skb313net/ipv4/ip.ctmp = ip_send(skb, raddr, len, *dev, saddr);
skb319net/ipv4/ip.cskb->dev = *dev;
skb320net/ipv4/ip.cskb->saddr = saddr;
skb321net/ipv4/ip.cif (skb->sk)
skb322net/ipv4/ip.cskb->sk->saddr = saddr;
skb340net/ipv4/ip.ciph=(struct iphdr *)skb_put(skb,sizeof(struct iphdr));
skb350net/ipv4/ip.cskb->ip_hdr   = iph;
skb380net/ipv4/ip.cstatic struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr)
skb396net/ipv4/ip.cfp->skb = skb;
skb468net/ipv4/ip.cIS_SKB(fp->skb);
skb469net/ipv4/ip.ckfree_skb(fp->skb,FREE_READ);
skb501net/ipv4/ip.cicmp_send(qp->fragments->skb,ICMP_TIME_EXCEEDED,
skb518net/ipv4/ip.cstatic struct ipq *ip_create(struct sk_buff *skb, struct iphdr *iph, struct device *dev)
skb528net/ipv4/ip.cskb->dev = qp->dev;
skb608net/ipv4/ip.cstruct sk_buff *skb;
skb619net/ipv4/ip.cif ((skb = dev_alloc_skb(len)) == NULL)
skb628net/ipv4/ip.cskb_put(skb,len);
skb629net/ipv4/ip.cskb->h.raw = skb->data;
skb630net/ipv4/ip.cskb->free = 1;
skb633net/ipv4/ip.cptr = (unsigned char *) skb->h.raw;
skb643net/ipv4/ip.cif(count+fp->len > skb->len)
skb647net/ipv4/ip.ckfree_skb(skb,FREE_WRITE);
skb660net/ipv4/ip.ciph = skb->h.iph;
skb663net/ipv4/ip.cskb->ip_hdr = iph;
skb666net/ipv4/ip.creturn(skb);
skb674net/ipv4/ip.cstatic struct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev)
skb697net/ipv4/ip.creturn(skb);
skb721net/ipv4/ip.cif ((qp = ip_create(skb, iph, dev)) == NULL)
skb723net/ipv4/ip.cskb->sk = NULL;
skb724net/ipv4/ip.ckfree_skb(skb, FREE_READ);
skb741net/ipv4/ip.cptr = skb->data + ihl;
skb807net/ipv4/ip.ckfree_skb(tmp->skb,FREE_READ);
skb817net/ipv4/ip.ctfp = ip_frag_create(offset, end, skb, ptr);
skb825net/ipv4/ip.cskb->sk = NULL;
skb826net/ipv4/ip.ckfree_skb(skb, FREE_READ);
skb868net/ipv4/ip.cvoid ip_fragment(struct sock *sk, struct sk_buff *skb, struct device *dev, int is_frag)
skb882net/ipv4/ip.craw = skb->data;
skb885net/ipv4/ip.cskb->ip_hdr = iph;
skb887net/ipv4/ip.ciph = skb->ip_hdr;
skb910net/ipv4/ip.cicmp_send(skb,ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, dev->mtu, dev);
skb923net/ipv4/ip.cicmp_send(skb,ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED,dev->mtu, dev);
skb975net/ipv4/ip.cskb2->arp = skb->arp;
skb976net/ipv4/ip.cif(skb->free==0)
skb994net/ipv4/ip.cskb2->raddr = skb->raddr;  /* For rebuild_header - must be here */
skb1044net/ipv4/ip.cint ip_forward(struct sk_buff *skb, struct device *dev, int is_frag, unsigned long target_addr, int target_strict)
skb1063net/ipv4/ip.cfw_res=ip_fw_chk(skb->h.iph, dev, ip_fw_fwd_chain, ip_fw_fwd_policy, 0);
skb1071net/ipv4/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_UNREACH, 0, dev);
skb1089net/ipv4/ip.ciph = skb->h.iph;
skb1106net/ipv4/ip.cicmp_send(skb, ICMP_TIME_EXCEEDED, ICMP_EXC_TTL, 0, dev);
skb1122net/ipv4/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_NET_UNREACH, 0, dev);
skb1145net/ipv4/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_SR_FAILED, 0, dev);
skb1160net/ipv4/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_UNREACH, 0, dev);
skb1182net/ipv4/ip.cicmp_send(skb, ICMP_REDIRECT, ICMP_REDIR_HOST, raddr, dev);
skb1198net/ipv4/ip.cip_fw_masquerade(&skb, dev2);
skb1200net/ipv4/ip.cIS_SKB(skb);
skb1202net/ipv4/ip.cif(skb_headroom(skb)<dev2->hard_header_len)
skb1204net/ipv4/ip.cskb2 = alloc_skb(dev2->hard_header_len + skb->len + 15, GFP_ATOMIC);
skb1222net/ipv4/ip.cip_send(skb2,raddr,skb->len,dev2,dev2->pa_addr);
skb1229net/ipv4/ip.cptr = skb_put(skb2,skb->len);
skb1236net/ipv4/ip.cmemcpy(ptr, skb->h.raw, skb->len);
skb1244net/ipv4/ip.cskb2 = skb;    
skb1246net/ipv4/ip.cskb->arp=1;
skb1247net/ipv4/ip.cskb->raddr=raddr;
skb1250net/ipv4/ip.cif(dev2->hard_header(skb, dev2, ETH_P_IP, NULL, NULL, skb->len)<0)
skb1251net/ipv4/ip.cskb->arp=0;
skb1296net/ipv4/ip.cif(skb==skb2)
skb1311net/ipv4/ip.cint ip_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb1313net/ipv4/ip.cstruct iphdr *iph = skb->h.iph;
skb1332net/ipv4/ip.creturn ipv6_rcv(skb,dev,pt);
skb1341net/ipv4/ip.cskb->ip_hdr = iph;
skb1356net/ipv4/ip.cif (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0
skb1357net/ipv4/ip.c|| skb->len < ntohs(iph->tot_len))
skb1360net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb1370net/ipv4/ip.cskb_trim(skb,ntohs(iph->tot_len));
skb1381net/ipv4/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0, dev);
skb1382net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb1410net/ipv4/ip.cunsigned char *opt_ptr=skb->h.raw+sizeof(struct iphdr);
skb1412net/ipv4/ip.cskb->ip_summed=0;    /* Our free checksum is bogus for this case */
skb1429net/ipv4/ip.cicmp_send(skb, ICMP_PARAMETERPROB, 0, 0, skb->dev);
skb1430net/ipv4/ip.ckfree_skb(skb, FREE_READ);
skb1443net/ipv4/ip.ckfree_skb(skb, FREE_READ);
skb1450net/ipv4/ip.cif (iph->daddr!=skb->dev->pa_addr && (brd = ip_chk_addr(iph->daddr)) == 0) 
skb1455net/ipv4/ip.cicmp_send(skb, ICMP_PARAMETERPROB, 0, 0, skb->dev);
skb1456net/ipv4/ip.ckfree_skb(skb, FREE_READ);
skb1471net/ipv4/ip.cicmp_send(skb, ICMP_PARAMETERPROB, 0, 0, skb->dev);
skb1472net/ipv4/ip.ckfree_skb(skb,FREE_READ);
skb1476net/ipv4/ip.c*(u32 *)(&opt_ptr[opt_ptr[2]])=skb->dev->pa_addr;  /* Record hop */
skb1523net/ipv4/ip.cif ( iph->daddr == skb->dev->pa_addr || (brd = ip_chk_addr(iph->daddr)) != 0)
skb1537net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb1552net/ipv4/ip.cif (ip_fw_demasquerade(skb)) 
skb1554net/ipv4/ip.cstruct iphdr *iph=skb->h.iph;
skb1555net/ipv4/ip.cif(ip_forward(skb, dev, is_frag|4, iph->daddr, 0))
skb1556net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb1576net/ipv4/ip.cskb=ip_defrag(iph,skb,dev);
skb1577net/ipv4/ip.cif(skb==NULL)
skb1579net/ipv4/ip.cskb->dev = dev;
skb1580net/ipv4/ip.ciph=skb->h.iph;
skb1587net/ipv4/ip.cskb->ip_hdr = iph;
skb1588net/ipv4/ip.cskb->h.raw += iph->ihl*4;
skb1614net/ipv4/ip.cskb1=skb_clone(skb, GFP_ATOMIC);
skb1653net/ipv4/ip.cskb2 = skb_clone(skb, GFP_ATOMIC);
skb1659net/ipv4/ip.cskb2 = skb;
skb1683net/ipv4/ip.craw_rcv(raw_sk, skb, dev, iph->saddr, iph->daddr);
skb1687net/ipv4/ip.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PROT_UNREACH, 0, dev);  
skb1688net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb1702net/ipv4/ip.cif(skb->pkt_type!=PACKET_HOST || brd==IS_BROADCAST)
skb1704net/ipv4/ip.ckfree_skb(skb,FREE_WRITE);
skb1713net/ipv4/ip.cif(ip_forward(skb, dev, is_frag, target_addr, target_strict))
skb1714net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb1719net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb1729net/ipv4/ip.cstatic void ip_loopback(struct device *old_dev, struct sk_buff *skb)
skb1732net/ipv4/ip.cint len=skb->len-old_dev->hard_header_len;
skb1741net/ipv4/ip.cnewskb->saddr=skb->saddr;
skb1742net/ipv4/ip.cnewskb->daddr=skb->daddr;
skb1743net/ipv4/ip.cnewskb->raddr=skb->raddr;
skb1747net/ipv4/ip.cnewskb->pkt_type=skb->pkt_type;
skb1752net/ipv4/ip.cip_send(newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr);
skb1760net/ipv4/ip.cmemcpy(newskb->ip_hdr,skb->ip_hdr,len);
skb1779net/ipv4/ip.cstruct sk_buff *skb, int free)
skb1791net/ipv4/ip.cIS_SKB(skb);
skb1798net/ipv4/ip.cskb->dev = dev;
skb1799net/ipv4/ip.cskb->when = jiffies;
skb1810net/ipv4/ip.cptr = skb->data;
skb1813net/ipv4/ip.cskb->ip_hdr = iph;
skb1815net/ipv4/ip.ciph = skb->ip_hdr;
skb1817net/ipv4/ip.ciph->tot_len = ntohs(skb->len-(((unsigned char *)iph)-skb->data));
skb1838net/ipv4/ip.cskb->free = free;
skb1848net/ipv4/ip.cip_fragment(sk,skb,dev,0);
skb1849net/ipv4/ip.cIS_SKB(skb);
skb1850net/ipv4/ip.ckfree_skb(skb,FREE_WRITE);
skb1868net/ipv4/ip.cif (skb->next != NULL)
skb1871net/ipv4/ip.cskb_unlink(skb);
skb1892net/ipv4/ip.cif (skb->link3 != NULL)
skb1895net/ipv4/ip.cskb->link3 = NULL;
skb1899net/ipv4/ip.csk->send_tail = skb;
skb1900net/ipv4/ip.csk->send_head = skb;
skb1904net/ipv4/ip.csk->send_tail->link3 = skb;
skb1905net/ipv4/ip.csk->send_tail = skb;
skb1914net/ipv4/ip.cskb->sk = sk;
skb1936net/ipv4/ip.cip_loopback(dev,skb);
skb1944net/ipv4/ip.cip_loopback(dev,skb);
skb1953net/ipv4/ip.cif(skb->ip_hdr->ttl==0)
skb1955net/ipv4/ip.ckfree_skb(skb, FREE_READ);
skb1961net/ipv4/ip.cip_loopback(dev,skb);
skb1972net/ipv4/ip.cdev_queue_xmit(skb, dev, sk->priority);
skb1976net/ipv4/ip.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb1983net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb2503net/ipv4/ip.cstruct sk_buff *skb=sock_alloc_send_skb(sk, length+20+15+dev->hard_header_len,0,&error);
skb2504net/ipv4/ip.cif(skb==NULL)
skb2509net/ipv4/ip.cskb->dev=dev;
skb2510net/ipv4/ip.cskb->free=1;
skb2511net/ipv4/ip.cskb->when=jiffies;
skb2512net/ipv4/ip.cskb->sk=sk;
skb2513net/ipv4/ip.cskb->arp=0;
skb2514net/ipv4/ip.cskb->saddr=saddr;
skb2516net/ipv4/ip.cskb->raddr=(rt&&rt->rt_gateway)?rt->rt_gateway:daddr;
skb2517net/ipv4/ip.cskb_reserve(skb,(dev->hard_header_len+15)&~15);
skb2520net/ipv4/ip.cmemcpy(skb_push(skb,dev->hard_header_len),sk->ip_hcache_data,dev->hard_header_len);
skb2521net/ipv4/ip.cskb->arp=1;
skb2525net/ipv4/ip.cif(dev->hard_header(skb,dev,ETH_P_IP,NULL,NULL,0)>0)
skb2526net/ipv4/ip.cskb->arp=1;
skb2528net/ipv4/ip.cskb->ip_hdr=iph=(struct iphdr *)skb_put(skb,length);
skb2548net/ipv4/ip.cip_fw_chk((void *)skb->data,dev,ip_acct_chain, IP_FW_F_ACCEPT,1);
skb2551net/ipv4/ip.cdev_queue_xmit(skb,dev,sk->priority);
skb2555net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb2616net/ipv4/ip.cstruct sk_buff * skb;
skb2624net/ipv4/ip.cskb = sock_alloc_send_skb(sk, fraglen+15, 0, &error);
skb2625net/ipv4/ip.cif (skb == NULL)
skb2637net/ipv4/ip.cskb->next = skb->prev = NULL;
skb2638net/ipv4/ip.cskb->dev = dev;
skb2639net/ipv4/ip.cskb->when = jiffies;
skb2640net/ipv4/ip.cskb->free = 1; /* dubious, this one */
skb2641net/ipv4/ip.cskb->sk = sk;
skb2642net/ipv4/ip.cskb->arp = 0;
skb2643net/ipv4/ip.cskb->saddr = saddr;
skb2644net/ipv4/ip.cskb->raddr = (rt&&rt->rt_gateway) ? rt->rt_gateway : daddr;
skb2645net/ipv4/ip.cskb_reserve(skb,(dev->hard_header_len+15)&~15);
skb2646net/ipv4/ip.cdata = skb_put(skb, fraglen-dev->hard_header_len);
skb2657net/ipv4/ip.cmemcpy(skb_push(skb,dev->hard_header_len),sk->ip_hcache_data, dev->hard_header_len);
skb2658net/ipv4/ip.cskb->arp=1;
skb2662net/ipv4/ip.cif(dev->hard_header(skb, dev, ETH_P_IP, 
skb2664net/ipv4/ip.cskb->arp=1;
skb2671net/ipv4/ip.cskb->ip_hdr = iph = (struct iphdr *)data;
skb2739net/ipv4/ip.cif(skb->daddr==IGMP_ALL_HOSTS)
skb2740net/ipv4/ip.cip_loopback(rt?rt->rt_dev:dev,skb);
skb2748net/ipv4/ip.cip_loopback(rt?rt->rt_dev:dev,skb);
skb2761net/ipv4/ip.cif(skb->ip_hdr->ttl==0)
skb2762net/ipv4/ip.ckfree_skb(skb, FREE_READ);
skb2773net/ipv4/ip.cip_loopback(dev,skb);
skb2781net/ipv4/ip.cdev_queue_xmit(skb, dev, sk->priority);
skb2796net/ipv4/ip.ckfree_skb(skb, FREE_WRITE);
skb546net/ipv4/ip_fw.cstatic struct sk_buff *revamp(struct sk_buff *skb, struct device *dev, struct ip_masq *ftp)
skb548net/ipv4/ip_fw.cstruct iphdr *iph = skb->h.iph;
skb568net/ipv4/ip_fw.cwhile (skb->len - ((unsigned char *)data - skb->h.raw) > 18)
skb604net/ipv4/ip_fw.creturn skb;
skb633net/ipv4/ip_fw.creturn skb;
skb639net/ipv4/ip_fw.cprintk("MASQUERADE: resizing needed for %d bytes (%ld)\n",ftp->delta, skb->len);
skb643net/ipv4/ip_fw.cskb2 = alloc_skb(MAX_HEADER + skb->len+ftp->delta, GFP_ATOMIC);
skb646net/ipv4/ip_fw.creturn skb;
skb648net/ipv4/ip_fw.cskb2->free = skb->free;
skb650net/ipv4/ip_fw.cskb_put(skb2,skb->len + ftp->delta);
skb651net/ipv4/ip_fw.cskb2->h.raw = &skb2->data[skb->h.raw - skb->data];
skb657net/ipv4/ip_fw.cmemcpy(skb2->data, skb->data, (p - (char *)skb->data));
skb658net/ipv4/ip_fw.cmemcpy(&skb2->data[(p - (char *)skb->data)], buf, strlen(buf));
skb659net/ipv4/ip_fw.cmemcpy(&skb2->data[(p - (char *)skb->data) + strlen(buf)], data,
skb660net/ipv4/ip_fw.cskb->len - ((char *)skb->h.raw - data));
skb667net/ipv4/ip_fw.ckfree_skb(skb, FREE_WRITE);
skb670net/ipv4/ip_fw.creturn skb;
skb685net/ipv4/ip_fw.cstruct sk_buff  *skb=*skb_ptr;
skb686net/ipv4/ip_fw.cstruct iphdr  *iph = skb->h.iph;
skb746net/ipv4/ip_fw.csize = skb->len - ((unsigned char *)portptr - skb->h.raw);
skb764net/ipv4/ip_fw.cskb = revamp(*skb_ptr, dev, ms);
skb765net/ipv4/ip_fw.c*skb_ptr = skb;
skb766net/ipv4/ip_fw.ciph = skb->h.iph;
skb781net/ipv4/ip_fw.ctcp_send_check(th,iph->saddr,iph->daddr,size,skb->sk);
skb52net/ipv4/ipip.cint ipip_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, 
skb61net/ipv4/ipip.cskb->h.iph=skb->data;  /* Correct IP header pointer on to new header */
skb62net/ipv4/ipip.cif(ip_forward(skb, dev, 0, daddr, 0))
skb63net/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);
skb198net/ipv4/rarp.cstatic int rarp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb203net/ipv4/rarp.cstruct arphdr *rarp = (struct arphdr *) skb->data;
skb204net/ipv4/rarp.cunsigned char *rarp_ptr = skb_pull(skb,sizeof(struct arphdr));
skb216net/ipv4/rarp.ckfree_skb(skb, FREE_READ);
skb225net/ipv4/rarp.ckfree_skb(skb, FREE_READ);
skb243net/ipv4/rarp.ckfree_skb(skb, FREE_READ);
skb279net/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->ip_hdr;
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);
skb137net/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);
skb429net/ipv4/udp.cstruct sk_buff *skb;
skb434net/ipv4/udp.cskb = skb_peek(&sk->receive_queue);
skb435net/ipv4/udp.cif (skb != NULL) {
skb441net/ipv4/udp.camount = skb->len;
skb469net/ipv4/udp.cstruct sk_buff *skb;
skb484net/ipv4/udp.cskb=skb_recv_datagram(sk,flags,noblock,&er);
skb485net/ipv4/udp.cif(skb==NULL)
skb488net/ipv4/udp.ctruesize = skb->len - sizeof(struct udphdr);
skb495net/ipv4/udp.cskb_copy_datagram(skb,sizeof(struct udphdr),to,copied);
skb496net/ipv4/udp.csk->stamp=skb->stamp;
skb502net/ipv4/udp.csin->sin_port = skb->h.uh->source;
skb503net/ipv4/udp.csin->sin_addr.s_addr = skb->daddr;
skb506net/ipv4/udp.cskb_free_datagram(skb);
skb568net/ipv4/udp.cint udp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb584net/ipv4/udp.cuh = (struct udphdr *) skb->h.uh;
skb598net/ipv4/udp.ckfree_skb(skb, FREE_WRITE);
skb610net/ipv4/udp.c( skb->ip_summed && udp_check(uh, len, saddr, daddr, skb->csum ) ) ||
skb611net/ipv4/udp.c( !skb->ip_summed && udp_check(uh, len, saddr, daddr,csum_partial((char*)uh, len, 0)))
skb626net/ipv4/udp.ckfree_skb(skb, FREE_WRITE);
skb650net/ipv4/udp.cskb1=skb_clone(skb,GFP_ATOMIC);
skb652net/ipv4/udp.cskb1=skb;
skb660net/ipv4/udp.ckfree_skb(skb, FREE_READ);
skb681net/ipv4/udp.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0, dev);
skb687net/ipv4/udp.cskb->sk = NULL;
skb688net/ipv4/udp.ckfree_skb(skb, FREE_WRITE);
skb691net/ipv4/udp.creturn udp_deliver(sk,uh,skb,dev, saddr, daddr, len);
skb694net/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)
skb696net/ipv4/udp.cskb->sk = sk;
skb697net/ipv4/udp.cskb->dev = dev;
skb698net/ipv4/udp.cskb_trim(skb,len);
skb704net/ipv4/udp.cskb->daddr = saddr;
skb705net/ipv4/udp.cskb->saddr = daddr;
skb715net/ipv4/udp.cif (sock_queue_rcv_skb(sk,skb)<0) 
skb720net/ipv4/udp.cskb->sk = NULL;
skb721net/ipv4/udp.ckfree_skb(skb, FREE_WRITE);
skb179net/ipx/af_ipx.cstruct sk_buff  *skb;
skb182net/ipx/af_ipx.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL) {
skb183net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb327net/ipx/af_ipx.cipxitf_def_skb_handler(struct sock *sock, struct sk_buff *skb)
skb331net/ipx/af_ipx.cif((retval = sock_queue_rcv_skb(sock, skb))<0) {
skb340net/ipx/af_ipx.ckfree_skb(skb,FREE_WRITE);
skb346net/ipx/af_ipx.cipxitf_demux_socket(ipx_interface *intrfc, struct sk_buff *skb, int copy) 
skb348net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *)(skb->h.raw);
skb383net/ipx/af_ipx.ckfree_skb(skb,FREE_WRITE);
skb394net/ipx/af_ipx.cskb1 = skb_clone(skb, GFP_ATOMIC);
skb399net/ipx/af_ipx.cskb1 = skb;
skb428net/ipx/af_ipx.cipxitf_adjust_skbuff(ipx_interface *intrfc, struct sk_buff *skb)
skb431net/ipx/af_ipx.cint  in_offset = skb->h.raw - skb->head;
skb441net/ipx/af_ipx.cskb->arp = skb->free = 1;
skb442net/ipx/af_ipx.creturn skb;
skb448net/ipx/af_ipx.coldraw = skb->h.raw;
skb449net/ipx/af_ipx.cskb->h.raw = &(skb->data[out_offset]);
skb450net/ipx/af_ipx.cmemmove(skb->h.raw, oldraw, skb->len);
skb451net/ipx/af_ipx.cskb->len += out_offset;
skb452net/ipx/af_ipx.cskb->arp = skb->free = 1;
skb453net/ipx/af_ipx.creturn skb;
skb458net/ipx/af_ipx.clen = skb->len + out_offset;
skb462net/ipx/af_ipx.cskb2->h.raw=skb_put(skb2,skb->len);
skb465net/ipx/af_ipx.cmemcpy(skb2->h.raw, skb->h.raw, skb->len);
skb467net/ipx/af_ipx.ckfree_skb(skb, FREE_WRITE);
skb472net/ipx/af_ipx.cipxitf_send(ipx_interface *intrfc, struct sk_buff *skb, char *node)
skb474net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *)(skb->h.raw);
skb490net/ipx/af_ipx.creturn ipxitf_demux_socket(intrfc, skb, 0);
skb492net/ipx/af_ipx.cipxitf_demux_socket(intrfc, skb, send_to_wire);
skb512net/ipx/af_ipx.ckfree_skb(skb,FREE_WRITE);
skb525net/ipx/af_ipx.cskb = ipxitf_adjust_skbuff(intrfc, skb);
skb526net/ipx/af_ipx.cif (skb == NULL) return 0;
skb529net/ipx/af_ipx.cskb->dev = dev;
skb530net/ipx/af_ipx.cdl->datalink_header(dl, skb, dest_node);
skb532net/ipx/af_ipx.cif (skb->sk != NULL) {
skb536net/ipx/af_ipx.cskb->sk->wmem_alloc += skb->truesize;
skb541net/ipx/af_ipx.cdump_pkt("IPX snd:", (ipx_packet *)skb->h.raw);
skb542net/ipx/af_ipx.cdump_data("ETH hdr:", skb->data, skb->h.raw - skb->data);
skb546net/ipx/af_ipx.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb564net/ipx/af_ipx.cipxitf_rcv(ipx_interface *intrfc, struct sk_buff *skb)
skb566net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *) (skb->h.raw);
skb597net/ipx/af_ipx.cif ((skb->pkt_type != PACKET_BROADCAST) &&
skb598net/ipx/af_ipx.c(skb->pkt_type != PACKET_MULTICAST))
skb599net/ipx/af_ipx.creturn ipxrtr_route_skb(skb);
skb601net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb608net/ipx/af_ipx.creturn ipxitf_demux_socket(intrfc, skb, 0);
skb612net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb994net/ipx/af_ipx.cstruct sk_buff *skb;
skb1019net/ipx/af_ipx.cskb=alloc_skb(size,GFP_KERNEL);
skb1020net/ipx/af_ipx.cif(skb==NULL) return -ENOMEM;
skb1022net/ipx/af_ipx.cskb->sk=sk;
skb1023net/ipx/af_ipx.cskb_reserve(skb,ipx_offset);
skb1024net/ipx/af_ipx.cskb->free=1;
skb1025net/ipx/af_ipx.cskb->arp=1;
skb1028net/ipx/af_ipx.cipx=(ipx_packet *)skb_put(skb,sizeof(ipx_packet));
skb1033net/ipx/af_ipx.cskb->h.raw = (unsigned char *)ipx;
skb1042net/ipx/af_ipx.cmemcpy_fromfs(skb_put(skb,len),ubuf,len);
skb1043net/ipx/af_ipx.creturn ipxitf_send(intrfc, skb, (rt && rt->ir_routed) ? 
skb1048net/ipx/af_ipx.cipxrtr_route_skb(struct sk_buff *skb)
skb1050net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *) (skb->h.raw);
skb1057net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1061net/ipx/af_ipx.c(void)ipxitf_send(i, skb, (r->ir_routed) ? 
skb1654net/ipx/af_ipx.cint ipx_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb1661net/ipx/af_ipx.cipx=(ipx_packet *)skb->h.raw;
skb1667net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1673net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1686net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1691net/ipx/af_ipx.creturn ipxitf_rcv(intrfc, skb);
skb1750net/ipx/af_ipx.cstruct sk_buff *skb;
skb1764net/ipx/af_ipx.cskb=skb_recv_datagram(sk,flags,noblock,&er);
skb1765net/ipx/af_ipx.cif(skb==NULL)
skb1770net/ipx/af_ipx.cipx = (ipx_packet *)(skb->h.raw);
skb1773net/ipx/af_ipx.cskb_copy_datagram(skb,sizeof(struct ipx_packet),ubuf,copied);
skb1783net/ipx/af_ipx.cskb_free_datagram(skb);
skb1839net/ipx/af_ipx.cstruct sk_buff *skb;
skb1841net/ipx/af_ipx.cif((skb=skb_peek(&sk->receive_queue))!=NULL)
skb1842net/ipx/af_ipx.camount=skb->len;
skb243net/netrom/af_netrom.cstruct sk_buff *skb;
skb254net/netrom/af_netrom.cwhile ((skb = skb_dequeue(&sk->receive_queue)) != NULL) {
skb255net/netrom/af_netrom.cif (skb->sk != sk) {      /* A pending connection */
skb256net/netrom/af_netrom.cskb->sk->dead = 1;  /* Queue the unaccepted socket for death */
skb257net/netrom/af_netrom.cnr_set_timer(skb->sk);
skb258net/netrom/af_netrom.cskb->sk->nr->state = NR_STATE_0;
skb261net/netrom/af_netrom.ckfree_skb(skb, FREE_READ);
skb836net/netrom/af_netrom.cstruct sk_buff *skb;
skb855net/netrom/af_netrom.cif ((skb = skb_dequeue(&sk->receive_queue)) == NULL) {
skb866net/netrom/af_netrom.c} while (skb == NULL);
skb868net/netrom/af_netrom.cnewsk = skb->sk;
skb873net/netrom/af_netrom.cskb->sk = NULL;
skb874net/netrom/af_netrom.ckfree_skb(skb, FREE_READ);
skb907net/netrom/af_netrom.cint nr_rx_frame(struct sk_buff *skb, struct device *dev)
skb915net/netrom/af_netrom.cskb->sk = NULL;    /* Initially we don't know who its for */
skb921net/netrom/af_netrom.csrc  = (ax25_address *)(skb->data + 0);
skb922net/netrom/af_netrom.cdest = (ax25_address *)(skb->data + 7);
skb924net/netrom/af_netrom.ccircuit_index = skb->data[15];
skb925net/netrom/af_netrom.ccircuit_id    = skb->data[16];
skb926net/netrom/af_netrom.cframetype     = skb->data[19];
skb933net/netrom/af_netrom.cskb_pull(skb, NR_NETWORK_LEN + NR_TRANSPORT_LEN);
skb934net/netrom/af_netrom.cskb->h.raw = skb->data;
skb936net/netrom/af_netrom.creturn nr_rx_ip(skb, dev);
skb946net/netrom/af_netrom.cskb->h.raw = skb->data;
skb948net/netrom/af_netrom.cif ((frametype & 0x0F) == NR_CONNACK && skb->len == 22)
skb953net/netrom/af_netrom.creturn nr_process_rx_frame(sk, skb);
skb962net/netrom/af_netrom.cnr_transmit_dm(skb);
skb966net/netrom/af_netrom.cuser   = (ax25_address *)(skb->data + 21);
skb967net/netrom/af_netrom.cwindow = skb->data[20];
skb969net/netrom/af_netrom.cskb->sk             = make;
skb990net/netrom/af_netrom.cif (skb->len == 37) {
skb991net/netrom/af_netrom.ctimeout = skb->data[36] * 256 + skb->data[35];
skb1012net/netrom/af_netrom.cskb_queue_head(&sk->receive_queue, skb);
skb1017net/netrom/af_netrom.csk->data_ready(sk, skb->len);
skb1029net/netrom/af_netrom.cstruct sk_buff *skb;
skb1072net/netrom/af_netrom.cif ((skb = sock_alloc_send_skb(sk, size, 0, &err)) == NULL)
skb1075net/netrom/af_netrom.cskb->sk   = sk;
skb1076net/netrom/af_netrom.cskb->free = 1;
skb1077net/netrom/af_netrom.cskb->arp  = 1;
skb1079net/netrom/af_netrom.cskb_reserve(skb, size - len);
skb1085net/netrom/af_netrom.casmptr = skb_push(skb, NR_TRANSPORT_LEN);
skb1105net/netrom/af_netrom.cskb->h.raw = skb_put(skb, len);
skb1107net/netrom/af_netrom.casmptr = skb->h.raw;
skb1119net/netrom/af_netrom.ckfree_skb(skb, FREE_WRITE);
skb1123net/netrom/af_netrom.cnr_output(sk, skb);  /* Shove it onto the queue */
skb1144net/netrom/af_netrom.cstruct sk_buff *skb;
skb1164net/netrom/af_netrom.cif ((skb = skb_recv_datagram(sk, flags, noblock, &er)) == NULL)
skb1168net/netrom/af_netrom.cskb_pull(skb, NR_NETWORK_LEN + NR_TRANSPORT_LEN);
skb1169net/netrom/af_netrom.cskb->h.raw = skb->data;
skb1172net/netrom/af_netrom.ccopied = (size < skb->len) ? size : skb->len;
skb1173net/netrom/af_netrom.cskb_copy_datagram(skb, 0, ubuf, copied);
skb1179net/netrom/af_netrom.cmemcpy(&addr.sax25_call, skb->data + 7, sizeof(ax25_address));
skb1186net/netrom/af_netrom.cskb_free_datagram(skb);
skb1237net/netrom/af_netrom.cstruct sk_buff *skb;
skb1239net/netrom/af_netrom.cif ((skb = skb_peek(&sk->receive_queue)) != NULL)
skb1240net/netrom/af_netrom.camount = skb->len - 20;
skb53net/netrom/nr_dev.cint nr_rx_ip(struct sk_buff *skb, struct device *dev)
skb64net/netrom/nr_dev.cskb->protocol = htons(ETH_P_IP);
skb67net/netrom/nr_dev.cskb->dev = dev;
skb69net/netrom/nr_dev.cskb->h.raw = skb->data;
skb70net/netrom/nr_dev.cip_rcv(skb, skb->dev, NULL);
skb75net/netrom/nr_dev.cstatic int nr_header(struct sk_buff *skb, struct device *dev, unsigned short type,
skb78net/netrom/nr_dev.cunsigned char *buff = skb_push(skb, NR_NETWORK_LEN + NR_TRANSPORT_LEN);
skb108net/netrom/nr_dev.cunsigned long raddr, struct sk_buff *skb)
skb113net/netrom/nr_dev.cskb_device_unlock(skb);
skb116net/netrom/nr_dev.cskb->free = 1;
skb117net/netrom/nr_dev.ckfree_skb(skb, FREE_WRITE);
skb130net/netrom/nr_dev.cif (!nr_route_frame(skb, NULL)) {
skb131net/netrom/nr_dev.cskb->free = 1;
skb132net/netrom/nr_dev.ckfree_skb(skb, FREE_WRITE);
skb164net/netrom/nr_dev.cstatic int nr_xmit(struct sk_buff *skb, struct device *dev)
skb168net/netrom/nr_dev.cif (skb == NULL || dev == NULL)
skb188net/netrom/nr_dev.cdev_kfree_skb(skb, FREE_WRITE);
skb51net/netrom/nr_in.cstatic int nr_queue_rx_frame(struct sock *sk, struct sk_buff *skb, int more)
skb53net/netrom/nr_in.cstruct sk_buff *skbo, *skbn = skb;
skb56net/netrom/nr_in.csk->nr->fraglen += skb->len;
skb57net/netrom/nr_in.cskb_queue_tail(&sk->nr->frag_queue, skb);
skb62net/netrom/nr_in.csk->nr->fraglen += skb->len;
skb63net/netrom/nr_in.cskb_queue_tail(&sk->nr->frag_queue, skb);
skb95net/netrom/nr_in.cstatic int nr_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype)
skb101net/netrom/nr_in.csk->window         = skb->data[20];
skb102net/netrom/nr_in.csk->nr->your_index = skb->data[17];
skb103net/netrom/nr_in.csk->nr->your_id    = skb->data[18];
skb141net/netrom/nr_in.cstatic int nr_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype)
skb170net/netrom/nr_in.cstatic int nr_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype)
skb178net/netrom/nr_in.cnr = skb->data[18];
skb179net/netrom/nr_in.cns = skb->data[17];
skb277net/netrom/nr_in.cskb_queue_head(&sk->nr->reseq_queue, skb);
skb324net/netrom/nr_in.cint nr_process_rx_frame(struct sock *sk, struct sk_buff *skb)
skb336net/netrom/nr_in.cframetype = skb->data[19];
skb341net/netrom/nr_in.cqueued = nr_state1_machine(sk, skb, frametype);
skb344net/netrom/nr_in.cqueued = nr_state2_machine(sk, skb, frametype);
skb347net/netrom/nr_in.cqueued = nr_state3_machine(sk, skb, frametype);
skb48net/netrom/nr_out.cvoid nr_output(struct sock *sk, struct sk_buff *skb)
skb56net/netrom/nr_out.cif (skb->len - NR_TRANSPORT_LEN > mtu) {
skb58net/netrom/nr_out.cmemcpy(transport, skb->data, NR_TRANSPORT_LEN);
skb59net/netrom/nr_out.cskb_pull(skb, NR_TRANSPORT_LEN);
skb61net/netrom/nr_out.cfrontlen = skb_headroom(skb);
skb63net/netrom/nr_out.cwhile (skb->len > 0) {
skb73net/netrom/nr_out.clen = (mtu > skb->len) ? skb->len : mtu;
skb76net/netrom/nr_out.cmemcpy(skb_put(skbn, len), skb->data, len);
skb77net/netrom/nr_out.cskb_pull(skb, len);
skb83net/netrom/nr_out.cif (skb->len > 0)
skb89net/netrom/nr_out.cskb->free = 1;
skb90net/netrom/nr_out.ckfree_skb(skb, FREE_WRITE);
skb92net/netrom/nr_out.cskb_queue_tail(&sk->write_queue, skb);    /* Throw it on the queue */
skb103net/netrom/nr_out.cstatic void nr_send_iframe(struct sock *sk, struct sk_buff *skb)
skb105net/netrom/nr_out.cif (skb == NULL)
skb108net/netrom/nr_out.cskb->data[2] = sk->nr->vs;
skb109net/netrom/nr_out.cskb->data[3] = sk->nr->vr;
skb112net/netrom/nr_out.cskb->data[4] |= NR_CHOKE_FLAG;
skb114net/netrom/nr_out.cnr_transmit_buffer(sk, skb);  
skb119net/netrom/nr_out.cstruct sk_buff *skb, *skbn;
skb121net/netrom/nr_out.cif ((skb = skb_peek(&sk->nr->ack_queue)) == NULL)
skb124net/netrom/nr_out.cif ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL)
skb136net/netrom/nr_out.cstruct sk_buff *skb, *skbn;
skb159net/netrom/nr_out.cskb  = skb_dequeue(&sk->write_queue);
skb161net/netrom/nr_out.cif ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) {
skb162net/netrom/nr_out.cskb_queue_head(&sk->write_queue, skb);
skb179net/netrom/nr_out.cskb_queue_tail(&sk->nr->ack_queue, skb);
skb194net/netrom/nr_out.cvoid nr_transmit_buffer(struct sock *sk, struct sk_buff *skb)
skb201net/netrom/nr_out.cdptr = skb_push(skb, NR_NETWORK_LEN);
skb217net/netrom/nr_out.cskb->arp = 1;
skb219net/netrom/nr_out.cif (!nr_route_frame(skb, NULL)) {
skb220net/netrom/nr_out.ckfree_skb(skb, FREE_WRITE);
skb647net/netrom/nr_route.cint nr_route_frame(struct sk_buff *skb, ax25_cb *ax25)
skb655net/netrom/nr_route.cnr_src  = (ax25_address *)(skb->data + 0);
skb656net/netrom/nr_route.cnr_dest = (ax25_address *)(skb->data + 7);
skb662net/netrom/nr_route.creturn nr_rx_frame(skb, dev);
skb668net/netrom/nr_route.cif (--skb->data[14] == 0)
skb688net/netrom/nr_route.cdptr  = skb_push(skb, 1);
skb691net/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.ckfree_skb(skb, FREE_READ);
skb67net/netrom/nr_subr.cwhile ((skb = skb_dequeue(&sk->nr->frag_queue)) != NULL) {
skb68net/netrom/nr_subr.ckfree_skb(skb, FREE_READ);
skb79net/netrom/nr_subr.cstruct sk_buff *skb;
skb86net/netrom/nr_subr.cskb = skb_dequeue(&sk->nr->ack_queue);
skb87net/netrom/nr_subr.cskb->sk   = sk;
skb88net/netrom/nr_subr.cskb->free = 1;
skb89net/netrom/nr_subr.ckfree_skb(skb, FREE_WRITE);
skb102net/netrom/nr_subr.cstruct sk_buff *skb, *skb_prev = NULL;
skb104net/netrom/nr_subr.cwhile ((skb = skb_dequeue(&sk->nr->ack_queue)) != NULL) {
skb106net/netrom/nr_subr.cskb_queue_head(&sk->write_queue, skb);
skb108net/netrom/nr_subr.cskb_append(skb_prev, skb);
skb109net/netrom/nr_subr.cskb_prev = skb;
skb155net/netrom/nr_subr.cstruct sk_buff *skb;
skb177net/netrom/nr_subr.cif ((skb = alloc_skb(len, GFP_ATOMIC)) == NULL)
skb183net/netrom/nr_subr.cskb_reserve(skb, AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + 2 + NR_NETWORK_LEN);
skb185net/netrom/nr_subr.cdptr = skb_put(skb, skb_tailroom(skb));
skb239net/netrom/nr_subr.cskb->free = 1;
skb241net/netrom/nr_subr.cnr_transmit_buffer(sk, skb);
skb248net/netrom/nr_subr.cvoid nr_transmit_dm(struct sk_buff *skb)
skb263net/netrom/nr_subr.cmemcpy(dptr, skb->data + 7, AX25_ADDR_LEN);
skb269net/netrom/nr_subr.cmemcpy(dptr, skb->data + 0, AX25_ADDR_LEN);
skb277net/netrom/nr_subr.c*dptr++ = skb->data[15];
skb278net/netrom/nr_subr.c*dptr++ = skb->data[16];
skb156net/unix/af_unix.cstruct sk_buff *skb;
skb159net/unix/af_unix.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL)
skb163net/unix/af_unix.cunix_socket *osk=skb->sk;
skb165net/unix/af_unix.ckfree_skb(skb, FREE_WRITE);  /* Now surplus - free the skb first before the socket */
skb172net/unix/af_unix.ckfree_skb(skb,FREE_WRITE);
skb425net/unix/af_unix.cstruct sk_buff *skb;
skb476net/unix/af_unix.cskb=sock_alloc_send_skb(sk, 0, 0, &err); /* Marker object */
skb477net/unix/af_unix.cif(skb==NULL)
skb479net/unix/af_unix.cskb->sk=sk;        /* So they know it is us */
skb480net/unix/af_unix.cskb->free=1;
skb486net/unix/af_unix.ckfree_skb(skb, FREE_WRITE);
skb492net/unix/af_unix.cskb_queue_tail(&other->receive_queue,skb);
skb542net/unix/af_unix.cunix_socket *ska,*skb;  
skb556net/unix/af_unix.cskb=b->data;
skb560net/unix/af_unix.cskb->protinfo.af_unix.locks++;
skb561net/unix/af_unix.cska->protinfo.af_unix.other=skb;
skb562net/unix/af_unix.cskb->protinfo.af_unix.other=ska;
skb564net/unix/af_unix.cskb->state=TCP_ESTABLISHED;
skb572net/unix/af_unix.cstruct sk_buff *skb;
skb595net/unix/af_unix.cskb=skb_dequeue(&sk->receive_queue);
skb596net/unix/af_unix.cif(skb==NULL)
skb612net/unix/af_unix.cwhile(skb==NULL);
skb613net/unix/af_unix.ctsk=skb->sk;
skb614net/unix/af_unix.ckfree_skb(skb, FREE_WRITE);  /* The buffer is just used as a tag */
skb658net/unix/af_unix.cstruct sk_buff *skb;
skb708net/unix/af_unix.cskb=sock_alloc_send_skb(sk,size,nonblock, &err);
skb709net/unix/af_unix.cif(skb==NULL)
skb712net/unix/af_unix.cskb->sk=sk;
skb713net/unix/af_unix.cskb->free=1;
skb714net/unix/af_unix.cmemcpy_fromiovec(skb_put(skb,len),msg->msg_iov, len);
skb734net/unix/af_unix.ckfree_skb(skb, FREE_WRITE);
skb738net/unix/af_unix.cskb_queue_tail(&other->receive_queue, skb);
skb749net/unix/af_unix.cstruct sk_buff *skb;
skb788net/unix/af_unix.cskb=skb_peek(&sk->receive_queue);
skb789net/unix/af_unix.cif(skb==NULL)
skb817net/unix/af_unix.cif(skb->sk->protinfo.af_unix.name)
skb819net/unix/af_unix.cmemcpy(sun->sun_path, skb->sk->protinfo.af_unix.name, 108);
skb827net/unix/af_unix.cnum=min(skb->len,size-copied);
skb832net/unix/af_unix.cmemcpy_tofs(sp, skb->data, num);
skb837net/unix/af_unix.cmemcpy_tofs(sp, skb->data,num);
skb838net/unix/af_unix.cskb_pull(skb,num);
skb840net/unix/af_unix.cif(skb->len==0)
skb842net/unix/af_unix.cskb_unlink(skb);
skb843net/unix/af_unix.ckfree_skb(skb, FREE_WRITE);
skb908net/unix/af_unix.cstruct sk_buff *skb;
skb912net/unix/af_unix.cif((skb=skb_peek(&sk->receive_queue))!=NULL)
skb913net/unix/af_unix.camount=skb->len;