taglinefilesource code
skb122drivers/net/3c501.cstatic int  el_start_xmit(struct sk_buff *skb, struct device *dev);
skb377drivers/net/3c501.cstatic int el_start_xmit(struct sk_buff *skb, struct device *dev)
skb406drivers/net/3c501.cif (skb == NULL) 
skb433drivers/net/3c501.cint gp_start = 0x800 - (ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
skb434drivers/net/3c501.cunsigned char *buf = skb->data;
skb462drivers/net/3c501.coutsb(DATAPORT,buf,skb->len);  /* load buffer (usual thing each byte increments the pointer) */
skb482drivers/net/3c501.cdev_kfree_skb (skb, FREE_WRITE);
skb679drivers/net/3c501.cstruct sk_buff *skb;
skb699drivers/net/3c501.cskb = dev_alloc_skb(pkt_len+2);
skb706drivers/net/3c501.cif (skb == NULL) 
skb714drivers/net/3c501.cskb_reserve(skb,2);  /* Force 16 byte alignment */
skb715drivers/net/3c501.cskb->dev = dev;
skb721drivers/net/3c501.cinsb(DATAPORT, skb_put(skb,pkt_len), pkt_len);
skb722drivers/net/3c501.cskb->protocol=eth_type_trans(skb,dev);
skb723drivers/net/3c501.cnetif_rx(skb);
skb77drivers/net/3c503.cstatic void el2_block_input(struct device *dev, int count, struct sk_buff *skb,
skb513drivers/net/3c503.cel2_block_input(struct device *dev, int count, struct sk_buff *skb, int ring_offset)
skb525drivers/net/3c503.cmemcpy_fromio(skb->data, dev->mem_start + ring_offset, semi_count);
skb527drivers/net/3c503.cmemcpy_fromio(skb->data + semi_count, dev->rmem_start, count);
skb530drivers/net/3c503.ceth_io_copy_and_sum(skb, dev->mem_start + ring_offset, count, 0);
skb551drivers/net/3c503.c(skb->data)[i] = inb_p(E33G_FIFOH);
skb557drivers/net/3c505.cstruct sk_buff *skb;
skb572drivers/net/3c505.cskb = dev_alloc_skb(rlen+2);
skb583drivers/net/3c505.cif (skb == NULL) {
skb599drivers/net/3c505.cskb_reserve(skb,2);  /* 16 byte alignment */
skb600drivers/net/3c505.cskb->dev = dev;
skb605drivers/net/3c505.cptr = (unsigned short *)skb_put(skb,len);
skb614drivers/net/3c505.ckfree_skb(skb, FREE_WRITE);
skb623drivers/net/3c505.cskb->protocol=eth_type_trans(skb,dev);
skb624drivers/net/3c505.cnetif_rx(skb);
skb1005drivers/net/3c505.celp_start_xmit (struct sk_buff *skb, struct device *dev)
skb1012drivers/net/3c505.cif (skb == NULL) {
skb1020drivers/net/3c505.cif (skb->len <= 0)
skb1024drivers/net/3c505.cprintk("%s: request to send packet of length %d\n", dev->name, (int)skb->len);
skb1045drivers/net/3c505.cif (!send_packet(dev, skb->data, skb->len)) {
skb1051drivers/net/3c505.cprintk("%s: packet of length %d sent\n", dev->name, (int)skb->len);
skb1067drivers/net/3c505.cdev_kfree_skb(skb, FREE_WRITE);
skb282drivers/net/3c507.cstatic int  el16_send_packet(struct sk_buff *skb, struct device *dev);
skb451drivers/net/3c507.cel16_send_packet(struct sk_buff *skb, struct device *dev)
skb486drivers/net/3c507.cif (skb == NULL) {
skb495drivers/net/3c507.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb496drivers/net/3c507.cunsigned char *buf = skb->data;
skb506drivers/net/3c507.cdev_kfree_skb (skb, FREE_WRITE);
skb841drivers/net/3c507.cstruct sk_buff *skb;
skb844drivers/net/3c507.cskb = dev_alloc_skb(pkt_len+2);
skb845drivers/net/3c507.cif (skb == NULL) {
skb851drivers/net/3c507.cskb_reserve(skb,2);
skb852drivers/net/3c507.cskb->dev = dev;
skb855drivers/net/3c507.cmemcpy(skb_put(skb,pkt_len), data_frame + 5, pkt_len);
skb857drivers/net/3c507.cskb->protocol=eth_type_trans(skb,dev);
skb858drivers/net/3c507.cnetif_rx(skb);
skb104drivers/net/3c509.cstatic int el3_start_xmit(struct sk_buff *skb, struct device *dev);
skb382drivers/net/3c509.cel3_start_xmit(struct sk_buff *skb, struct device *dev)
skb401drivers/net/3c509.cif (skb == NULL) {
skb406drivers/net/3c509.cif (skb->len <= 0)
skb411drivers/net/3c509.cdev->name, skb->len, inw(ioaddr + EL3_STATUS));
skb435drivers/net/3c509.coutw(skb->len, ioaddr + TX_FIFO);
skb438drivers/net/3c509.coutsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2);
skb448drivers/net/3c509.cdev_kfree_skb (skb, FREE_WRITE);
skb596drivers/net/3c509.cstruct sk_buff *skb;
skb598drivers/net/3c509.cskb = dev_alloc_skb(pkt_len+5);
skb602drivers/net/3c509.cif (skb != NULL) {
skb603drivers/net/3c509.cskb->dev = dev;
skb604drivers/net/3c509.cskb_reserve(skb,2);  /* Align IP on 16 byte boundaries */
skb607drivers/net/3c509.cinsl(ioaddr+RX_FIFO, skb_put(skb,pkt_len),
skb610drivers/net/3c509.cskb->protocol=eth_type_trans(skb,dev);
skb611drivers/net/3c509.cnetif_rx(skb);
skb140drivers/net/8390.cstatic int ei_start_xmit(struct sk_buff *skb, struct device *dev)
skb182drivers/net/8390.cif (skb == NULL) {
skb187drivers/net/8390.clength = skb->len;
skb188drivers/net/8390.cif (skb->len <= 0)
skb228drivers/net/8390.cei_block_output(dev, length, skb->data, output_page);
skb242drivers/net/8390.cei_block_output(dev, length, skb->data, ei_local->tx_start_page);
skb253drivers/net/8390.cdev_kfree_skb (skb, FREE_WRITE);
skb467drivers/net/8390.cstruct sk_buff *skb;
skb469drivers/net/8390.cskb = dev_alloc_skb(pkt_len+2);
skb470drivers/net/8390.cif (skb == NULL) {
skb477drivers/net/8390.cskb_reserve(skb,2);  /* IP headers on 16 byte boundaries */
skb478drivers/net/8390.cskb->dev = dev;
skb479drivers/net/8390.cskb_put(skb, pkt_len);  /* Make room */
skb480drivers/net/8390.cei_block_input(dev, pkt_len, skb, current_offset + sizeof(rx_frame));
skb481drivers/net/8390.cskb->protocol=eth_type_trans(skb,dev);
skb482drivers/net/8390.cnetif_rx(skb);
skb76drivers/net/ac3200.cstruct sk_buff *skb, int ring_offset);
skb269drivers/net/ac3200.cstatic void ac_block_input(struct device *dev, int count, struct sk_buff *skb,
skb277drivers/net/ac3200.cmemcpy_fromio(skb->data, xfer_start, semi_count);
skb279drivers/net/ac3200.cmemcpy_fromio(skb->data + semi_count, dev->rmem_start, count);
skb282drivers/net/ac3200.ceth_io_copy_and_sum(skb, xfer_start, count, 0);
skb185drivers/net/apricot.cstatic int i596_start_xmit(struct sk_buff *skb, struct device *dev);
skb340drivers/net/apricot.cstruct sk_buff *skb = dev_alloc_skb(pkt_len);
skb344drivers/net/apricot.cif (skb == NULL)
skb351drivers/net/apricot.cskb->dev = dev;    
skb352drivers/net/apricot.cmemcpy(skb_put(skb,pkt_len), lp->scb.rfd->data, pkt_len);
skb354drivers/net/apricot.cskb->protocol=eth_type_trans(skb,dev);
skb355drivers/net/apricot.cnetif_rx(skb);
skb358drivers/net/apricot.cif (i596_debug > 4) print_eth(skb->data);
skb406drivers/net/apricot.cstruct sk_buff *skb = ((struct sk_buff *)(tx_cmd->tbd->data)) -1;
skb408drivers/net/apricot.cdev_kfree_skb(skb, FREE_WRITE);
skb569drivers/net/apricot.ci596_start_xmit(struct sk_buff *skb, struct device *dev)
skb607drivers/net/apricot.cif (skb == NULL) {
skb613drivers/net/apricot.cif (skb->len <= 0) return 0;
skb623drivers/net/apricot.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb632drivers/net/apricot.cdev_kfree_skb(skb, FREE_WRITE);
skb646drivers/net/apricot.ctx_cmd->tbd->data = skb->data;
skb648drivers/net/apricot.cif (i596_debug > 3) print_eth(skb->data);
skb804drivers/net/apricot.cstruct sk_buff *skb = ((struct sk_buff *)(tx_cmd->tbd->data)) -1;
skb806drivers/net/apricot.cdev_kfree_skb(skb, FREE_WRITE);
skb810drivers/net/apricot.cif (i596_debug >2) print_eth(skb->data);
skb428drivers/net/arcnet.cstruct sk_buff *skb;    /* packet data buffer             */
skb436drivers/net/arcnet.cstruct sk_buff *skb;    /* buffer from upper levels */
skb495drivers/net/arcnet.cstatic int arcnet_send_packet_bad(struct sk_buff *skb,struct device *dev);
skb496drivers/net/arcnet.cstatic int arcnetA_send_packet(struct sk_buff *skb, struct device *dev);
skb497drivers/net/arcnet.cstatic int arcnetE_send_packet(struct sk_buff *skb, struct device *dev);
skb498drivers/net/arcnet.cstatic int arcnetS_send_packet(struct sk_buff *skb, struct device *dev);
skb520drivers/net/arcnet.cint arcnetA_header(struct sk_buff *skb,struct device *dev,
skb522drivers/net/arcnet.cint arcnetS_header(struct sk_buff *skb,struct device *dev,
skb525drivers/net/arcnet.cstruct sk_buff *skb);
skb527drivers/net/arcnet.cstruct sk_buff *skb);
skb528drivers/net/arcnet.cunsigned short arcnetA_type_trans(struct sk_buff *skb,struct device *dev);
skb529drivers/net/arcnet.cunsigned short arcnetS_type_trans(struct sk_buff *skb,struct device *dev);
skb1185drivers/net/arcnet.carcnet_send_packet_bad(struct sk_buff *skb, struct device *dev)
skb1218drivers/net/arcnet.cstatus,tickssofar,lp->outgoing.skb,
skb1245drivers/net/arcnet.cif (lp->outgoing.skb)
skb1247drivers/net/arcnet.cdev_kfree_skb(lp->outgoing.skb,FREE_WRITE);
skb1250drivers/net/arcnet.clp->outgoing.skb=NULL;
skb1262drivers/net/arcnet.cif (skb == NULL) {
skb1303drivers/net/arcnet.carcnetA_send_packet(struct sk_buff *skb, struct device *dev)
skb1311drivers/net/arcnet.cbad=arcnet_send_packet_bad(skb,dev);
skb1320drivers/net/arcnet.cout->length = 1 < skb->len ? skb->len : 1;
skb1321drivers/net/arcnet.cout->hdr=(struct ClientData*)skb->data;
skb1322drivers/net/arcnet.cout->skb=skb;
skb1327drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
skb1330drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb1350drivers/net/arcnet.c((char *)skb->data)+sizeof(struct ClientData),
skb1355drivers/net/arcnet.cdev_kfree_skb(out->skb,FREE_WRITE);
skb1356drivers/net/arcnet.cout->skb=NULL;
skb1369drivers/net/arcnet.cout->data=(u_char *)skb->data
skb1401drivers/net/arcnet.cif (out->skb)
skb1402drivers/net/arcnet.cdev_kfree_skb(out->skb,FREE_WRITE);
skb1403drivers/net/arcnet.cout->skb=NULL;
skb1421drivers/net/arcnet.carcnetE_send_packet(struct sk_buff *skb, struct device *dev)
skb1428drivers/net/arcnet.cshort offset,length=skb->len+1;
skb1432drivers/net/arcnet.cbad=arcnet_send_packet_bad(skb,dev);
skb1447drivers/net/arcnet.cdev_kfree_skb(skb,FREE_WRITE);
skb1461drivers/net/arcnet.cif (((struct ethhdr*)(skb->data))->h_dest[0] == 0xFF)
skb1465drivers/net/arcnet.c((struct ethhdr*)(skb->data))->h_dest[5];
skb1493drivers/net/arcnet.cmemcpy(arcsoft,skb->data,skb->len);
skb1520drivers/net/arcnet.cdev_kfree_skb(skb,FREE_WRITE);
skb1543drivers/net/arcnet.carcnetS_send_packet(struct sk_buff *skb, struct device *dev)
skb1547drivers/net/arcnet.cstruct S_ClientData *hdr=(struct S_ClientData *)skb->data;
skb1551drivers/net/arcnet.cbad=arcnet_send_packet_bad(skb,dev);
skb1560drivers/net/arcnet.clength = 1 < skb->len ? skb->len : 1;
skb1565drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
skb1568drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb1577drivers/net/arcnet.cskb->data+S_EXTRA_CLIENTDATA,
skb1579drivers/net/arcnet.cskb->data+sizeof(struct S_ClientData),
skb1584drivers/net/arcnet.cdev_kfree_skb(skb,FREE_WRITE);
skb1597drivers/net/arcnet.cdev_kfree_skb(skb,FREE_WRITE);
skb1981drivers/net/arcnet.cstatus,out->numsegs,out->segnum,out->skb);
skb2013drivers/net/arcnet.cif (!lp->outgoing.skb)
skb2041drivers/net/arcnet.cif (out->skb)
skb2042drivers/net/arcnet.cdev_kfree_skb(out->skb,FREE_WRITE);
skb2043drivers/net/arcnet.cout->skb=NULL;
skb2191drivers/net/arcnet.cstruct sk_buff *skb;
skb2220drivers/net/arcnet.cif (in->skb)  /* already assembling one! */
skb2225drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb2228drivers/net/arcnet.cin->skb=NULL;
skb2233drivers/net/arcnet.cskb = alloc_skb(length, GFP_ATOMIC);
skb2234drivers/net/arcnet.cif (skb == NULL) {
skb2239drivers/net/arcnet.csoft=(struct ClientData *)skb->data;
skb2241drivers/net/arcnet.cskb->len = length;
skb2242drivers/net/arcnet.cskb->dev = dev;
skb2290drivers/net/arcnet.cfor(i=0; i< skb->len; i++)
skb2293drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb2298drivers/net/arcnet.cskb->protocol=arcnetA_type_trans(skb,dev);
skb2300drivers/net/arcnet.cnetif_rx(skb);
skb2326drivers/net/arcnet.cif (in->skb && in->sequence!=arcsoft->sequence)
skb2331drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb2332drivers/net/arcnet.cin->skb=NULL;
skb2342drivers/net/arcnet.cif (in->skb)  /* already assembling one! */
skb2349drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb2365drivers/net/arcnet.cin->skb=skb=alloc_skb(508*in->numpackets
skb2368drivers/net/arcnet.cif (skb == NULL) {
skb2377drivers/net/arcnet.cskb->free=1;
skb2379drivers/net/arcnet.csoft=(struct ClientData *)skb->data;
skb2381drivers/net/arcnet.cskb->len=sizeof(struct ClientData);
skb2382drivers/net/arcnet.cskb->dev=dev;
skb2396drivers/net/arcnet.cif (!in->skb)
skb2422drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb2423drivers/net/arcnet.cin->skb=NULL;
skb2430drivers/net/arcnet.csoft=(struct ClientData *)in->skb->data;
skb2433drivers/net/arcnet.cskb=in->skb;
skb2435drivers/net/arcnet.cmemcpy(skb->data+skb->len,
skb2439drivers/net/arcnet.cskb->len+=length-sizeof(struct ClientData);
skb2447drivers/net/arcnet.cif (!skb || !in->skb)
skb2450drivers/net/arcnet.cskb,in->skb);
skb2454drivers/net/arcnet.cin->skb=NULL;
skb2460drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
skb2463drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb2469drivers/net/arcnet.cskb->protocol=arcnetA_type_trans(skb,dev);
skb2471drivers/net/arcnet.cnetif_rx(skb);
skb2485drivers/net/arcnet.cstruct sk_buff *skb;
skb2490drivers/net/arcnet.cskb = alloc_skb(length, GFP_ATOMIC);
skb2491drivers/net/arcnet.cif (skb == NULL) {
skb2497drivers/net/arcnet.cskb->len = length;
skb2498drivers/net/arcnet.cskb->dev = dev;
skb2500drivers/net/arcnet.cmemcpy(skb->data,(u_char *)arcsoft+1,length-1);
skb2506drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
skb2511drivers/net/arcnet.cprintk("%02hX ",((u_char *)skb->data)[i]);
skb2516drivers/net/arcnet.cskb->protocol=eth_type_trans(skb,dev);
skb2518drivers/net/arcnet.cnetif_rx(skb);
skb2528drivers/net/arcnet.cstruct sk_buff *skb;
skb2541drivers/net/arcnet.cskb = alloc_skb(length, GFP_ATOMIC);
skb2542drivers/net/arcnet.cif (skb == NULL) {
skb2547drivers/net/arcnet.csoft=(struct S_ClientData *)skb->data;
skb2548drivers/net/arcnet.cskb->len = length;
skb2558drivers/net/arcnet.cskb->dev = dev;  /* is already lp->sdev */
skb2563drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
skb2566drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb2571drivers/net/arcnet.cskb->protocol=arcnetS_type_trans(skb,dev);
skb2573drivers/net/arcnet.cnetif_rx(skb);
skb2625drivers/net/arcnet.cint arcnetA_header(struct sk_buff *skb,struct device *dev,
skb2629drivers/net/arcnet.cskb_push(skb,dev->hard_header_len);
skb2699drivers/net/arcnet.cint arcnetS_header(struct sk_buff *skb,struct device *dev,
skb2703drivers/net/arcnet.cskb_push(skb,dev->hard_header_len);
skb2757drivers/net/arcnet.cstruct sk_buff *skb)
skb2784drivers/net/arcnet.cstatus=arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0;
skb2795drivers/net/arcnet.cstruct sk_buff *skb)
skb2819drivers/net/arcnet.creturn arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0;
skb2830drivers/net/arcnet.cunsigned short arcnetA_type_trans(struct sk_buff *skb,struct device *dev)
skb2836drivers/net/arcnet.cskb->mac.raw=skb->data;
skb2837drivers/net/arcnet.cskb_pull(skb,dev->hard_header_len);
skb2838drivers/net/arcnet.chead=(struct ClientData *)skb->mac.raw;
skb2841drivers/net/arcnet.cskb->pkt_type=PACKET_BROADCAST;
skb2846drivers/net/arcnet.cskb->pkt_type=PACKET_OTHERHOST;
skb2871drivers/net/arcnet.cunsigned short arcnetS_type_trans(struct sk_buff *skb,struct device *dev)
skb2877drivers/net/arcnet.cskb->mac.raw=skb->data;
skb2878drivers/net/arcnet.cskb_pull(skb,dev->hard_header_len);
skb2879drivers/net/arcnet.chead=(struct S_ClientData *)skb->mac.raw;
skb2882drivers/net/arcnet.cskb->pkt_type=PACKET_BROADCAST;
skb2887drivers/net/arcnet.cskb->pkt_type=PACKET_OTHERHOST;
skb119drivers/net/at1700.cstatic int  net_send_packet(struct sk_buff *skb, struct device *dev);
skb364drivers/net/at1700.cnet_send_packet(struct sk_buff *skb, struct device *dev)
skb398drivers/net/at1700.cif (skb == NULL) {
skb408drivers/net/at1700.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb409drivers/net/at1700.cunsigned char *buf = skb->data;
skb435drivers/net/at1700.cdev_kfree_skb (skb, FREE_WRITE);
skb520drivers/net/at1700.cstruct sk_buff *skb;
skb531drivers/net/at1700.cskb = dev_alloc_skb(pkt_len+3);
skb532drivers/net/at1700.cif (skb == NULL) {
skb541drivers/net/at1700.cskb->dev = dev;
skb542drivers/net/at1700.cskb_reserve(skb,2);
skb544drivers/net/at1700.cinsw(ioaddr + DATAPORT, skb_put(skb,pkt_len), (pkt_len + 1) >> 1);
skb545drivers/net/at1700.cskb->protocol=eth_type_trans(skb, dev);
skb546drivers/net/at1700.cnetif_rx(skb);
skb137drivers/net/atp.cstatic int  net_send_packet(struct sk_buff *skb, struct device *dev);
skb416drivers/net/atp.cnet_send_packet(struct sk_buff *skb, struct device *dev)
skb440drivers/net/atp.cif (skb == NULL) {
skb450drivers/net/atp.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb451drivers/net/atp.cunsigned char *buf = skb->data;
skb479drivers/net/atp.cdev_kfree_skb (skb, FREE_WRITE);
skb673drivers/net/atp.cstruct sk_buff *skb;
skb675drivers/net/atp.cskb = dev_alloc_skb(pkt_len);
skb676drivers/net/atp.cif (skb == NULL) {
skb681drivers/net/atp.cskb->dev = dev;
skb683drivers/net/atp.cread_block(ioaddr, pkt_len, skb_put(skb,pkt_len), dev->if_port);
skb686drivers/net/atp.cunsigned char *data = skb->data;
skb694drivers/net/atp.cskb->protocol=eth_type_trans(skb,dev);
skb695drivers/net/atp.cnetif_rx(skb);
skb353drivers/net/de4x5.cstruct sk_buff *skb[NUM_TX_DESC];        /* TX skb for freeing when sent */
skb398drivers/net/de4x5.cstatic int     de4x5_queue_pkt(struct sk_buff *skb, struct device *dev);
skb418drivers/net/de4x5.cstatic void    load_packet(struct device *dev, char *buf, u32 flags, struct sk_buff *skb);
skb938drivers/net/de4x5.cde4x5_queue_pkt(struct sk_buff *skb, struct device *dev)
skb977drivers/net/de4x5.cif (lp->skb[i] != NULL) {
skb978drivers/net/de4x5.cif (lp->skb[i]->len != FAKE_FRAME_LEN) {
skb980drivers/net/de4x5.cdev_queue_xmit(lp->skb[i], dev, SOPRI_NORMAL);
skb982drivers/net/de4x5.cdev_kfree_skb(lp->skb[i], FREE_WRITE);
skb985drivers/net/de4x5.cdev_kfree_skb(lp->skb[i], FREE_WRITE);
skb987drivers/net/de4x5.clp->skb[i] = NULL;
skb990drivers/net/de4x5.cif (skb->len != FAKE_FRAME_LEN) {
skb991drivers/net/de4x5.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb993drivers/net/de4x5.cdev_kfree_skb(skb, FREE_WRITE);
skb1023drivers/net/de4x5.c} else if (skb == NULL) {
skb1025drivers/net/de4x5.c} else if (skb->len == FAKE_FRAME_LEN) {     /* Don't TX a fake frame! */
skb1026drivers/net/de4x5.cdev_kfree_skb(skb, FREE_WRITE);
skb1027drivers/net/de4x5.c} else if (skb->len > 0) {
skb1035drivers/net/de4x5.cload_packet(dev, skb->data, TD_IC | TD_LS | TD_FS | skb->len, skb);
skb1146drivers/net/de4x5.cstruct sk_buff *skb;
skb1149drivers/net/de4x5.cif ((skb = dev_alloc_skb(pkt_len+2)) != NULL) {
skb1150drivers/net/de4x5.cskb->dev = dev;
skb1152drivers/net/de4x5.cskb_reserve(skb,2);    /* Align */
skb1155drivers/net/de4x5.cmemcpy(skb_put(skb,len), bus_to_virt(lp->rx_ring[lp->rx_old].buf), len);
skb1156drivers/net/de4x5.cmemcpy(skb_put(skb,pkt_len-len), bus_to_virt(lp->rx_ring[0].buf), pkt_len - len);
skb1158drivers/net/de4x5.cmemcpy(skb_put(skb,pkt_len), bus_to_virt(lp->rx_ring[lp->rx_old].buf), pkt_len);
skb1162drivers/net/de4x5.cskb->protocol=eth_type_trans(skb,dev);
skb1163drivers/net/de4x5.cnetif_rx(skb);
skb1173drivers/net/de4x5.cbuf = skb->data;                  /* Look at the dest addr */
skb1252drivers/net/de4x5.cif (lp->skb[entry] != NULL) {
skb1253drivers/net/de4x5.cdev_kfree_skb(lp->skb[entry], FREE_WRITE);
skb1254drivers/net/de4x5.clp->skb[entry] = NULL;
skb1360drivers/net/de4x5.cstatic void load_packet(struct device *dev, char *buf, u32 flags, struct sk_buff *skb)
skb1367drivers/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);
skb247drivers/net/de600.cstatic int  de600_start_xmit(struct sk_buff *skb, struct device *dev);
skb397drivers/net/de600.cde600_start_xmit(struct sk_buff *skb, struct device *dev)
skb402drivers/net/de600.cbyte  *buffer = skb->data;
skb410drivers/net/de600.cif (skb == NULL) {
skb434drivers/net/de600.cPRINTK(("de600_start_xmit:len=%d, page %d/%d\n", skb->len, tx_fifo_in, free_tx_pages));
skb436drivers/net/de600.cif ((len = skb->len) < RUNT)
skb476drivers/net/de600.cif (skb->sk && (skb->sk->protocol == IPPROTO_TCP) &&
skb477drivers/net/de600.c(skb->sk->prot->rspace != &de600_rspace))
skb478drivers/net/de600.cskb->sk->prot->rspace = de600_rspace; /* Ugh! */
skb481drivers/net/de600.cdev_kfree_skb (skb, FREE_WRITE);
skb580drivers/net/de600.cstruct sk_buff  *skb;
skb605drivers/net/de600.cskb = dev_alloc_skb(size+2);
skb607drivers/net/de600.cif (skb == NULL) {
skb614drivers/net/de600.cskb->dev = dev;
skb615drivers/net/de600.cskb_reserve(skb,2);  /* Align */
skb618drivers/net/de600.cbuffer = skb_put(skb,size);
skb627drivers/net/de600.cskb->protocol=eth_type_trans(skb,dev);
skb629drivers/net/de600.cnetif_rx(skb);
skb511drivers/net/de620.cde620_start_xmit(struct sk_buff *skb, struct device *dev)
skb516drivers/net/de620.cbyte *buffer = skb->data;
skb525drivers/net/de620.cif (skb == NULL) {
skb550drivers/net/de620.cif ((len = skb->len) < RUNT)
skb560drivers/net/de620.c(int)skb->len, using_txbuf));
skb590drivers/net/de620.cdev_kfree_skb (skb, FREE_WRITE);
skb652drivers/net/de620.cstruct sk_buff *skb;
skb707drivers/net/de620.cskb = dev_alloc_skb(size+2);
skb708drivers/net/de620.cif (skb == NULL) { /* Yeah, but no place to put it... */
skb714drivers/net/de620.cskb_reserve(skb,2);  /* Align */
skb715drivers/net/de620.cskb->dev = dev;
skb716drivers/net/de620.cskb->free = 1;
skb718drivers/net/de620.cbuffer = skb_put(skb,size);
skb722drivers/net/de620.cskb->protocol=eth_type_trans(skb,dev);
skb723drivers/net/de620.cnetif_rx(skb); /* deliver it "upstairs" */
skb383drivers/net/depca.cstatic int    depca_start_xmit(struct sk_buff *skb, struct device *dev);
skb408drivers/net/depca.cstatic int    load_packet(struct device *dev, struct sk_buff *skb);
skb779drivers/net/depca.cdepca_start_xmit(struct sk_buff *skb, struct device *dev)
skb804drivers/net/depca.c} else if (skb == NULL) {
skb806drivers/net/depca.c} else if (skb->len > 0) {
skb813drivers/net/depca.cstatus = load_packet(dev, skb);
skb821drivers/net/depca.cdev_kfree_skb(skb, FREE_WRITE);
skb912drivers/net/depca.cstruct sk_buff *skb;
skb914drivers/net/depca.cskb = dev_alloc_skb(pkt_len+2);
skb915drivers/net/depca.cif (skb != NULL) {
skb917drivers/net/depca.cskb_reserve(skb,2);               /* 16 byte align the IP header */
skb918drivers/net/depca.cbuf = skb_put(skb,pkt_len);
skb919drivers/net/depca.cskb->dev = dev;
skb932drivers/net/depca.cskb->protocol=eth_type_trans(skb,dev);
skb933drivers/net/depca.cnetif_rx(skb);
skb1529drivers/net/depca.cstatic int load_packet(struct device *dev, struct sk_buff *skb)
skb1535drivers/net/depca.cend = (entry + (skb->len - 1) / TX_BUFF_SZ) & lp->txRingMask;
skb1543drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[entry], skb->data, len);
skb1544drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[0], skb->data + len, skb->len - len);
skb1546drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[entry], skb->data, skb->len);
skb1550drivers/net/depca.clen = (skb->len < ETH_ZLEN) ? ETH_ZLEN : skb->len;
skb56drivers/net/dummy.cstatic int dummy_xmit(struct sk_buff *skb, struct device *dev);
skb105drivers/net/dummy.cdummy_xmit(struct sk_buff *skb, struct device *dev)
skb111drivers/net/dummy.cif (skb == NULL || dev == NULL)
skb114drivers/net/dummy.cdev_kfree_skb(skb, FREE_WRITE);
skb102drivers/net/e2100.cstruct sk_buff *skb, int ring_offset);
skb318drivers/net/e2100.ce21_block_input(struct device *dev, int count, struct sk_buff *skb, int ring_offset)
skb326drivers/net/e2100.ceth_io_copy_and_sum(skb, dev->mem_start + (ring_offset & 0xff), count, 0);
skb137drivers/net/eepro.cstatic int  eepro_send_packet(struct sk_buff *skb, struct device *dev);
skb595drivers/net/eepro.ceepro_send_packet(struct sk_buff *skb, struct device *dev)
skb633drivers/net/eepro.cif (skb == NULL) {
skb642drivers/net/eepro.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb643drivers/net/eepro.cunsigned char *buf = skb->data;
skb649drivers/net/eepro.cdev_kfree_skb (skb, FREE_WRITE);
skb1046drivers/net/eepro.cstruct sk_buff *skb;
skb1049drivers/net/eepro.cskb = dev_alloc_skb(rcv_size+2);
skb1050drivers/net/eepro.cif (skb == NULL) {
skb1055drivers/net/eepro.cskb->dev = dev;
skb1056drivers/net/eepro.cskb_reserve(skb,2);
skb1058drivers/net/eepro.cinsw(ioaddr+IO_PORT, skb_put(skb,rcv_size), (rcv_size + 1) >> 1);
skb1060drivers/net/eepro.cskb->protocol = eth_type_trans(skb,dev);  
skb1061drivers/net/eepro.cnetif_rx(skb);
skb288drivers/net/eexpress.cstatic int  eexp_send_packet(struct sk_buff *skb, struct device *dev);
skb450drivers/net/eexpress.ceexp_send_packet(struct sk_buff *skb, struct device *dev)
skb485drivers/net/eexpress.cif (skb == NULL) {
skb494drivers/net/eexpress.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb495drivers/net/eexpress.cunsigned char *buf = skb->data;
skb505drivers/net/eexpress.cdev_kfree_skb (skb, FREE_WRITE);
skb930drivers/net/eexpress.cstruct sk_buff *skb;
skb933drivers/net/eexpress.cskb = dev_alloc_skb(pkt_len+2);
skb934drivers/net/eexpress.cif (skb == NULL) {
skb939drivers/net/eexpress.cskb->dev = dev;
skb940drivers/net/eexpress.cskb_reserve(skb,2);
skb944drivers/net/eexpress.cinsw(ioaddr, skb_put(skb,pkt_len), (pkt_len + 1) >> 1);
skb946drivers/net/eexpress.cskb->protocol=eth_type_trans(skb,dev);
skb947drivers/net/eexpress.cnetif_rx(skb);
skb145drivers/net/eql.cstatic int eql_slave_xmit(struct sk_buff *skb, struct device *dev); /*  */
skb148drivers/net/eql.cstatic int eql_header(struct sk_buff *skb, struct device *dev, 
skb152drivers/net/eql.cunsigned long raddr, struct sk_buff *skb); /*  */
skb356drivers/net/eql.ceql_slave_xmit(struct sk_buff *skb, struct device *dev)
skb362drivers/net/eql.cif (skb == NULL)
skb377drivers/net/eql.cdev->name, eql_number_slaves (eql->queue), skb->len,
skb381drivers/net/eql.cdev_queue_xmit (skb, slave_dev, 1);
skb383drivers/net/eql.cslave->bytes_queued += skb->len; 
skb391drivers/net/eql.cdev_kfree_skb(skb, FREE_WRITE);
skb409drivers/net/eql.ceql_header(struct sk_buff *skb, struct device *dev, 
skb420drivers/net/eql.cunsigned long raddr, struct sk_buff *skb)
skb327drivers/net/eth16i.cstatic int eth16i_tx(struct sk_buff *skb, struct device *dev);
skb859drivers/net/eth16i.cstatic int eth16i_tx(struct sk_buff *skb, struct device *dev)
skb918drivers/net/eth16i.cif(skb == NULL) {
skb932drivers/net/eth16i.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb933drivers/net/eth16i.cunsigned char *buf = skb->data;
skb973drivers/net/eth16i.cdev_kfree_skb(skb, FREE_WRITE);
skb1003drivers/net/eth16i.cstruct sk_buff *skb;
skb1016drivers/net/eth16i.cskb = dev_alloc_skb(pkt_len + 3);
skb1017drivers/net/eth16i.cif( skb == NULL ) {
skb1025drivers/net/eth16i.cskb->dev = dev;
skb1026drivers/net/eth16i.cskb_reserve(skb,2);
skb1034drivers/net/eth16i.cinsw(ioaddr + DATAPORT, skb_put(skb, pkt_len), (pkt_len + 1) >> 1);
skb1036drivers/net/eth16i.cunsigned char *buf = skb_put(skb, pkt_len);
skb1051drivers/net/eth16i.cskb->protocol=eth_type_trans(skb, dev);
skb1052drivers/net/eth16i.cnetif_rx(skb);
skb1059drivers/net/eth16i.cprintk(" %02x", skb->data[i]);
skb288drivers/net/ewrk3.cstatic int    ewrk3_queue_pkt(struct sk_buff *skb, struct device *dev);
skb720drivers/net/ewrk3.cewrk3_queue_pkt(struct sk_buff *skb, struct device *dev)
skb756drivers/net/ewrk3.c} else if (skb == NULL) {
skb758drivers/net/ewrk3.c} else if (skb->len > 0) {
skb806drivers/net/ewrk3.cu_char *p = skb->data;
skb809drivers/net/ewrk3.coutb((char)(skb->len & 0xff), EWRK3_DATA);
skb810drivers/net/ewrk3.coutb((char)((skb->len >> 8) & 0xff), EWRK3_DATA);
skb812drivers/net/ewrk3.cfor (i=0; i<skb->len; i++) {
skb819drivers/net/ewrk3.cwriteb((char)(skb->len & 0xff), (char *)buf);/* length (16 bit xfer)*/
skb822drivers/net/ewrk3.cwriteb((char)(((skb->len >> 8) & 0xff) | XCT), (char *)buf);
skb826drivers/net/ewrk3.cwriteb(0x00, (char *)(buf + skb->len));    /* Write the XCT flag */
skb827drivers/net/ewrk3.cmemcpy_toio(buf, skb->data, PRELOAD);/* Write PRELOAD bytes*/
skb829drivers/net/ewrk3.cmemcpy_toio(buf+PRELOAD, skb->data+PRELOAD, skb->len-PRELOAD);
skb830drivers/net/ewrk3.cwriteb(0xff, (char *)(buf + skb->len));    /* Write the XCT flag */
skb832drivers/net/ewrk3.cwriteb((char)((skb->len >> 8) & 0xff), (char *)buf);
skb836drivers/net/ewrk3.cmemcpy_toio((char *)buf, skb->data, skb->len);/* Write data bytes */
skb842drivers/net/ewrk3.cdev_kfree_skb (skb, FREE_WRITE);
skb998drivers/net/ewrk3.cstruct sk_buff *skb;
skb1000drivers/net/ewrk3.cif ((skb = dev_alloc_skb(pkt_len+2)) != NULL) {
skb1002drivers/net/ewrk3.cskb->dev = dev;
skb1003drivers/net/ewrk3.cskb_reserve(skb,2);             /* Align to 16 bytes */
skb1004drivers/net/ewrk3.cp = skb_put(skb,pkt_len);
skb1019drivers/net/ewrk3.cskb->protocol=eth_type_trans(skb,dev);
skb1020drivers/net/ewrk3.cnetif_rx(skb);
skb1032drivers/net/ewrk3.cp = skb->data;                  /* Look at the dest addr */
skb102drivers/net/hp-plus.cstruct sk_buff *skb, int ring_offset);
skb108drivers/net/hp-plus.cstruct sk_buff *skb, int ring_offset);
skb340drivers/net/hp-plus.chpp_io_block_input(struct device *dev, int count, struct sk_buff *skb, int ring_offset)
skb343drivers/net/hp-plus.cchar *buf = skb->data;
skb367drivers/net/hp-plus.chpp_mem_block_input(struct device *dev, int count, struct sk_buff *skb, int ring_offset)
skb380drivers/net/hp-plus.cmemcpy_fromio(skb->data, dev->mem_start, count);
skb66drivers/net/hp.cstruct sk_buff *skb , int ring_offset);
skb276drivers/net/hp.chp_block_input(struct device *dev, int count, struct sk_buff *skb, int ring_offset)
skb281drivers/net/hp.cchar *buf = skb->data;
skb193drivers/net/hp100.cstatic int hp100_start_xmit( struct sk_buff *skb, struct device *dev );
skb574drivers/net/hp100.cstatic int hp100_start_xmit( struct sk_buff *skb, struct device *dev )
skb595drivers/net/hp100.cif ( ( i = ( hp100_inl( TX_MEM_FREE ) & ~0x7fffffff ) ) < skb -> len + 16 )
skb639drivers/net/hp100.cif ( skb == NULL )
skb645drivers/net/hp100.cif ( skb -> len <= 0 ) return 0;
skb658drivers/net/hp100.cprintk( "hp100_start_xmit: irq_status = 0x%x, len = %d\n", val, (int)skb -> len );
skb660drivers/net/hp100.cok_flag = skb -> len >= HP100_MIN_PACKET_SIZE;
skb661drivers/net/hp100.ci = ok_flag ? skb -> len : HP100_MIN_PACKET_SIZE;
skb668drivers/net/hp100.cmemcpy( lp -> mem_ptr_virt, skb -> data, skb -> len );
skb670drivers/net/hp100.cmemset( lp -> mem_ptr_virt, 0, HP100_MIN_PACKET_SIZE - skb -> len );
skb674drivers/net/hp100.cmemcpy_toio( lp -> mem_ptr_phys, skb -> data, skb -> len );
skb676drivers/net/hp100.cmemset_io( lp -> mem_ptr_phys, 0, HP100_MIN_PACKET_SIZE - skb -> len );
skb681drivers/net/hp100.coutsl( ioaddr + HP100_REG_DATA32, skb -> data, ( skb -> len + 3 ) >> 2 );
skb683drivers/net/hp100.cfor ( i = ( skb -> len + 3 ) & ~3; i < HP100_MIN_PACKET_SIZE; i += 4 )
skb691drivers/net/hp100.cdev_kfree_skb( skb, FREE_WRITE );
skb710drivers/net/hp100.cstruct sk_buff *skb;
skb753drivers/net/hp100.cskb = dev_alloc_skb( pkt_len );
skb754drivers/net/hp100.cif ( skb == NULL )
skb765drivers/net/hp100.cskb -> dev = dev;
skb766drivers/net/hp100.cptr = (u_char *)skb_put( skb, pkt_len );
skb776drivers/net/hp100.cskb -> protocol = eth_type_trans( skb, dev );
skb777drivers/net/hp100.cnetif_rx( skb );
skb148drivers/net/ibmtr.cstatic int tok_send_packet(struct sk_buff *skb, struct device *dev);
skb1139drivers/net/ibmtr.cstruct sk_buff *skb;
skb1183drivers/net/ibmtr.cif(!(skb=dev_alloc_skb(ntohs(rec_req->frame_len)-lan_hdr_len+sizeof(struct trh_hdr)))) {
skb1191drivers/net/ibmtr.cskb_put(skb,ntohs(rec_req->frame_len)-lan_hdr_len+sizeof(struct trh_hdr));
skb1192drivers/net/ibmtr.cskb->dev=dev;
skb1199drivers/net/ibmtr.cdata=skb->data;
skb1229drivers/net/ibmtr.cskb->protocol=tr_type_trans(skb,dev);
skb1230drivers/net/ibmtr.cnetif_rx(skb);
skb1235drivers/net/ibmtr.cstatic int tok_send_packet(struct sk_buff *skb, struct device *dev) {
skb1256drivers/net/ibmtr.cif(skb==NULL) {
skb1266drivers/net/ibmtr.cti->current_skb=skb; /* save skb. We will need it when the adapter
skb255drivers/net/lance.cstatic int lance_start_xmit(struct sk_buff *skb, struct device *dev);
skb705drivers/net/lance.clance_start_xmit(struct sk_buff *skb, struct device *dev)
skb747drivers/net/lance.cif (skb == NULL) {
skb752drivers/net/lance.cif (skb->len <= 0)
skb787drivers/net/lance.c-(ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
skb789drivers/net/lance.clp->tx_ring[entry].length = -skb->len;
skb795drivers/net/lance.cif ((int)(skb->data) + skb->len > 0x01000000) {
skb798drivers/net/lance.cdev->name, (int)(skb->data));
skb799drivers/net/lance.cmemcpy(&lp->tx_bounce_buffs[entry], skb->data, skb->len);
skb802drivers/net/lance.cdev_kfree_skb (skb, FREE_WRITE);
skb804drivers/net/lance.clp->tx_skbuff[entry] = skb;
skb805drivers/net/lance.clp->tx_ring[entry].base = (int)(skb->data) | 0x83000000;
skb984drivers/net/lance.cstruct sk_buff *skb;
skb993drivers/net/lance.cskb = dev_alloc_skb(pkt_len+2);
skb994drivers/net/lance.cif (skb == NULL) 
skb1009drivers/net/lance.cskb->dev = dev;
skb1010drivers/net/lance.cskb_reserve(skb,2);  /* 16 byte align */
skb1011drivers/net/lance.cskb_put(skb,pkt_len);  /* Make room */
skb1012drivers/net/lance.ceth_copy_and_sum(skb,
skb1015drivers/net/lance.cskb->protocol=eth_type_trans(skb,dev);
skb1016drivers/net/lance.cnetif_rx(skb);
skb51drivers/net/loopback.cstatic int loopback_xmit(struct sk_buff *skb, struct device *dev)
skb57drivers/net/loopback.cif (skb == NULL || dev == NULL) 
skb76drivers/net/loopback.cif(skb->free==0)
skb78drivers/net/loopback.cstruct sk_buff *skb2=skb;
skb79drivers/net/loopback.cskb=skb_clone(skb, GFP_ATOMIC);    /* Clone the buffer */
skb80drivers/net/loopback.cif(skb==NULL)
skb85drivers/net/loopback.celse if(skb->sk)
skb93drivers/net/loopback.cskb->sk->wmem_alloc-=skb->truesize;
skb94drivers/net/loopback.cskb->sk->write_space(skb->sk);
skb98drivers/net/loopback.cskb->protocol=eth_type_trans(skb,dev);
skb99drivers/net/loopback.cskb->dev=dev;
skb102drivers/net/loopback.cnetif_rx(skb);
skb104drivers/net/loopback.cskb_device_unlock(skb);
skb109drivers/net/ne.cstruct sk_buff *skb, int ring_offset);
skb498drivers/net/ne.cne_block_input(struct device *dev, int count, struct sk_buff *skb, int ring_offset)
skb504drivers/net/ne.cchar *buf = skb->data;
skb804drivers/net/ni52.cstruct sk_buff *skb;
skb818drivers/net/ni52.cskb = (struct sk_buff *) dev_alloc_skb(totlen+2);
skb819drivers/net/ni52.cif(skb != NULL)
skb821drivers/net/ni52.cskb->dev = dev;
skb822drivers/net/ni52.cskb_reserve(skb,2);    /* 16 byte alignment */
skb823drivers/net/ni52.cmemcpy(skb_put(skb,totlen),(char *) p->base+(unsigned long) rbd->buffer, totlen);
skb824drivers/net/ni52.cskb->protocol=eth_type_trans(skb,dev);
skb825drivers/net/ni52.cnetif_rx(skb);
skb940drivers/net/ni52.cstatic int ni52_send_packet(struct sk_buff *skb, struct device *dev)
skb984drivers/net/ni52.cif(skb == NULL)
skb990drivers/net/ni52.cif (skb->len <= 0)
skb992drivers/net/ni52.cif(skb->len > XMIT_BUFF_SIZE)
skb994drivers/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);
skb1002drivers/net/ni52.cmemcpy((char *)p->xmit_cbuffs[p->xmit_count],(char *)(skb->data),skb->len);
skb1003drivers/net/ni52.clen = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN;
skb1017drivers/net/ni52.cdev_kfree_skb(skb,FREE_WRITE);
skb1037drivers/net/ni52.cdev_kfree_skb(skb,FREE_WRITE);
skb1057drivers/net/ni52.cdev_kfree_skb(skb,FREE_WRITE);
skb122drivers/net/ni65.cstatic int   ni65_send_packet(struct sk_buff *skb, struct device *dev);
skb455drivers/net/ni65.cstruct sk_buff *skb;
skb465drivers/net/ni65.cskb = (struct sk_buff *) p->tmdbufs[p->tmdlast];
skb466drivers/net/ni65.cdev_kfree_skb(skb,FREE_WRITE); 
skb503drivers/net/ni65.cstruct sk_buff *skb,*skb1;
skb532drivers/net/ni65.cskb = dev_alloc_skb(R_BUF_SIZE);
skb533drivers/net/ni65.cif(skb != NULL)
skb535drivers/net/ni65.cif( (unsigned long) (skb->data + R_BUF_SIZE) & 0xff000000) {
skb536drivers/net/ni65.cmemcpy(skb_put(skb,len),p->recv_skb[p->rmdnum]->data,len);
skb537drivers/net/ni65.cskb1 = skb;
skb541drivers/net/ni65.cp->recv_skb[p->rmdnum] = skb;
skb567drivers/net/ni65.cstatic int ni65_send_packet(struct sk_buff *skb, struct device *dev)
skb584drivers/net/ni65.cif(skb == NULL)
skb590drivers/net/ni65.cif (skb->len <= 0)
skb605drivers/net/ni65.cshort len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb610drivers/net/ni65.ctmdp->u.buffer = (unsigned long) (skb->data);
skb611drivers/net/ni65.cp->tmdbufs[p->tmdnum] = skb;
skb613drivers/net/ni65.cmemcpy((char *) (tmdp->u.buffer & 0x00ffffff),(char *)skb->data,skb->len);
skb614drivers/net/ni65.cdev_kfree_skb (skb, FREE_WRITE);
skb151drivers/net/pi2.cstatic int pi_send_packet(struct sk_buff *skb, struct device *dev);
skb208drivers/net/pi2.cstatic void hardware_send_packet(struct pi_local *lp, struct sk_buff *skb)
skb220drivers/net/pi2.cskb_queue_tail(&lp->sndq, skb);
skb338drivers/net/pi2.cstatic void free_p(struct sk_buff *skb)
skb340drivers/net/pi2.cdev_kfree_skb(skb, FREE_WRITE);
skb510drivers/net/pi2.cstruct sk_buff *skb;
skb554drivers/net/pi2.cskb = dev_alloc_skb(sksize);
skb555drivers/net/pi2.cif (skb == NULL) {
skb561drivers/net/pi2.cskb->dev = dev;
skb564drivers/net/pi2.ccfix=skb_put(skb,pkt_len);
skb569drivers/net/pi2.cskb->protocol=htons(ETH_P_AX25);
skb570drivers/net/pi2.cskb->mac.raw=skb->data;
skb571drivers/net/pi2.cIS_SKB(skb);
skb572drivers/net/pi2.cnetif_rx(skb);
skb585drivers/net/pi2.cstruct sk_buff *skb;
skb643drivers/net/pi2.cskb = dev_alloc_skb(sksize);
skb644drivers/net/pi2.cif (skb == NULL) {
skb650drivers/net/pi2.cskb->dev = dev;
skb653drivers/net/pi2.ccfix=skb_put(skb,pkt_len);
skb657drivers/net/pi2.cskb->protocol=ntohs(ETH_P_AX25);
skb658drivers/net/pi2.cskb->mac.raw=skb->data;
skb659drivers/net/pi2.cIS_SKB(skb);
skb660drivers/net/pi2.cnetif_rx(skb);
skb1077drivers/net/pi2.cstatic int pi_header(struct sk_buff *skb, struct device *dev, unsigned short type,
skb1080drivers/net/pi2.creturn ax25_encapsulate(skb, dev, type, daddr, saddr, len);
skb1085drivers/net/pi2.cstruct sk_buff *skb)
skb1087drivers/net/pi2.creturn ax25_rebuild_header(buff, dev, raddr, skb);
skb1493drivers/net/pi2.cstatic int pi_send_packet(struct sk_buff *skb, struct device *dev)
skb1500drivers/net/pi2.cif (skb == NULL) {
skb1504drivers/net/pi2.chardware_send_packet(lp, skb);
skb146drivers/net/plip.cunsigned long raddr, struct sk_buff *skb);
skb147drivers/net/plip.cstatic int plip_tx_packet(struct sk_buff *skb, struct device *dev);
skb197drivers/net/plip.cstruct sk_buff *skb;
skb212drivers/net/plip.cunsigned long raddr, struct sk_buff *skb);
skb415drivers/net/plip.cif (rcv->skb) {
skb416drivers/net/plip.crcv->skb->free = 1;
skb417drivers/net/plip.ckfree_skb(rcv->skb, FREE_READ);
skb418drivers/net/plip.crcv->skb = NULL;
skb421drivers/net/plip.cif (snd->skb) {
skb422drivers/net/plip.cdev_kfree_skb(snd->skb, FREE_WRITE);
skb423drivers/net/plip.csnd->skb = NULL;
skb543drivers/net/plip.crcv->skb = dev_alloc_skb(rcv->length.h);
skb544drivers/net/plip.cif (rcv->skb == NULL) {
skb548drivers/net/plip.cskb_put(rcv->skb,rcv->length.h);
skb549drivers/net/plip.crcv->skb->dev = dev;
skb555drivers/net/plip.clbuf = rcv->skb->data;
skb580drivers/net/plip.crcv->skb->protocol=eth_type_trans(rcv->skb, dev);
skb581drivers/net/plip.cnetif_rx(rcv->skb);
skb583drivers/net/plip.crcv->skb = NULL;
skb667drivers/net/plip.cif (snd->skb == NULL || (lbuf = snd->skb->data) == NULL) {
skb670drivers/net/plip.csnd->skb = NULL;
skb742drivers/net/plip.cdev_kfree_skb(snd->skb, FREE_WRITE);
skb749drivers/net/plip.csnd->skb = NULL;
skb858drivers/net/plip.cstruct sk_buff *skb)
skb865drivers/net/plip.creturn nl->orig_rebuild_header(buff, dev, dst, skb);
skb880drivers/net/plip.cplip_tx_packet(struct sk_buff *skb, struct device *dev)
skb891drivers/net/plip.cif (skb == NULL) {
skb901drivers/net/plip.cif (skb->len > dev->mtu + dev->hard_header_len) {
skb902drivers/net/plip.cprintk("%s: packet too big, %d.\n", dev->name, (int)skb->len);
skb912drivers/net/plip.csnd->skb = skb;
skb913drivers/net/plip.csnd->length.h = skb->len;
skb959drivers/net/plip.cnl->rcv_data.skb = nl->snd_data.skb = NULL;
skb994drivers/net/plip.cif (snd->skb) {
skb995drivers/net/plip.cdev_kfree_skb(snd->skb, FREE_WRITE);
skb996drivers/net/plip.csnd->skb = NULL;
skb999drivers/net/plip.cif (rcv->skb) {
skb1000drivers/net/plip.crcv->skb->free = 1;
skb1001drivers/net/plip.ckfree_skb(rcv->skb, FREE_READ);
skb1002drivers/net/plip.crcv->skb = NULL;
skb101drivers/net/ppp.c#define skb_data(skb)       ((unsigned char *) (skb)->data)
skb195drivers/net/ppp.c#define skb_put(skb,count)          skb_data(skb)
skb204drivers/net/ppp.cunsigned len, struct sk_buff *skb);
skb218drivers/net/ppp.csk_buff *skb, void *saddr, void *daddr);
skb219drivers/net/ppp.cstatic int ppp_dev_output (struct protocol *self, sk_buff *skb, int type,
skb1253drivers/net/ppp.csk_buff *skb = dev_alloc_skb (count);
skb1257drivers/net/ppp.cif (skb == NULL) {
skb1267drivers/net/ppp.cskb->dev = ppp2dev (ppp);  /* We are the device */
skb1269drivers/net/ppp.cskb->len = count;
skb1271drivers/net/ppp.cskb->protocol = proto;
skb1272drivers/net/ppp.cskb->mac.raw  = skb_data(skb);
skb1274drivers/net/ppp.cmemcpy (skb_put(skb,count), data, count);  /* move data */
skb1278drivers/net/ppp.cskb->free = 1;
skb1280drivers/net/ppp.cnetif_rx (skb);
skb3115drivers/net/ppp.cppp_dev_xmit (sk_buff *skb, struct device *dev)
skb3124drivers/net/ppp.cif (skb == NULL) {
skb3133drivers/net/ppp.cdev_kfree_skb (skb, FREE_WRITE);
skb3142drivers/net/ppp.cdev->name, skb);
skb3151drivers/net/ppp.cdev_kfree_skb (skb, FREE_WRITE);
skb3157drivers/net/ppp.clen   = skb->len;
skb3158drivers/net/ppp.cdata  = skb_data(skb);
skb3165drivers/net/ppp.cswitch (skb->protocol) {
skb3175drivers/net/ppp.cdev_kfree_skb (skb, FREE_WRITE);
skb3186drivers/net/ppp.cdev_kfree_skb (skb, FREE_WRITE);
skb3233drivers/net/ppp.csk_buff *skb, void *saddr, void *daddr)
skb3235drivers/net/ppp.creturn protocol_pass_demultiplex(self, NULL, skb, NULL, NULL);
skb3238drivers/net/ppp.cstatic int ppp_dev_output (struct protocol *self, sk_buff *skb, int type,
skb3241drivers/net/ppp.cif(skb->dev==NULL)
skb3244drivers/net/ppp.ckfree_skb(skb, FREE_WRITE);
skb3247drivers/net/ppp.cdev_queue_xmit(skb, skb->dev, skb->priority);
skb3275drivers/net/ppp.cppp_dev_type (sk_buff *skb, struct device *dev)
skb3284drivers/net/ppp.cunsigned len, struct sk_buff *skb)
skb3286drivers/net/ppp.cstatic int ppp_dev_header (sk_buff *skb, struct device *dev,
skb3296drivers/net/ppp.csk_buff *skb)
skb122drivers/net/pt.cstatic int pt_send_packet(struct sk_buff *skb, struct device *dev);
skb177drivers/net/pt.cstatic void hardware_send_packet(struct pt_local *lp, struct sk_buff *skb)
skb185drivers/net/pt.cptr = skb->data;
skb186drivers/net/pt.cif (ptr[0] != 0 && skb->len >= 2)
skb188drivers/net/pt.cprintk("Rx KISS... Control = %d, value = %d.\n", ptr[0], (skb->len > 1? ptr[1] : -1));
skb231drivers/net/pt.cskb_queue_tail(&lp->sndq, skb);
skb318drivers/net/pt.cstatic void free_p(struct sk_buff *skb)
skb320drivers/net/pt.cdev_kfree_skb(skb, FREE_WRITE);
skb339drivers/net/pt.cstatic int pt_header (struct sk_buff *skb, struct device *dev, unsigned short type,
skb342drivers/net/pt.creturn ax25_encapsulate(skb, dev, type, daddr, saddr, len);
skb348drivers/net/pt.cstruct sk_buff *skb)
skb350drivers/net/pt.creturn ax25_rebuild_header(buff, dev, raddr, skb);
skb972drivers/net/pt.cstatic int pt_send_packet(struct sk_buff *skb, struct device *dev)
skb982drivers/net/pt.cif (skb == NULL) {
skb986drivers/net/pt.chardware_send_packet(lp, skb);
skb1271drivers/net/pt.cstruct sk_buff *skb;
skb1392drivers/net/pt.cskb = dev_alloc_skb(sksize);
skb1393drivers/net/pt.cif (skb == NULL)
skb1400drivers/net/pt.cskb->dev = dev;
skb1403drivers/net/pt.ccfix=skb_put(skb,pkt_len);
skb1410drivers/net/pt.cskb->protocol = ntohs(ETH_P_AX25);
skb1411drivers/net/pt.cskb->mac.raw=skb->data;
skb1412drivers/net/pt.cIS_SKB(skb);
skb1413drivers/net/pt.cnetif_rx(skb);
skb1810drivers/net/pt.cstruct sk_buff *skb;
skb1815drivers/net/pt.cskb = dev_alloc_skb(2);
skb1816drivers/net/pt.cif (skb == NULL)
skb1821drivers/net/pt.cskb->dev = dev;
skb1822drivers/net/pt.ccfix = skb_put(skb, 2);
skb1825drivers/net/pt.cskb->protocol=htons(ETH_P_AX25);
skb1826drivers/net/pt.cskb->mac.raw=skb->data;
skb1827drivers/net/pt.cIS_SKB(skb);
skb1828drivers/net/pt.cnetif_rx(skb);
skb83drivers/net/seeq8005.cstatic int seeq8005_send_packet(struct sk_buff *skb, struct device *dev);
skb374drivers/net/seeq8005.cseeq8005_send_packet(struct sk_buff *skb, struct device *dev)
skb395drivers/net/seeq8005.cif (skb == NULL) {
skb405drivers/net/seeq8005.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb406drivers/net/seeq8005.cunsigned char *buf = skb->data;
skb411drivers/net/seeq8005.cdev_kfree_skb (skb, FREE_WRITE);
skb533drivers/net/seeq8005.cstruct sk_buff *skb;
skb536drivers/net/seeq8005.cskb = dev_alloc_skb(pkt_len);
skb537drivers/net/seeq8005.cif (skb == NULL) {
skb542drivers/net/seeq8005.cskb->dev = dev;
skb543drivers/net/seeq8005.cskb_reserve(skb, 2);  /* align data on 16 byte */
skb544drivers/net/seeq8005.cbuf = skb_put(skb,pkt_len);
skb557drivers/net/seeq8005.cskb->protocol=eth_type_trans(skb,dev);
skb558drivers/net/seeq8005.cnetif_rx(skb);
skb489drivers/net/sk_g16.cstatic int   SK_send_packet(struct sk_buff *skb, struct device *dev);
skb1192drivers/net/sk_g16.cstatic int SK_send_packet(struct sk_buff *skb, struct device *dev)
skb1223drivers/net/sk_g16.cif (skb == NULL)
skb1249drivers/net/sk_g16.cshort len = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN; 
skb1257drivers/net/sk_g16.cmemcpy((char *) (tmdp->u.buffer & 0x00ffffff), (char *)skb->data,
skb1258drivers/net/sk_g16.cskb->len);
skb1289drivers/net/sk_g16.cdev_kfree_skb(skb, FREE_WRITE);
skb1570drivers/net/sk_g16.cstruct sk_buff *skb;
skb1572drivers/net/sk_g16.cskb = dev_alloc_skb(len+2); /* allocate socket buffer */ 
skb1574drivers/net/sk_g16.cif (skb == NULL)                /* Could not get mem ? */
skb1592drivers/net/sk_g16.cskb->dev = dev;
skb1593drivers/net/sk_g16.cskb_reserve(skb,2);    /* Align IP header on 16 byte boundary */
skb1602drivers/net/sk_g16.cmemcpy(skb_put(skb,len), (unsigned char *) (rmdp->u.buffer & 0x00ffffff),
skb1613drivers/net/sk_g16.cskb->protocol=eth_type_trans(skb,dev);
skb1614drivers/net/sk_g16.cnetif_rx(skb);                 /* queue packet and mark it for processing */
skb102drivers/net/skeleton.cstatic int  net_send_packet(struct sk_buff *skb, struct device *dev);
skb344drivers/net/skeleton.cnet_send_packet(struct sk_buff *skb, struct device *dev)
skb369drivers/net/skeleton.cif (skb == NULL) {
skb380drivers/net/skeleton.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb381drivers/net/skeleton.cunsigned char *buf = skb->data;
skb386drivers/net/skeleton.cdev_kfree_skb (skb, FREE_WRITE);
skb459drivers/net/skeleton.cstruct sk_buff *skb;
skb461drivers/net/skeleton.cskb = dev_alloc_skb(pkt_len);
skb462drivers/net/skeleton.cif (skb == NULL) {
skb468drivers/net/skeleton.cskb->dev = dev;
skb471drivers/net/skeleton.cmemcpy(skb_put(skb,pkt_len), (void*)dev->rmem_start,
skb474drivers/net/skeleton.cinsw(ioaddr, skb->data, (pkt_len + 1) >> 1);
skb476drivers/net/skeleton.cnetif_rx(skb);
skb339drivers/net/slip.cstruct sk_buff *skb;
skb376drivers/net/slip.cskb = dev_alloc_skb(count);
skb377drivers/net/slip.cif (skb == NULL)  {
skb382drivers/net/slip.cskb->dev = sl->dev;
skb383drivers/net/slip.cmemcpy(skb_put(skb,count), sl->rbuff, count);
skb384drivers/net/slip.cskb->mac.raw=skb->data;
skb386drivers/net/slip.cskb->protocol=htons(ETH_P_AX25);
skb388drivers/net/slip.cskb->protocol=htons(ETH_P_IP);
skb389drivers/net/slip.cnetif_rx(skb);
skb478drivers/net/slip.csl_xmit(struct sk_buff *skb, struct device *dev)
skb517drivers/net/slip.cif (skb != NULL) {
skb519drivers/net/slip.csl_encaps(sl, skb->data, skb->len);
skb520drivers/net/slip.cdev_kfree_skb(skb, FREE_WRITE);
skb530drivers/net/slip.csl_header(struct sk_buff *skb, struct device *dev, unsigned short type,
skb538drivers/net/slip.creturn ax25_encapsulate(skb, dev, type, daddr, saddr, len);
skb549drivers/net/slip.cstruct sk_buff *skb)
skb556drivers/net/slip.creturn ax25_rebuild_header(buff, dev, raddr, skb);
skb73drivers/net/smc-ultra.cstruct sk_buff *skb, int ring_offset);
skb286drivers/net/smc-ultra.cultra_block_input(struct device *dev, int count, struct sk_buff *skb, int ring_offset)
skb296drivers/net/smc-ultra.cmemcpy_fromio(skb->data, xfer_start, semi_count);
skb298drivers/net/smc-ultra.cmemcpy_fromio(skb->data + semi_count, dev->rmem_start, count);
skb301drivers/net/smc-ultra.ceth_io_copy_and_sum(skb, xfer_start, count, 0);
skb347drivers/net/sunlance.cstruct sk_buff *skb;
skb350drivers/net/sunlance.cskb = dev_alloc_skb (pkt_len+2);
skb351drivers/net/sunlance.cif (skb == NULL){
skb358drivers/net/sunlance.cskb->dev = dev;
skb359drivers/net/sunlance.cskb_reserve (skb, 2);               /* 16 byte align */
skb360drivers/net/sunlance.cbuf = skb_put (skb, pkt_len);       /* make room */
skb362drivers/net/sunlance.cskb->protocol = eth_type_trans (skb,dev);
skb363drivers/net/sunlance.cnetif_rx (skb);
skb387drivers/net/sunlance.cstruct sk_buff *skb;
skb390drivers/net/sunlance.cskb = dev_alloc_skb (pkt_len+2);
skb391drivers/net/sunlance.cif (skb == NULL){
skb399drivers/net/sunlance.cskb->dev = dev;
skb400drivers/net/sunlance.cskb_reserve (skb, 2);               /* 16 byte align */
skb401drivers/net/sunlance.cbuf = skb_put (skb, pkt_len);       /* make room */
skb403drivers/net/sunlance.cskb->protocol = eth_type_trans (skb,dev);
skb404drivers/net/sunlance.cnetif_rx (skb);
skb602drivers/net/sunlance.cstatic int lance_start_xmit (struct sk_buff *skb, struct device *dev)
skb625drivers/net/sunlance.cif (skb == NULL){
skb631drivers/net/sunlance.cif (skb->len <= 0){
skb632drivers/net/sunlance.cprintk ("skb len is %ld\n", skb->len);
skb644drivers/net/sunlance.cskblen = skb->len;
skb654drivers/net/sunlance.cprintk ("%2.2x ", skb->data [i]);
skb662drivers/net/sunlance.cmemcpy ((char *)&ib->tx_buf [entry][0], skb->data, skblen);
skb678drivers/net/sunlance.cdev_kfree_skb (skb, FREE_WRITE);
skb156drivers/net/tulip.cstatic int tulip_start_xmit(struct sk_buff *skb, struct device *dev);
skb376drivers/net/tulip.ctulip_start_xmit(struct sk_buff *skb, struct device *dev)
skb406drivers/net/tulip.cif (skb == NULL || skb->len <= 0) {
skb428drivers/net/tulip.ctp->tx_skbuff[entry] = skb;
skb429drivers/net/tulip.ctp->tx_ring[entry].length = skb->len |
skb431drivers/net/tulip.ctp->tx_ring[entry].buffer1 = skb->data;
skb601drivers/net/tulip.cstruct sk_buff *skb;
skb603drivers/net/tulip.cskb = dev_alloc_skb(pkt_len+2);
skb604drivers/net/tulip.cif (skb == NULL) {
skb619drivers/net/tulip.cskb->dev = dev;
skb620drivers/net/tulip.cskb_reserve(skb,2);  /* 16 byte align the data fields */
skb621drivers/net/tulip.cmemcpy(skb_put(skb,pkt_len), lp->rx_ring[entry].buffer1, pkt_len);
skb622drivers/net/tulip.cskb->protocol=eth_type_trans(skb,dev);
skb623drivers/net/tulip.cnetif_rx(skb);
skb42drivers/net/tunnel.cstatic int tunnel_xmit(struct sk_buff *skb, struct device *dev);
skb122drivers/net/tunnel.cstatic int tunnel_xmit(struct sk_buff *skb, struct device *dev)
skb133drivers/net/tunnel.cif (skb == NULL || dev == NULL)
skb158drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb163drivers/net/tunnel.ciph=(struct iphdr *)skb->data;
skb170drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb187drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb194drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb208drivers/net/tunnel.cnewlen = (skb->len + ip_header_len);
skb212drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb223drivers/net/tunnel.cmemcpy(skb2->h.iph, skb->data, ip_header_len );
skb224drivers/net/tunnel.cmemcpy(skb2->data + ip_header_len, skb->data, skb->len);
skb226drivers/net/tunnel.cdev_kfree_skb(skb, FREE_WRITE);
skb1389drivers/net/wavelan.cwavelan_send_packet(struct sk_buff *skb, device *dev)
skb1430drivers/net/wavelan.cif (skb == (struct sk_buff *)0)
skb1444drivers/net/wavelan.clength = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN;
skb1445drivers/net/wavelan.cbuf = skb->data;
skb1452drivers/net/wavelan.cdev_kfree_skb(skb, FREE_WRITE);
skb1497drivers/net/wavelan.cstruct sk_buff  *skb;
skb1640drivers/net/wavelan.cif ((skb = dev_alloc_skb(sksize)) == (struct sk_buff *)0)
skb1647drivers/net/wavelan.cskb->dev = dev;
skb1649drivers/net/wavelan.cobram_read(ioaddr, rbd.rbd_bufl, skb_put(skb,pkt_len), pkt_len);
skb1665drivers/net/wavelan.cc = skb->data[i];
skb1667drivers/net/wavelan.cprintk(" %c", skb->data[i]);
skb1669drivers/net/wavelan.cprintk("%02x", skb->data[i]);
skb1678drivers/net/wavelan.cskb->protocol=eth_type_trans(skb,dev);
skb1679drivers/net/wavelan.cnetif_rx(skb);
skb55drivers/net/wd.cstruct sk_buff *skb, int ring_offset);
skb376drivers/net/wd.cwd_block_input(struct device *dev, int count, struct sk_buff *skb, int ring_offset)
skb384drivers/net/wd.cmemcpy_fromio(skb->data, xfer_start, semi_count);
skb386drivers/net/wd.cmemcpy_fromio(skb->data + semi_count, dev->rmem_start, count);
skb389drivers/net/wd.ceth_io_copy_and_sum(skb, xfer_start, count, 0);
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);
skb170fs/nfs/nfsroot.cstatic int root_rarp_recv(struct sk_buff *skb, struct device *dev,
skb207fs/nfs/nfsroot.cstatic int root_rarp_recv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb209fs/nfs/nfsroot.cstruct arphdr *rarp = (struct arphdr *)skb->h.raw;
skb216fs/nfs/nfsroot.ckfree_skb(skb, FREE_READ);
skb222fs/nfs/nfsroot.ckfree_skb(skb, FREE_READ);
skb232fs/nfs/nfsroot.ckfree_skb(skb, FREE_READ);
skb247fs/nfs/nfsroot.ckfree_skb(skb, FREE_READ);
skb253fs/nfs/nfsroot.ckfree_skb(skb, FREE_READ);
skb264fs/nfs/nfsroot.ckfree_skb(skb, FREE_READ);
skb278fs/nfs/nfsroot.ckfree_skb(skb, FREE_READ);
skb209include/asm-alpha/io.h#define eth_io_copy_and_sum(skb,src,len,unused)  memcpy_fromio((skb)->data,(src),(len))
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);
skb18include/linux/firewall.hstruct sk_buff *skb, void *phdr);
skb20include/linux/firewall.hstruct sk_buff *skb, void *phdr);
skb22include/linux/firewall.hstruct sk_buff *skb, void *phdr);
skb34include/linux/firewall.hextern int call_fw_firewall(int pf, struct sk_buff *skb, void *phdr);
skb35include/linux/firewall.hextern int call_in_firewall(int pf, struct sk_buff *skb, void *phdr);
skb36include/linux/firewall.hextern int call_out_firewall(int pf, struct sk_buff *skb, void *phdr);
skb124include/linux/mroute.hextern void ipmr_forward(struct sk_buff *skb, int is_frag);
skb165include/linux/netdevice.hint        (*hard_start_xmit) (struct sk_buff *skb,
skb167include/linux/netdevice.hint        (*hard_header) (struct sk_buff *skb,
skb174include/linux/netdevice.hunsigned long raddr, struct sk_buff *skb);
skb226include/linux/netdevice.hextern void    dev_queue_xmit(struct sk_buff *skb, struct device *dev,
skb229include/linux/netdevice.hextern void    netif_rx(struct sk_buff *skb);
skb124include/linux/skbuff.hextern void      kfree_skb(struct sk_buff *skb, int rw);
skb135include/linux/skbuff.hextern void      kfree_skbmem(struct sk_buff *skb);
skb136include/linux/skbuff.hextern struct sk_buff *    skb_clone(struct sk_buff *skb, int priority);
skb137include/linux/skbuff.hextern void      skb_device_lock(struct sk_buff *skb);
skb138include/linux/skbuff.hextern void      skb_device_unlock(struct sk_buff *skb);
skb139include/linux/skbuff.hextern void      dev_kfree_skb(struct sk_buff *skb, int mode);
skb140include/linux/skbuff.hextern int      skb_device_locked(struct sk_buff *skb);
skb141include/linux/skbuff.hextern unsigned char *    skb_put(struct sk_buff *skb, int len);
skb142include/linux/skbuff.hextern unsigned char *    skb_push(struct sk_buff *skb, int len);
skb143include/linux/skbuff.hextern unsigned char *    skb_pull(struct sk_buff *skb, int len);
skb144include/linux/skbuff.hextern int      skb_headroom(struct sk_buff *skb);
skb145include/linux/skbuff.hextern int      skb_tailroom(struct sk_buff *skb);
skb146include/linux/skbuff.hextern void      skb_reserve(struct sk_buff *skb, int len);
skb147include/linux/skbuff.hextern void       skb_trim(struct sk_buff *skb, int len);
skb162include/linux/skbuff.hextern int       skb_check(struct sk_buff *skb,int,int, char *);
skb163include/linux/skbuff.h#define IS_SKB(skb)    skb_check((skb), 0, __LINE__,__FILE__)
skb164include/linux/skbuff.h#define IS_SKB_HEAD(skb)  skb_check((skb), 1, __LINE__,__FILE__)
skb166include/linux/skbuff.h#define IS_SKB(skb)    
skb167include/linux/skbuff.h#define IS_SKB_HEAD(skb)  
skb294include/linux/skbuff.hextern __inline__ void skb_unlink(struct sk_buff *skb)
skb301include/linux/skbuff.hif(skb->prev && skb->next)
skb303include/linux/skbuff.hskb->next->prev = skb->prev;
skb304include/linux/skbuff.hskb->prev->next = skb->next;
skb305include/linux/skbuff.hskb->next = NULL;
skb306include/linux/skbuff.hskb->prev = NULL;
skb315include/linux/skbuff.hextern __inline__ unsigned char *skb_put(struct sk_buff *skb, int len)
skb317include/linux/skbuff.hunsigned char *tmp=skb->tail;
skb318include/linux/skbuff.hskb->tail+=len;
skb319include/linux/skbuff.hskb->len+=len;
skb320include/linux/skbuff.hif(skb->tail>skb->end)
skb325include/linux/skbuff.hextern __inline__ unsigned char *skb_push(struct sk_buff *skb, int len)
skb327include/linux/skbuff.hskb->data-=len;
skb328include/linux/skbuff.hskb->len+=len;
skb329include/linux/skbuff.hif(skb->data<skb->head)
skb331include/linux/skbuff.hreturn skb->data;
skb334include/linux/skbuff.hextern __inline__ unsigned char * skb_pull(struct sk_buff *skb, int len)
skb336include/linux/skbuff.hif(len > skb->len)
skb338include/linux/skbuff.hskb->data+=len;
skb339include/linux/skbuff.hskb->len-=len;
skb340include/linux/skbuff.hreturn skb->data;
skb343include/linux/skbuff.hextern __inline__ int skb_headroom(struct sk_buff *skb)
skb345include/linux/skbuff.hreturn skb->data-skb->head;
skb348include/linux/skbuff.hextern __inline__ int skb_tailroom(struct sk_buff *skb)
skb350include/linux/skbuff.hreturn skb->end-skb->tail;
skb353include/linux/skbuff.hextern __inline__ void skb_reserve(struct sk_buff *skb, int len)
skb355include/linux/skbuff.hskb->data+=len;
skb356include/linux/skbuff.hskb->tail+=len;
skb359include/linux/skbuff.hextern __inline__ void skb_trim(struct sk_buff *skb, int len)
skb361include/linux/skbuff.hif(skb->len>len)
skb363include/linux/skbuff.hskb->len=len;
skb364include/linux/skbuff.hskb->tail=skb->data+len;
skb374include/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);
skb6include/net/arp.hextern int  arp_rcv(struct sk_buff *skb, struct device *dev,
skb10include/net/arp.hstruct device *dev, u32 saddr, struct sk_buff *skb);
skb57include/net/ip.hstruct sk_buff  *skb;    /* complete received fragment    */
skb88include/net/ip.hextern int     ip_send(struct rtable *rt, struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr);
skb89include/net/ip.hextern int     ip_build_header(struct sk_buff *skb,
skb95include/net/ip.hextern int    ip_rcv(struct sk_buff *skb, struct device *dev,
skb99include/net/ip.hstruct sk_buff * skb);
skb100include/net/ip.hextern int    ip_options_compile(struct options * opt, struct sk_buff * skb);
skb104include/net/ip.hstruct device *dev, struct sk_buff *skb,
skb128include/net/ip.hstruct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev);
skb129include/net/ip.hvoid ip_fragment(struct sock *sk, struct sk_buff *skb, struct device *dev, int is_frag);
skb135include/net/ip.hextern int ip_forward(struct sk_buff *skb, struct device *dev, int is_frag, __u32 target_addr);
skb141include/net/ip.hextern void ip_options_build(struct sk_buff *skb, struct options *opt, __u32 daddr, __u32 saddr, int is_frag);
skb142include/net/ip.hextern int ip_options_echo(struct options *dopt, struct options *sopt, __u32 daddr, __u32 saddr, struct sk_buff *skb);
skb143include/net/ip.hextern void ip_options_fragment(struct sk_buff *skb);
skb144include/net/ip.hextern int ip_options_compile(struct options *opt, 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);
skb10include/net/netlink.hextern int netlink_attach(int unit, int (*function)(struct sk_buff *skb));
skb11include/net/netlink.hextern int netlink_donothing(struct sk_buff *skb);
skb13include/net/netlink.hextern int netlink_post(int unit, struct sk_buff *skb);
skb32include/net/protocol.hint      (*handler)(struct sk_buff *skb, struct device *dev,
skb276include/net/sock.hint      (*build_header)(struct sk_buff *skb,
skb286include/net/sock.hstruct device *dev, struct sk_buff *skb,
skb362include/net/sock.hstruct sk_buff *skb);
skb364include/net/sock.hstruct sk_buff *skb);
skb375include/net/sock.hextern struct sk_buff     *sock_alloc_send_skb(struct sock *skb,
skb390include/net/sock.hextern __inline__ int sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
skb393include/net/sock.hif(sk->rmem_alloc + skb->truesize >= sk->rcvbuf)
skb397include/net/sock.hsk->rmem_alloc+=skb->truesize;
skb398include/net/sock.hskb->sk=sk;
skb400include/net/sock.hskb_queue_tail(&sk->receive_queue,skb);
skb402include/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);  
skb155net/appletalk/aarp.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb167net/appletalk/aarp.cstruct sk_buff *skb=alloc_skb(len, GFP_ATOMIC);
skb170net/appletalk/aarp.cif(skb==NULL)
skb177net/appletalk/aarp.cskb_reserve(skb,dev->hard_header_len+aarp_dl->header_length);
skb178net/appletalk/aarp.ceah    =  (struct elapaarp *)skb_put(skb,sizeof(struct elapaarp));   
skb179net/appletalk/aarp.cskb->arp  =  1;
skb180net/appletalk/aarp.cskb->free  =  1;
skb181net/appletalk/aarp.cskb->dev  =  dev;
skb212net/appletalk/aarp.caarp_dl->datalink_header(aarp_dl, skb, sha);  
skb218net/appletalk/aarp.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb229net/appletalk/aarp.cstruct sk_buff *skb=alloc_skb(len, GFP_ATOMIC);
skb233net/appletalk/aarp.cif(skb==NULL)
skb240net/appletalk/aarp.cskb_reserve(skb,dev->hard_header_len+aarp_dl->header_length);
skb241net/appletalk/aarp.ceah    =  (struct elapaarp *)skb_put(skb,sizeof(struct elapaarp));
skb243net/appletalk/aarp.cskb->arp  =  1;
skb244net/appletalk/aarp.cskb->free  =  1;
skb245net/appletalk/aarp.cskb->dev  =  dev;
skb273net/appletalk/aarp.caarp_dl->datalink_header(aarp_dl, skb, aarp_eth_multicast);  
skb279net/appletalk/aarp.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb427net/appletalk/aarp.cint aarp_send_ddp(struct device *dev,struct sk_buff *skb, struct at_addr *sa, void *hwaddr)
skb443net/appletalk/aarp.cskb->dev = dev;
skb444net/appletalk/aarp.cskb->protocol = htons(ETH_P_ATALK);
skb456net/appletalk/aarp.cddp_dl->datalink_header(ddp_dl, skb, ddp_eth_multicast);
skb457net/appletalk/aarp.cif(skb->sk==NULL)
skb458net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, SOPRI_NORMAL);
skb460net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, skb->sk->priority);
skb472net/appletalk/aarp.cddp_dl->datalink_header(ddp_dl, skb, a->hwaddr);
skb473net/appletalk/aarp.cif(skb->sk==NULL)
skb474net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, SOPRI_NORMAL);
skb476net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, skb->sk->priority);
skb492net/appletalk/aarp.cskb_queue_tail(&a->packet_queue, skb);
skb516net/appletalk/aarp.cskb_queue_tail(&a->packet_queue, skb);
skb558net/appletalk/aarp.cstruct sk_buff *skb;
skb577net/appletalk/aarp.cwhile((skb=skb_dequeue(&a->packet_queue))!=NULL)
skb580net/appletalk/aarp.cddp_dl->datalink_header(ddp_dl,skb,a->hwaddr);
skb581net/appletalk/aarp.cif(skb->sk==NULL)
skb582net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, SOPRI_NORMAL);
skb584net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, skb->sk->priority);
skb597net/appletalk/aarp.cstatic int aarp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb599net/appletalk/aarp.cstruct elapaarp *ea=(struct elapaarp *)skb->h.raw;
skb613net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb621net/appletalk/aarp.cif(!skb_pull(skb,sizeof(*ea)))
skb623net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb636net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb667net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb680net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb739net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb205net/appletalk/ddp.cstruct sk_buff *skb;
skb208net/appletalk/ddp.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL)
skb210net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1360net/appletalk/ddp.cint atalk_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb1363net/appletalk/ddp.cstruct ddpehdr *ddp=(void *)skb->h.raw;
skb1369net/appletalk/ddp.cif(skb->len<sizeof(*ddp))
skb1371net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1388net/appletalk/ddp.coriglen = skb->len;
skb1390net/appletalk/ddp.cskb_trim(skb,min(skb->len,ddp->deh_len));
skb1398net/appletalk/ddp.cif(skb->len<sizeof(*ddp))
skb1400net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1412net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1418net/appletalk/ddp.cif(call_in_firewall(AF_APPLETALK, skb, ddp)!=FW_ACCEPT)
skb1420net/appletalk/ddp.ckfree_skb(skb, FREE_READ);
skb1441net/appletalk/ddp.cif (skb->pkt_type != PACKET_HOST || ddp->deh_dnet == 0) 
skb1443net/appletalk/ddp.ckfree_skb(skb, FREE_READ);
skb1452net/appletalk/ddp.cif(call_fw_firewall(AF_APPLETALK, skb, ddp)!=FW_ACCEPT)
skb1454net/appletalk/ddp.ckfree_skb(skb, FREE_READ);
skb1465net/appletalk/ddp.ckfree_skb(skb, FREE_READ);
skb1471net/appletalk/ddp.cskb_trim(skb,min(origlen, rt->dev->hard_header_len + 
skb1478net/appletalk/ddp.cif(aarp_send_ddp(rt->dev, skb, &ta, NULL)==-1)
skb1479net/appletalk/ddp.ckfree_skb(skb, FREE_READ);
skb1493net/appletalk/ddp.ckfree_skb(skb,FREE_READ);
skb1502net/appletalk/ddp.cskb->sk = sock;
skb1504net/appletalk/ddp.cif(sock_queue_rcv_skb(sock,skb)<0)
skb1506net/appletalk/ddp.cskb->sk=NULL;
skb1507net/appletalk/ddp.ckfree_skb(skb, FREE_WRITE);
skb1517net/appletalk/ddp.cstruct sk_buff *skb;
skb1590net/appletalk/ddp.cskb = sock_alloc_send_skb(sk, size, 0, 0 , &err);
skb1591net/appletalk/ddp.cif(skb==NULL)
skb1594net/appletalk/ddp.cskb->sk=sk;
skb1595net/appletalk/ddp.cskb->free=1;
skb1596net/appletalk/ddp.cskb->arp=1;
skb1597net/appletalk/ddp.cskb_reserve(skb,ddp_dl->header_length);
skb1598net/appletalk/ddp.cskb_reserve(skb,dev->hard_header_len);
skb1600net/appletalk/ddp.cskb->dev=dev;
skb1605net/appletalk/ddp.cddp=(struct ddpehdr *)skb_put(skb,sizeof(struct ddpehdr));
skb1626net/appletalk/ddp.cmemcpy_fromiovec(skb_put(skb,len),msg->msg_iov,len);
skb1635net/appletalk/ddp.cif(call_out_firewall(AF_APPLETALK, skb, ddp)!=FW_ACCEPT)
skb1637net/appletalk/ddp.ckfree_skb(skb, FREE_WRITE);
skb1652net/appletalk/ddp.cstruct sk_buff *skb2=skb_clone(skb, GFP_KERNEL);
skb1670net/appletalk/ddp.csk->wmem_alloc-=skb->truesize;
skb1671net/appletalk/ddp.cddp_dl->datalink_header(ddp_dl, skb, dev->dev_addr);
skb1672net/appletalk/ddp.cskb->sk = NULL;
skb1673net/appletalk/ddp.cskb->mac.raw=skb->data;
skb1674net/appletalk/ddp.cskb->h.raw = skb->data + ddp_dl->header_length + dev->hard_header_len;
skb1675net/appletalk/ddp.cskb_pull(skb,dev->hard_header_len);
skb1676net/appletalk/ddp.cskb_pull(skb,ddp_dl->header_length);
skb1677net/appletalk/ddp.catalk_rcv(skb,dev,NULL);
skb1689net/appletalk/ddp.cif(aarp_send_ddp(dev,skb,&usat->sat_addr, NULL)==-1)
skb1690net/appletalk/ddp.ckfree_skb(skb, FREE_WRITE);
skb1705net/appletalk/ddp.cstruct sk_buff *skb;
skb1714net/appletalk/ddp.cskb=skb_recv_datagram(sk,flags,noblock,&er);
skb1715net/appletalk/ddp.cif(skb==NULL)
skb1718net/appletalk/ddp.cddp = (struct ddpehdr *)(skb->h.raw);
skb1724net/appletalk/ddp.cskb_copy_datagram_iovec(skb,0,msg->msg_iov,copied);
skb1731net/appletalk/ddp.cskb_copy_datagram_iovec(skb,sizeof(*ddp),msg->msg_iov,copied);
skb1740net/appletalk/ddp.cskb_free_datagram(skb);
skb1779net/appletalk/ddp.cstruct sk_buff *skb;
skb1781net/appletalk/ddp.cif((skb=skb_peek(&sk->receive_queue))!=NULL)
skb1782net/appletalk/ddp.camount=skb->len-sizeof(struct ddpehdr);
skb361net/ax25/af_ax25.cstatic void ax25_send_to_raw(struct sock *sk, struct sk_buff *skb, int proto)
skb367net/ax25/af_ax25.cif ((copy = skb_clone(skb, GFP_ATOMIC)) == NULL)
skb374net/ax25/af_ax25.csk->data_ready(sk, skb->len);
skb402net/ax25/af_ax25.cstruct sk_buff *skb;
skb414net/ax25/af_ax25.cwhile ((skb = skb_dequeue(&ax25->sk->receive_queue)) != NULL) {
skb415net/ax25/af_ax25.cif (skb->sk != ax25->sk) {      /* A pending connection */
skb416net/ax25/af_ax25.cskb->sk->dead = 1;  /* Queue the unaccepted socket for death */
skb417net/ax25/af_ax25.cax25_set_timer(skb->sk->ax25);
skb418net/ax25/af_ax25.cskb->sk->ax25->state = AX25_STATE_0;
skb421net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb596net/ax25/af_ax25.cint ax25_send_frame(struct sk_buff *skb, ax25_address *src, ax25_address *dest,
skb601net/ax25/af_ax25.cif (skb == NULL)
skb612net/ax25/af_ax25.cax25_output(ax25, skb);
skb640net/ax25/af_ax25.cax25_output(ax25, skb);
skb1285net/ax25/af_ax25.cstruct sk_buff *skb;
skb1304net/ax25/af_ax25.cif ((skb = skb_dequeue(&sk->receive_queue)) == NULL) {
skb1315net/ax25/af_ax25.c} while (skb == NULL);
skb1317net/ax25/af_ax25.cnewsk = skb->sk;
skb1322net/ax25/af_ax25.cskb->sk = NULL;
skb1323net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1365net/ax25/af_ax25.cstatic int ax25_rcv(struct sk_buff *skb, struct device *dev, ax25_address *dev_addr, struct packet_type *ptype)
skb1380net/ax25/af_ax25.cskb->h.raw = skb->data;
skb1384net/ax25/af_ax25.cif(call_in_firewall(PF_AX25, skb, skb->h.raw)!=FW_ACCEPT)
skb1386net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1395net/ax25/af_ax25.cif (ax25_parse_addr(skb->data, skb->len, &src, &dest, &dp, &type) == NULL) {
skb1396net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1430net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1434net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1436net/ax25/af_ax25.cbuild_ax25_addr(skb->data, &src, &dest, &dp, type, MODULUS);
skb1438net/ax25/af_ax25.cif(call_fw_firewall(PF_AX25, skb,skb->data)!=FW_ACCEPT)
skb1440net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1444net/ax25/af_ax25.cskb->arp = 1;
skb1445net/ax25/af_ax25.cax25_queue_xmit(skb, dev_out, SOPRI_NORMAL);
skb1447net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1456net/ax25/af_ax25.cskb_pull(skb, size_ax25_addr(&dp));
skb1468net/ax25/af_ax25.cif ((*skb->data & ~0x10) == LAPB_UI) {  /* UI frame - bypass LAPB processing */
skb1469net/ax25/af_ax25.cskb->h.raw = skb->data + 2;    /* skip control and pid */
skb1472net/ax25/af_ax25.cax25_send_to_raw(raw, skb, skb->data[1]);
skb1475net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1480net/ax25/af_ax25.cswitch (skb->data[1]) {
skb1483net/ax25/af_ax25.cskb_pull(skb,2);    /* drop PID/CTRL */
skb1485net/ax25/af_ax25.cip_rcv(skb, dev, ptype);  /* Note ptype here is the wrong one, fix me later */
skb1489net/ax25/af_ax25.cskb_pull(skb,2);
skb1490net/ax25/af_ax25.carp_rcv(skb, dev, ptype);  /* Note ptype here is wrong... */
skb1497net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1502net/ax25/af_ax25.cskb_pull(skb, 2);
skb1503net/ax25/af_ax25.cskb_queue_tail(&sk->receive_queue, skb);
skb1504net/ax25/af_ax25.cskb->sk = sk;
skb1505net/ax25/af_ax25.csk->rmem_alloc += skb->truesize;
skb1507net/ax25/af_ax25.csk->data_ready(sk, skb->len);
skb1510net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1515net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);  /* Will scan SOCK_AX25 RAW sockets */
skb1528net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1539net/ax25/af_ax25.cif (ax25_process_rx_frame(ax25, skb, type) == 0)
skb1540net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1545net/ax25/af_ax25.cif ((*skb->data & ~PF) != SABM && (*skb->data & ~PF) != SABME) {
skb1550net/ax25/af_ax25.cif ((*skb->data & ~PF) != DM && mine)
skb1553net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1562net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1568net/ax25/af_ax25.cskb_queue_head(&sk->receive_queue, skb);
skb1570net/ax25/af_ax25.cskb->sk     = make;
skb1578net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1584net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1593net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1605net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1620net/ax25/af_ax25.cif ((*skb->data & ~PF) == SABME) {
skb1641net/ax25/af_ax25.csk->data_ready(sk, skb->len );
skb1643net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);
skb1652net/ax25/af_ax25.cstatic int kiss_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *ptype)
skb1654net/ax25/af_ax25.cskb->sk = NULL;    /* Initially we don't know who its for */
skb1656net/ax25/af_ax25.cif ((*skb->data & 0x0F) != 0) {
skb1657net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);  /* Not a KISS data frame */
skb1661net/ax25/af_ax25.cskb_pull(skb, AX25_KISS_HEADER_LEN);  /* Remove the KISS byte */
skb1663net/ax25/af_ax25.creturn ax25_rcv(skb, dev, (ax25_address *)dev->dev_addr, ptype);
skb1670net/ax25/af_ax25.cstatic int bpq_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *ptype)
skb1675net/ax25/af_ax25.cskb->sk = NULL;    /* Initially we don't know who its for */
skb1678net/ax25/af_ax25.ckfree_skb(skb, FREE_READ);  /* We have no port callsign */
skb1682net/ax25/af_ax25.clen = skb->data[0] + skb->data[1] * 256 - 5;
skb1684net/ax25/af_ax25.cskb_pull(skb, 2);  /* Remove the length bytes */
skb1685net/ax25/af_ax25.cskb_trim(skb, len);  /* Set the length of the data */
skb1687net/ax25/af_ax25.creturn ax25_rcv(skb, dev, port_call, ptype);
skb1697net/ax25/af_ax25.cstruct sk_buff *skb;
skb1767net/ax25/af_ax25.cif ((skb = sock_alloc_send_skb(sk, size, 0, 0, &err)) == NULL)
skb1770net/ax25/af_ax25.cskb->sk   = sk;
skb1771net/ax25/af_ax25.cskb->free = 1;
skb1772net/ax25/af_ax25.cskb->arp  = 1;
skb1774net/ax25/af_ax25.cskb_reserve(skb, size - len);
skb1780net/ax25/af_ax25.cmemcpy_fromiovec(skb_put(skb, len), msg->msg_iov, len);
skb1783net/ax25/af_ax25.casmptr  = skb_push(skb, 1);
skb1792net/ax25/af_ax25.ckfree_skb(skb, FREE_WRITE);
skb1796net/ax25/af_ax25.cax25_output(sk->ax25, skb);  /* Shove it onto the queue and kick */
skb1800net/ax25/af_ax25.casmptr = skb_push(skb, 1 + size_ax25_addr(dp));
skb1814net/ax25/af_ax25.cskb->h.raw = asmptr;
skb1817net/ax25/af_ax25.cprintk("base=%p pos=%p\n", skb->data, asmptr);
skb1822net/ax25/af_ax25.cax25_queue_xmit(skb, sk->ax25->device, SOPRI_NORMAL);
skb1834net/ax25/af_ax25.cstruct sk_buff *skb;
skb1852net/ax25/af_ax25.cif ((skb = skb_recv_datagram(sk, flags, noblock, &er)) == NULL)
skb1856net/ax25/af_ax25.clength = skb->len + (skb->data - skb->h.raw);
skb1859net/ax25/af_ax25.cskb_pull(skb, 1);    /* Remove PID */
skb1860net/ax25/af_ax25.clength     = skb->len;
skb1861net/ax25/af_ax25.cskb->h.raw = skb->data;
skb1865net/ax25/af_ax25.cskb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied);
skb1876net/ax25/af_ax25.cax25_parse_addr(skb->data, skb->len, NULL, &dest, &digi, NULL);
skb1900net/ax25/af_ax25.cskb_free_datagram(skb);
skb1936net/ax25/af_ax25.cstruct sk_buff *skb;
skb1938net/ax25/af_ax25.cif ((skb = skb_peek(&sk->receive_queue)) != NULL)
skb1939net/ax25/af_ax25.camount = skb->len;
skb2178net/ax25/af_ax25.cvoid ax25_queue_xmit(struct sk_buff *skb, struct device *dev, int pri)
skb2184net/ax25/af_ax25.cif(call_out_firewall(PF_AX25, skb, skb->data)!=FW_ACCEPT)
skb2186net/ax25/af_ax25.ckfree_skb(skb, FREE_WRITE);
skb2191net/ax25/af_ax25.cskb->protocol = htons (ETH_P_AX25);
skb2197net/ax25/af_ax25.cif(skb_headroom(skb) < AX25_BPQ_HEADER_LEN)
skb2200net/ax25/af_ax25.cskb->free = 1;
skb2201net/ax25/af_ax25.ckfree_skb(skb, FREE_WRITE);
skb2205net/ax25/af_ax25.csize = skb->len;
skb2207net/ax25/af_ax25.cptr = skb_push(skb, 2);
skb2212net/ax25/af_ax25.cdev->hard_header(skb, dev, ETH_P_BPQ, bcast_addr, NULL, 0);
skb2214net/ax25/af_ax25.cdev_queue_xmit(skb, dev, pri);
skb2220net/ax25/af_ax25.cptr = skb_push(skb, 1);
skb2223net/ax25/af_ax25.cdev_queue_xmit(skb, dev, pri);
skb2239net/ax25/af_ax25.cint ax25_encapsulate(struct sk_buff *skb, struct device *dev, unsigned short type, void *daddr,
skb2243net/ax25/af_ax25.cunsigned char *buff = skb_push(skb, AX25_HEADER_LEN);
skb2287net/ax25/af_ax25.cint ax25_rebuild_header(unsigned char *bp, struct device *dev, unsigned long dest, struct sk_buff *skb)
skb2291net/ax25/af_ax25.cif (arp_find(bp + 1, dest, dev, dev->pa_addr, skb))
skb2299net/ax25/af_ax25.cskb_device_unlock(skb);
skb2300net/ax25/af_ax25.cskb_pull(skb, AX25_HEADER_LEN - 1);  /* Keep PID */
skb2301net/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)
skb133net/ax25/ax25_in.cunsigned char pid = *skb->data;
skb139net/ax25/ax25_in.cskb_pull(skb, 1);  /* Remove PID */
skb140net/ax25/ax25_in.cqueued = nr_route_frame(skb, ax25);
skb146net/ax25/ax25_in.cskb_pull(skb, 1);  /* Remove PID */
skb147net/ax25/ax25_in.cskb->h.raw = skb->data;
skb149net/ax25/ax25_in.cip_rcv(skb, skb->dev, NULL);  /* Wrong ptype */
skb154net/ax25/ax25_in.cskb_pull(skb, 1);  /* Remove PID */
skb155net/ax25/ax25_in.cqueued = ax25_rx_fragment(ax25, skb);
skb160net/ax25/ax25_in.cif (sock_queue_rcv_skb(ax25->sk, skb) == 0) {
skb177net/ax25/ax25_in.cstatic int ax25_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type)
skb246net/ax25/ax25_in.cstatic int ax25_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type)
skb304net/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)
skb417net/ax25/ax25_in.cqueued = ax25_rx_iframe(ax25, skb);
skb461net/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)
skb682net/ax25/ax25_in.cframetype = ax25_decode(ax25, skb, &ns, &nr, &pf);
skb686net/ax25/ax25_in.cqueued = ax25_state1_machine(ax25, skb, frametype, pf, type);
skb689net/ax25/ax25_in.cqueued = ax25_state2_machine(ax25, skb, frametype, pf, type);
skb692net/ax25/ax25_in.cqueued = ax25_state3_machine(ax25, skb, frametype, ns, nr, pf, type);
skb695net/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 - 1) > 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, 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);
skb174net/ax25/ax25_out.cif ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) {
skb175net/ax25/ax25_out.cskb_queue_head(&ax25->write_queue, skb);
skb195net/ax25/ax25_out.cskb_queue_tail(&ax25->ack_queue, skb);
skb199net/ax25/ax25_out.c} while (!last && (skb = skb_dequeue(&ax25->write_queue)) != NULL);
skb212net/ax25/ax25_out.cvoid ax25_transmit_buffer(ax25_cb *ax25, struct sk_buff *skb, int type)
skb227net/ax25/ax25_out.cif (skb_headroom(skb) < size_ax25_addr(ax25->digipeat)) {
skb229net/ax25/ax25_out.cskb->free = 1;
skb230net/ax25/ax25_out.ckfree_skb(skb, FREE_WRITE);
skb234net/ax25/ax25_out.cptr = skb_push(skb, size_ax25_addr(ax25->digipeat));
skb237net/ax25/ax25_out.cskb->arp = 1;
skb239net/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;
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);
skb107net/ax25/ax25_subr.cstruct sk_buff *skb, *skb_prev = NULL;
skb114net/ax25/ax25_subr.cwhile ((skb = skb_dequeue(&ax25->ack_queue)) != NULL) {
skb116net/ax25/ax25_subr.cskb_queue_head(&ax25->write_queue, skb);
skb118net/ax25/ax25_subr.cskb_append(skb_prev, skb);
skb119net/ax25/ax25_subr.cskb_prev = skb;
skb145net/ax25/ax25_subr.cint ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf)
skb150net/ax25/ax25_subr.cframe = skb->data;
skb167net/ax25/ax25_subr.cskb_pull(skb, 1);
skb174net/ax25/ax25_subr.cskb_pull(skb, 2);
skb179net/ax25/ax25_subr.cskb_pull(skb, 2);
skb183net/ax25/ax25_subr.cskb_pull(skb, 1);
skb197net/ax25/ax25_subr.cstruct sk_buff *skb;
skb204net/ax25/ax25_subr.cif ((skb = alloc_skb(AX25_BPQ_HEADER_LEN + size_ax25_addr(ax25->digipeat) + 2, GFP_ATOMIC)) == NULL)
skb207net/ax25/ax25_subr.cskb_reserve(skb, AX25_BPQ_HEADER_LEN + size_ax25_addr(ax25->digipeat));
skb210net/ax25/ax25_subr.cskb->sk = ax25->sk;
skb211net/ax25/ax25_subr.cax25->sk->wmem_alloc += skb->truesize;
skb216net/ax25/ax25_subr.cdptr = skb_put(skb, 1);
skb223net/ax25/ax25_subr.cdptr = skb_put(skb, 1);
skb227net/ax25/ax25_subr.cdptr = skb_put(skb, 2);
skb234net/ax25/ax25_subr.cskb->free = 1;
skb236net/ax25/ax25_subr.cax25_transmit_buffer(ax25, skb, type);
skb246net/ax25/ax25_subr.cstruct sk_buff *skb;
skb253net/ax25/ax25_subr.cif ((skb = alloc_skb(AX25_BPQ_HEADER_LEN + size_ax25_addr(digi) + 1, GFP_ATOMIC)) == NULL)
skb256net/ax25/ax25_subr.cskb_reserve(skb, AX25_BPQ_HEADER_LEN + size_ax25_addr(digi));
skb260net/ax25/ax25_subr.cdptr = skb_put(skb, 1);
skb261net/ax25/ax25_subr.cskb->sk = NULL;
skb269net/ax25/ax25_subr.cdptr  = skb_push(skb, size_ax25_addr(digi));
skb272net/ax25/ax25_subr.cskb->arp  = 1;
skb273net/ax25/ax25_subr.cskb->free = 1;
skb275net/ax25/ax25_subr.cax25_queue_xmit(skb, dev, SOPRI_NORMAL);
skb54net/core/datagram.cstruct sk_buff *skb;
skb125net/core/datagram.cskb=skb_dequeue(&sk->receive_queue);
skb126net/core/datagram.cif(skb!=NULL)
skb127net/core/datagram.cskb->users++;
skb134net/core/datagram.cskb=skb_peek(&sk->receive_queue);
skb135net/core/datagram.cif(skb!=NULL)
skb136net/core/datagram.cskb->users++;
skb138net/core/datagram.cif(skb==NULL)  /* shouldn't happen but .. */
skb141net/core/datagram.creturn skb;
skb144net/core/datagram.cvoid skb_free_datagram(struct sk_buff *skb)
skb150net/core/datagram.cskb->users--;
skb151net/core/datagram.cif(skb->users>0)
skb157net/core/datagram.cif(!skb->next && !skb->prev)  /* Been dequeued by someone - ie it's read */
skb158net/core/datagram.ckfree_skb(skb,FREE_READ);
skb166net/core/datagram.cvoid skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size)
skb168net/core/datagram.cmemcpy_tofs(to,skb->h.raw+offset,size);
skb176net/core/datagram.cvoid skb_copy_datagram_iovec(struct sk_buff *skb, int offset, struct iovec *to, int size)
skb178net/core/datagram.cmemcpy_toiovec(to,skb->h.raw+offset,size);
skb294net/core/dev.cstruct sk_buff *skb;
skb295net/core/dev.cwhile((skb=skb_dequeue(&dev->buffs[ct]))!=NULL)
skb296net/core/dev.cif(skb->free)
skb297net/core/dev.ckfree_skb(skb,FREE_WRITE);
skb329net/core/dev.cvoid dev_queue_xmit(struct sk_buff *skb, struct device *dev, int pri)
skb337net/core/dev.cif(pri>=0 && !skb_device_locked(skb))
skb338net/core/dev.cskb_device_lock(skb);  /* Shove a lock on the frame */
skb340net/core/dev.cIS_SKB(skb);
skb342net/core/dev.cskb->dev = dev;
skb369net/core/dev.cif (!skb->arp && dev->rebuild_header(skb->data, dev, skb->raddr, skb)) {
skb383net/core/dev.cskb->dev = dev = net_alias_main_dev(dev);
skb391net/core/dev.cskb_queue_tail(dev->buffs + pri,skb);
skb392net/core/dev.cskb_device_unlock(skb);    /* Buffer is on the device queue and can be freed safely */
skb393net/core/dev.cskb = skb_dequeue(dev->buffs + pri);
skb394net/core/dev.cskb_device_lock(skb);    /* New buffer needs locking down */
skb401net/core/dev.cskb->stamp=xtime;
skb408net/core/dev.c((struct sock *)ptype->data != skb->sk))
skb411net/core/dev.cif ((skb2 = skb_clone(skb, GFP_ATOMIC)) == NULL)
skb415net/core/dev.cptype->func(skb2, skb->dev, ptype);
skb420net/core/dev.cif (dev->hard_start_xmit(skb, dev) == 0) {
skb434net/core/dev.cskb_device_unlock(skb);
skb435net/core/dev.cskb_queue_head(dev->buffs + pri,skb);
skb445net/core/dev.cvoid netif_rx(struct sk_buff *skb)
skb454net/core/dev.cskb->sk = NULL;
skb455net/core/dev.cskb->free = 1;
skb456net/core/dev.cif(skb->stamp.tv_sec==0)
skb457net/core/dev.cskb->stamp = xtime;
skb470net/core/dev.ckfree_skb(skb, FREE_READ);
skb478net/core/dev.cIS_SKB(skb);
skb480net/core/dev.cskb_queue_tail(&backlog,skb);
skb514net/core/dev.cstruct sk_buff *skb = NULL;
skb524net/core/dev.cskb = (struct sk_buff *) buff;
skb536net/core/dev.cskb = alloc_skb(len, GFP_ATOMIC);
skb537net/core/dev.cif (skb == NULL) 
skb550net/core/dev.cto = skb_put(skb,len);
skb572net/core/dev.cskb->dev = dev;
skb573net/core/dev.cskb->free = 1;
skb575net/core/dev.cnetif_rx(skb);
skb632net/core/dev.cstruct sk_buff *skb;
skb665net/core/dev.cwhile((skb=skb_dequeue(&backlog))!=NULL)
skb681net/core/dev.cskb->h.raw = skb->data;
skb687net/core/dev.ctype = skb->protocol;
skb699net/core/dev.cstruct sk_buff *skb2=skb_clone(skb, GFP_ATOMIC);
skb701net/core/dev.cpt_prev->func(skb2,skb->dev, pt_prev);
skb708net/core/dev.cif (ptype->type == type && (!ptype->dev || ptype->dev==skb->dev))
skb718net/core/dev.cskb2=skb_clone(skb, GFP_ATOMIC);
skb726net/core/dev.cpt_prev->func(skb2, skb->dev, pt_prev);
skb738net/core/dev.cpt_prev->func(skb, skb->dev, pt_prev);
skb744net/core/dev.ckfree_skb(skb, FREE_WRITE);
skb780net/core/dev.cstruct sk_buff *skb;
skb803net/core/dev.cwhile((skb=skb_dequeue(&dev->buffs[i]))!=NULL)
skb808net/core/dev.cskb_device_lock(skb);
skb814net/core/dev.cdev_queue_xmit(skb,dev,-i - 1);
skb96net/core/firewall.cint call_fw_firewall(int pf, struct sk_buff *skb, void *phdr)
skb102net/core/firewall.cint rc=fw->fw_forward(fw,pf,skb,phdr);
skb114net/core/firewall.cint call_in_firewall(int pf, struct sk_buff *skb, void *phdr)
skb120net/core/firewall.cint rc=fw->fw_input(fw,pf,skb,phdr);
skb128net/core/firewall.cint call_out_firewall(int pf, struct sk_buff *skb, void *phdr)
skb134net/core/firewall.cint rc=fw->fw_output(fw,pf,skb,phdr);
skb63net/core/net_alias.cstatic int net_alias_hard_start_xmit(struct sk_buff *skb, struct device *dev);
skb222net/core/net_alias.cnet_alias_hard_start_xmit(struct sk_buff *skb, struct device *dev)
skb225net/core/net_alias.cdev_kfree_skb(skb, FREE_WRITE);
skb77net/core/skbuff.cint skb_check(struct sk_buff *skb, int head, int line, char *file)
skb80net/core/skbuff.cif (skb->magic_debug_cookie != SK_HEAD_SKB) {
skb85net/core/skbuff.cif (!skb->next || !skb->prev) {
skb89net/core/skbuff.cif (skb->next->magic_debug_cookie != SK_HEAD_SKB
skb90net/core/skbuff.c&& skb->next->magic_debug_cookie != SK_GOOD_SKB) {
skb95net/core/skbuff.cif (skb->prev->magic_debug_cookie != SK_HEAD_SKB
skb96net/core/skbuff.c&& skb->prev->magic_debug_cookie != SK_GOOD_SKB) {
skb103net/core/skbuff.cstruct sk_buff *skb2 = skb->next;
skb105net/core/skbuff.cwhile (skb2 != skb && i < 5) {
skb117net/core/skbuff.cif (skb->next != NULL && skb->next->magic_debug_cookie != SK_HEAD_SKB
skb118net/core/skbuff.c&& skb->next->magic_debug_cookie != SK_GOOD_SKB) {
skb123net/core/skbuff.cif (skb->prev != NULL && skb->prev->magic_debug_cookie != SK_HEAD_SKB
skb124net/core/skbuff.c&& skb->prev->magic_debug_cookie != SK_GOOD_SKB) {
skb131net/core/skbuff.cif(skb->magic_debug_cookie==SK_FREED_SKB)
skb136net/core/skbuff.cskb,skb->truesize,skb->free);
skb139net/core/skbuff.cif(skb->magic_debug_cookie!=SK_GOOD_SKB)
skb143net/core/skbuff.cskb,skb->truesize,skb->free);
skb146net/core/skbuff.cif(skb->head>skb->data)
skb150net/core/skbuff.cskb,skb->head,skb->data);
skb153net/core/skbuff.cif(skb->tail>skb->end)
skb157net/core/skbuff.cskb,skb->tail,skb->end);
skb160net/core/skbuff.cif(skb->data>skb->tail)
skb164net/core/skbuff.cskb,skb->data,skb->tail);
skb167net/core/skbuff.cif(skb->tail-skb->data!=skb->len)
skb171net/core/skbuff.cskb,skb->data,skb->end,skb->len);
skb174net/core/skbuff.cif((unsigned long) skb->end > (unsigned long) skb)
skb178net/core/skbuff.cskb,skb->end);
skb338net/core/skbuff.cvoid skb_unlink(struct sk_buff *skb)
skb345net/core/skbuff.cIS_SKB(skb);
skb347net/core/skbuff.cif(skb->prev && skb->next)
skb349net/core/skbuff.cskb->next->prev = skb->prev;
skb350net/core/skbuff.cskb->prev->next = skb->next;
skb351net/core/skbuff.cskb->next = NULL;
skb352net/core/skbuff.cskb->prev = NULL;
skb365net/core/skbuff.cunsigned char *skb_put(struct sk_buff *skb, int len)
skb367net/core/skbuff.cunsigned char *tmp=skb->tail;
skb368net/core/skbuff.cIS_SKB(skb);
skb369net/core/skbuff.cskb->tail+=len;
skb370net/core/skbuff.cskb->len+=len;
skb371net/core/skbuff.cIS_SKB(skb);
skb372net/core/skbuff.cif(skb->tail>skb->end)
skb377net/core/skbuff.cunsigned char *skb_push(struct sk_buff *skb, int len)
skb379net/core/skbuff.cIS_SKB(skb);
skb380net/core/skbuff.cskb->data-=len;
skb381net/core/skbuff.cskb->len+=len;
skb382net/core/skbuff.cIS_SKB(skb);
skb383net/core/skbuff.cif(skb->data<skb->head)
skb385net/core/skbuff.creturn skb->data;
skb388net/core/skbuff.cunsigned char * skb_pull(struct sk_buff *skb, int len)
skb390net/core/skbuff.cIS_SKB(skb);
skb391net/core/skbuff.cif(len>skb->len)
skb393net/core/skbuff.cskb->data+=len;
skb394net/core/skbuff.cskb->len-=len;
skb395net/core/skbuff.creturn skb->data;
skb398net/core/skbuff.cint skb_headroom(struct sk_buff *skb)
skb400net/core/skbuff.cIS_SKB(skb);
skb401net/core/skbuff.creturn skb->data-skb->head;
skb404net/core/skbuff.cint skb_tailroom(struct sk_buff *skb)
skb406net/core/skbuff.cIS_SKB(skb);
skb407net/core/skbuff.creturn skb->end-skb->tail;
skb410net/core/skbuff.cvoid skb_reserve(struct sk_buff *skb, int len)
skb412net/core/skbuff.cIS_SKB(skb);
skb413net/core/skbuff.cskb->data+=len;
skb414net/core/skbuff.cskb->tail+=len;
skb415net/core/skbuff.cif(skb->tail>skb->end)
skb417net/core/skbuff.cif(skb->data<skb->head)
skb419net/core/skbuff.cIS_SKB(skb);
skb422net/core/skbuff.cvoid skb_trim(struct sk_buff *skb, int len)
skb424net/core/skbuff.cIS_SKB(skb);
skb425net/core/skbuff.cif(skb->len>len)
skb427net/core/skbuff.cskb->len=len;
skb428net/core/skbuff.cskb->tail=skb->data+len;
skb441net/core/skbuff.cvoid kfree_skb(struct sk_buff *skb, int rw)
skb443net/core/skbuff.cif (skb == NULL)
skb450net/core/skbuff.cIS_SKB(skb);
skb452net/core/skbuff.cif (skb->lock)
skb454net/core/skbuff.cskb->free = 3;    /* Free when unlocked */
skb458net/core/skbuff.cif (skb->free == 2)
skb461net/core/skbuff.cif (skb->next)
skb465net/core/skbuff.cif(skb->destructor)
skb466net/core/skbuff.cskb->destructor(skb);
skb467net/core/skbuff.cif (skb->sk)
skb469net/core/skbuff.cif(skb->sk->prot!=NULL)
skb472net/core/skbuff.csock_rfree(skb->sk, skb);
skb474net/core/skbuff.csock_wfree(skb->sk, skb);
skb484net/core/skbuff.cskb->sk->rmem_alloc-=skb->truesize;
skb486net/core/skbuff.cskb->sk->wmem_alloc-=skb->truesize;
skb488net/core/skbuff.cif(!skb->sk->dead)
skb489net/core/skbuff.cskb->sk->write_space(skb->sk);
skb490net/core/skbuff.ckfree_skbmem(skb);
skb494net/core/skbuff.ckfree_skbmem(skb);
skb503net/core/skbuff.cstruct sk_buff *skb;
skb532net/core/skbuff.cif(skb->magic_debug_cookie == SK_GOOD_SKB)
skb533net/core/skbuff.cprintk("Kernel kmalloc handed us an existing skb (%p)\n",skb);
skb544net/core/skbuff.cskb=(struct sk_buff *)(bptr+size)-1;
skb546net/core/skbuff.cskb->count = 1;    /* only one reference to this */
skb547net/core/skbuff.cskb->data_skb = NULL;  /* and we're our own data skb */
skb549net/core/skbuff.cskb->free = 2;  /* Invalid so we pick up forgetful users */
skb550net/core/skbuff.cskb->lock = 0;
skb551net/core/skbuff.cskb->pkt_type = PACKET_HOST;  /* Default type */
skb552net/core/skbuff.cskb->prev = skb->next = NULL;
skb553net/core/skbuff.cskb->link3 = NULL;
skb554net/core/skbuff.cskb->sk = NULL;
skb555net/core/skbuff.cskb->truesize=size;
skb556net/core/skbuff.cskb->localroute=0;
skb557net/core/skbuff.cskb->stamp.tv_sec=0;  /* No idea about time */
skb558net/core/skbuff.cskb->localroute = 0;
skb559net/core/skbuff.cskb->ip_summed = 0;
skb560net/core/skbuff.cmemset(skb->proto_priv, 0, sizeof(skb->proto_priv));
skb566net/core/skbuff.cskb->magic_debug_cookie = SK_GOOD_SKB;
skb568net/core/skbuff.cskb->users = 0;
skb570net/core/skbuff.cskb->head=bptr;
skb571net/core/skbuff.cskb->data=bptr;
skb572net/core/skbuff.cskb->tail=bptr;
skb573net/core/skbuff.cskb->end=bptr+len;
skb574net/core/skbuff.cskb->len=0;
skb575net/core/skbuff.cskb->destructor=NULL;
skb576net/core/skbuff.creturn skb;
skb583net/core/skbuff.cvoid kfree_skbmem(struct sk_buff *skb)
skb586net/core/skbuff.cvoid * addr = skb->head;
skb591net/core/skbuff.cif (--skb->count <= 0) {
skb593net/core/skbuff.cif (skb->data_skb) {
skb594net/core/skbuff.caddr = skb;
skb595net/core/skbuff.ckfree_skbmem(skb->data_skb);
skb608net/core/skbuff.cstruct sk_buff *skb_clone(struct sk_buff *skb, int priority)
skb613net/core/skbuff.cIS_SKB(skb);
skb617net/core/skbuff.cmemcpy(n, skb, sizeof(*n));
skb619net/core/skbuff.cif (skb->data_skb)
skb620net/core/skbuff.cskb = skb->data_skb;
skb623net/core/skbuff.cskb->count++;
skb627net/core/skbuff.cn->data_skb = skb;
skb639net/core/skbuff.cstruct sk_buff *skb_clone(struct sk_buff *skb, int priority)
skb648net/core/skbuff.cIS_SKB(skb);
skb650net/core/skbuff.cn=alloc_skb(skb->truesize-sizeof(struct sk_buff),priority);
skb658net/core/skbuff.coffset=n->head-skb->head;
skb661net/core/skbuff.cskb_reserve(n,skb->data-skb->head);
skb663net/core/skbuff.cskb_put(n,skb->len);
skb665net/core/skbuff.cmemcpy(n->head,skb->head,skb->end-skb->head);
skb668net/core/skbuff.cn->when=skb->when;
skb669net/core/skbuff.cn->dev=skb->dev;
skb670net/core/skbuff.cn->h.raw=skb->h.raw+offset;
skb671net/core/skbuff.cn->mac.raw=skb->mac.raw+offset;
skb672net/core/skbuff.cn->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset);
skb673net/core/skbuff.cn->saddr=skb->saddr;
skb674net/core/skbuff.cn->daddr=skb->daddr;
skb675net/core/skbuff.cn->raddr=skb->raddr;
skb676net/core/skbuff.cn->raddr=skb->seq;
skb677net/core/skbuff.cn->raddr=skb->end_seq;
skb678net/core/skbuff.cn->raddr=skb->ack_seq;
skb679net/core/skbuff.cn->acked=skb->acked;
skb680net/core/skbuff.cmemcpy(n->proto_priv, skb->proto_priv, sizeof(skb->proto_priv));
skb681net/core/skbuff.cn->used=skb->used;
skb683net/core/skbuff.cn->arp=skb->arp;
skb687net/core/skbuff.cn->pkt_type=skb->pkt_type;
skb688net/core/skbuff.cn->stamp=skb->stamp;
skb699net/core/skbuff.cvoid skb_device_lock(struct sk_buff *skb)
skb701net/core/skbuff.cif(skb->lock)
skb705net/core/skbuff.cskb->lock++;
skb708net/core/skbuff.cvoid skb_device_unlock(struct sk_buff *skb)
skb710net/core/skbuff.cif(skb->lock==0)
skb712net/core/skbuff.cskb->lock--;
skb713net/core/skbuff.cif(skb->lock==0)
skb717net/core/skbuff.cvoid dev_kfree_skb(struct sk_buff *skb, int mode)
skb723net/core/skbuff.cif(skb->lock==1)
skb726net/core/skbuff.cif (!--skb->lock && (skb->free == 1 || skb->free == 3))
skb729net/core/skbuff.ckfree_skb(skb,mode);
skb737net/core/skbuff.cstruct sk_buff *skb;
skb739net/core/skbuff.cskb = alloc_skb(length+16, GFP_ATOMIC);
skb740net/core/skbuff.cif (skb)
skb741net/core/skbuff.cskb_reserve(skb,16);
skb742net/core/skbuff.creturn skb;
skb745net/core/skbuff.cint skb_device_locked(struct sk_buff *skb)
skb747net/core/skbuff.creturn skb->lock? 1 : 0;
skb391net/core/sock.cvoid sock_wfree(struct sock *sk, struct sk_buff *skb)
skb393net/core/sock.cint s=skb->truesize;
skb395net/core/sock.cIS_SKB(skb);
skb397net/core/sock.ckfree_skbmem(skb);
skb412net/core/sock.cvoid sock_rfree(struct sock *sk, struct sk_buff *skb)
skb414net/core/sock.cint s=skb->truesize;
skb416net/core/sock.cIS_SKB(skb);
skb418net/core/sock.ckfree_skbmem(skb);
skb435net/core/sock.cstruct sk_buff *skb;
skb459net/core/sock.cskb = sock_wmalloc(sk, size, 0, sk->allocation);
skb464net/core/sock.cskb = sock_wmalloc(sk, size, 0 , GFP_BUFFER);
skb465net/core/sock.cif(!skb)
skb466net/core/sock.cskb=sock_wmalloc(sk, fallback, 0, GFP_KERNEL);
skb473net/core/sock.cif(skb==NULL)
skb525net/core/sock.cwhile(skb==NULL);
skb527net/core/sock.creturn skb;
skb535net/core/sock.cstruct sk_buff *skb;
skb559net/core/sock.cwhile((skb = skb_dequeue(&sk->back_log)) != NULL) 
skb563net/core/sock.csk->prot->rcv(skb, skb->dev, (struct options*)skb->proto_priv,
skb564net/core/sock.cskb->saddr, skb->len, skb->daddr, 1,
skb89net/ethernet/eth.cint eth_header(struct sk_buff *skb, struct device *dev, unsigned short type,
skb92net/ethernet/eth.cstruct ethhdr *eth = (struct ethhdr *)skb_push(skb,ETH_HLEN);
skb140net/ethernet/eth.cstruct sk_buff *skb)
skb159net/ethernet/eth.creturn arp_find(eth->h_dest, dst, dev, dev->pa_addr, skb)? 1 : 0;
skb172net/ethernet/eth.cunsigned short eth_type_trans(struct sk_buff *skb, struct device *dev)
skb177net/ethernet/eth.cskb->mac.raw=skb->data;
skb178net/ethernet/eth.cskb_pull(skb,dev->hard_header_len);
skb179net/ethernet/eth.ceth= skb->mac.ethernet;
skb184net/ethernet/eth.cskb->pkt_type=PACKET_BROADCAST;
skb186net/ethernet/eth.cskb->pkt_type=PACKET_MULTICAST;
skb197net/ethernet/eth.cskb->pkt_type=PACKET_OTHERHOST;
skb203net/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.cskb->protocol = htons (ETH_P_IPX);
skb14net/ethernet/pe2.cdev->hard_header(skb, dev, ETH_P_IPX, dest_node, NULL, skb->len);
skb287net/ipv4/af_inet.cstruct sk_buff *skb;
skb312net/ipv4/af_inet.cwhile ((skb = tcp_dequeue_partial(sk)) != NULL) 
skb314net/ipv4/af_inet.cIS_SKB(skb);
skb315net/ipv4/af_inet.ckfree_skb(skb, FREE_WRITE);
skb322net/ipv4/af_inet.cwhile((skb = skb_dequeue(&sk->write_queue)) != NULL) {
skb323net/ipv4/af_inet.cIS_SKB(skb);
skb324net/ipv4/af_inet.ckfree_skb(skb, FREE_WRITE);
skb334net/ipv4/af_inet.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL) 
skb340net/ipv4/af_inet.cif (skb->sk != NULL && skb->sk != sk) 
skb342net/ipv4/af_inet.cIS_SKB(skb);
skb343net/ipv4/af_inet.cskb->sk->dead = 1;
skb344net/ipv4/af_inet.cskb->sk->prot->close(skb->sk, 0);
skb346net/ipv4/af_inet.cIS_SKB(skb);
skb347net/ipv4/af_inet.ckfree_skb(skb, FREE_READ);
skb356net/ipv4/af_inet.cfor(skb = sk->send_head; skb != NULL; )
skb364net/ipv4/af_inet.cif (skb->next  && skb->prev) 
skb366net/ipv4/af_inet.cIS_SKB(skb);
skb367net/ipv4/af_inet.cskb_unlink(skb);
skb369net/ipv4/af_inet.cskb->dev = NULL;
skb370net/ipv4/af_inet.cskb2 = skb->link3;
skb371net/ipv4/af_inet.ckfree_skb(skb, FREE_WRITE);
skb372net/ipv4/af_inet.cskb = skb2;
skb381net/ipv4/af_inet.cwhile((skb=skb_dequeue(&sk->back_log))!=NULL) 
skb384net/ipv4/af_inet.ckfree_skb(skb, FREE_READ);
skb132net/ipv4/arp.cstruct sk_buff_head    skb;      /* list of queued packets   */
skb297net/ipv4/arp.cstruct sk_buff *skb;
skb303net/ipv4/arp.cwhile ((skb = skb_dequeue(&entry->skb)) != NULL)
skb305net/ipv4/arp.cskb_device_lock(skb);
skb307net/ipv4/arp.cdev_kfree_skb(skb, FREE_WRITE);
skb629net/ipv4/arp.cstruct sk_buff *skb;
skb644net/ipv4/arp.cskb = alloc_skb(sizeof(struct arphdr)+ 2*(dev->addr_len+4)
skb646net/ipv4/arp.cif (skb == NULL)
skb651net/ipv4/arp.cskb_reserve(skb, dev->hard_header_len);
skb652net/ipv4/arp.carp = (struct arphdr *) skb_put(skb,sizeof(struct arphdr) + 2*(dev->addr_len+4));
skb653net/ipv4/arp.cskb->arp = 1;
skb654net/ipv4/arp.cskb->dev = dev;
skb655net/ipv4/arp.cskb->free = 1;
skb656net/ipv4/arp.cskb->protocol = htons (ETH_P_IP);
skb662net/ipv4/arp.cdev->hard_header(skb,dev,ptype,dest_hw?dest_hw:dev->broadcast,src_hw?src_hw:NULL,skb->len);
skb692net/ipv4/arp.cdev_queue_xmit(skb, dev, 0);
skb701net/ipv4/arp.cstruct sk_buff *skb;
skb723net/ipv4/arp.cwhile((skb = skb_dequeue(&entry->skb)) != NULL)
skb725net/ipv4/arp.cIS_SKB(skb);
skb726net/ipv4/arp.cskb_device_lock(skb);
skb728net/ipv4/arp.cif(!skb->dev->rebuild_header(skb->data,skb->dev,skb->raddr,skb))
skb730net/ipv4/arp.cskb->arp  = 1;
skb731net/ipv4/arp.cif(skb->sk==NULL)
skb732net/ipv4/arp.cdev_queue_xmit(skb, skb->dev, 0);
skb734net/ipv4/arp.cdev_queue_xmit(skb,skb->dev,skb->sk->priority);
skb774net/ipv4/arp.cint arp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb780net/ipv4/arp.cstruct arphdr *arp = (struct arphdr *)skb->h.raw;
skb801net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb821net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb830net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb839net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb847net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb854net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb876net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb902net/ipv4/arp.cif (tip != dev->pa_addr && net_alias_has(skb->dev)) 
skb911net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb953net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb959net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb979net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb1032net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb1052net/ipv4/arp.centry->dev = skb->dev;
skb1054net/ipv4/arp.cskb_queue_head_init(&entry->skb);
skb1073net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb1182net/ipv4/arp.cu32 saddr, struct sk_buff *skb)
skb1189net/ipv4/arp.cif (skb)
skb1190net/ipv4/arp.cskb->arp = 1;
skb1211net/ipv4/arp.cif (skb != NULL)
skb1215net/ipv4/arp.cskb_queue_tail(&entry->skb, skb);
skb1216net/ipv4/arp.cskb_device_unlock(skb);
skb1229net/ipv4/arp.cif (skb->sk)
skb1231net/ipv4/arp.cskb->sk->err = EHOSTDOWN;
skb1232net/ipv4/arp.cskb->sk->error_report(skb->sk);
skb1235net/ipv4/arp.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_UNREACH, 0, dev);
skb1237net/ipv4/arp.cdev_kfree_skb(skb, FREE_WRITE);
skb1250net/ipv4/arp.cif (skb)
skb1251net/ipv4/arp.cskb->arp = 1;
skb1275net/ipv4/arp.cskb_queue_head_init(&entry->skb);
skb1276net/ipv4/arp.cif (skb != NULL)
skb1278net/ipv4/arp.cskb_queue_tail(&entry->skb, skb);
skb1279net/ipv4/arp.cskb_device_unlock(skb);
skb1297net/ipv4/arp.celse if (skb != NULL)
skb1298net/ipv4/arp.cdev_kfree_skb(skb, FREE_WRITE);
skb1510net/ipv4/arp.cskb_queue_head_init(&entry->skb);
skb1586net/ipv4/arp.cstruct sk_buff * skb;
skb1605net/ipv4/arp.cwhile ((skb = skb_dequeue(&entry->skb)) != NULL)
skb1607net/ipv4/arp.cskb_device_lock(skb);
skb1609net/ipv4/arp.cskb_queue_tail(&entry1->skb, skb);
skb1610net/ipv4/arp.cskb_device_unlock(skb);
skb1746net/ipv4/arp.cskb_queue_head_init(&entry->skb);
skb151net/ipv4/icmp.cvoid (*handler)(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len);
skb339net/ipv4/icmp.cstatic void icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
skb462net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb470net/ipv4/icmp.cstatic void icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 source, __u32 daddr, int len)
skb529net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb540net/ipv4/icmp.cstatic void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
skb547net/ipv4/icmp.cif (ip_options_echo(&icmp_param.replyopts, NULL, daddr, saddr, skb)==0)
skb549net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb560net/ipv4/icmp.cstatic void icmp_timestamp(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
skb572net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb592net/ipv4/icmp.cif (ip_options_echo(&icmp_param.replyopts, NULL, daddr, saddr, skb)==0)
skb594net/ipv4/icmp.ckfree_skb(skb,FREE_READ);
skb610net/ipv4/icmp.cstatic void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
skb621net/ipv4/icmp.cif (ip_options_echo(&icmp_param.replyopts, NULL, daddr, saddr, skb)==0)
skb624net/ipv4/icmp.ckfree_skb(skb, FREE_READ);  
skb627net/ipv4/icmp.cstatic void icmp_discard(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr, int len)
skb629net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb636net/ipv4/icmp.cint icmp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb640net/ipv4/icmp.cstruct icmphdr *icmph=(void *)skb->h.raw;
skb652net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb665net/ipv4/icmp.ckfree_skb(skb,FREE_READ);
skb683net/ipv4/icmp.ckfree_skb(skb, FREE_READ);
skb696net/ipv4/icmp.c(icmp_pointers[icmph->type].handler)(icmph,skb,skb->dev,saddr,daddr,len);
skb225net/ipv4/igmp.cstruct sk_buff *skb=alloc_skb(MAX_IGMP_SIZE, GFP_ATOMIC);
skb229net/ipv4/igmp.cif(skb==NULL)
skb231net/ipv4/igmp.ctmp=ip_build_header(skb, INADDR_ANY, address, &dev, IPPROTO_IGMP, NULL,
skb235net/ipv4/igmp.ckfree_skb(skb, FREE_WRITE);
skb238net/ipv4/igmp.cih=(struct igmphdr *)skb_put(skb,sizeof(struct igmphdr));
skb244net/ipv4/igmp.cip_queue_xmit(NULL,dev,skb,1);
skb407net/ipv4/igmp.cint igmp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb426net/ipv4/igmp.cih=(struct igmphdr *)skb->h.raw;
skb428net/ipv4/igmp.cif(skb->len <sizeof(struct igmphdr) || skb->ip_hdr->ttl>1 || ip_compute_csum((void *)skb->h.raw,sizeof(struct igmphdr)))
skb430net/ipv4/igmp.ckfree_skb(skb, FREE_READ);
skb442net/ipv4/igmp.ckfree_skb(skb, FREE_READ);
skb452net/ipv4/igmp.ckfree_skb(skb, FREE_READ);
skb43net/ipv4/ip_forward.cstatic void ip_encap(struct sk_buff *skb, int len, struct device *out, __u32 daddr)
skb50net/ipv4/ip_forward.cstruct iphdr *iph=(struct iphdr *)skb_push(skb,sizeof(struct iphdr));
skb54net/ipv4/ip_forward.ciph->tos  =  skb->ip_hdr->tos;
skb55net/ipv4/ip_forward.ciph->ttl  =  skb->ip_hdr->ttl;
skb61net/ipv4/ip_forward.ciph->tot_len  =  htons(skb->len);
skb65net/ipv4/ip_forward.cskb->dev = out;
skb66net/ipv4/ip_forward.cskb->arp = 1;
skb67net/ipv4/ip_forward.cskb->raddr=daddr;
skb71net/ipv4/ip_forward.cif (out->hard_header && out->hard_header(skb, out, ETH_P_IP, NULL, NULL, len)<0)
skb72net/ipv4/ip_forward.cskb->arp=0;
skb84net/ipv4/ip_forward.cint ip_forward(struct sk_buff *skb, struct device *dev, int is_frag,
skb93net/ipv4/ip_forward.cstruct   options * opt  = (struct options*)skb->proto_priv;
skb99net/ipv4/ip_forward.cstruct sk_buff *skb_in = skb;  /* So we can remember if the masquerader did some swaps */
skb110net/ipv4/ip_forward.cfw_res=call_fw_firewall(PF_INET, skb, skb->h.iph);
skb116net/ipv4/ip_forward.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_UNREACH, 0, dev);
skb134net/ipv4/ip_forward.ciph = skb->h.iph;
skb151net/ipv4/ip_forward.cicmp_send(skb, ICMP_TIME_EXCEEDED, ICMP_EXC_TTL, 0, dev);
skb172net/ipv4/ip_forward.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_NET_UNREACH, 0, dev);
skb193net/ipv4/ip_forward.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_SR_FAILED, 0, dev);
skb211net/ipv4/ip_forward.cicmp_send(skb, ICMP_REDIRECT, ICMP_REDIR_HOST, raddr, dev);
skb220net/ipv4/ip_forward.cdev2=skb->dev;
skb221net/ipv4/ip_forward.craddr=skb->raddr;
skb242net/ipv4/ip_forward.cip_fw_masquerade(&skb, dev2);
skb244net/ipv4/ip_forward.cIS_SKB(skb);
skb246net/ipv4/ip_forward.cif (skb->len+encap > dev2->mtu && (ntohs(iph->frag_off) & IP_DF)) 
skb249net/ipv4/ip_forward.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, htonl(dev2->mtu), dev);
skb256net/ipv4/ip_forward.cif(skb_headroom(skb)-encap<dev2->hard_header_len)
skb258net/ipv4/ip_forward.cskb2 = alloc_skb(dev2->hard_header_len + skb->len + encap + 15, GFP_ATOMIC);
skb260net/ipv4/ip_forward.cif(skb_headroom(skb)<dev2->hard_header_len)
skb262net/ipv4/ip_forward.cskb2 = alloc_skb(dev2->hard_header_len + skb->len + 15, GFP_ATOMIC);
skb285net/ipv4/ip_forward.cskb_reserve(skb,(encap+dev->hard_header_len+15)&~15);  /* 16 byte aligned IP headers are good */
skb286net/ipv4/ip_forward.cip_encap(skb2,skb->len, dev2, raddr);
skb290net/ipv4/ip_forward.cip_send(rt,skb2,raddr,skb->len,dev2,dev2->pa_addr);
skb297net/ipv4/ip_forward.cptr = skb_put(skb2,skb->len);
skb304net/ipv4/ip_forward.cmemcpy(ptr, skb->h.raw, skb->len);
skb305net/ipv4/ip_forward.cmemcpy(skb2->proto_priv, skb->proto_priv, sizeof(skb->proto_priv));
skb314net/ipv4/ip_forward.cskb2 = skb;    
skb318net/ipv4/ip_forward.cip_encap(skb,skb->len, dev2, raddr);
skb322net/ipv4/ip_forward.cskb->arp=1;
skb323net/ipv4/ip_forward.cskb->raddr=raddr;
skb326net/ipv4/ip_forward.cmemcpy(skb_push(skb, dev2->hard_header_len), hh->hh_data, dev2->hard_header_len);
skb332net/ipv4/ip_forward.cskb->arp = 0;
skb337net/ipv4/ip_forward.cif(dev2->hard_header(skb, dev2, ETH_P_IP, NULL, NULL, skb->len)<0)
skb338net/ipv4/ip_forward.cskb->arp=0;
skb445net/ipv4/ip_forward.cif(skb==skb2)
skb453net/ipv4/ip_forward.cif(skb!=skb_in)
skb54net/ipv4/ip_fragment.cextern __inline__ void frag_kfree_skb(struct sk_buff *skb, int type)
skb59net/ipv4/ip_fragment.cip_frag_mem-=skb->truesize;
skb61net/ipv4/ip_fragment.ckfree_skb(skb,type);
skb91net/ipv4/ip_fragment.cstatic struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr)
skb108net/ipv4/ip_fragment.cfp->skb = skb;
skb117net/ipv4/ip_fragment.cip_frag_mem+=skb->truesize;
skb189net/ipv4/ip_fragment.cIS_SKB(fp->skb);
skb190net/ipv4/ip_fragment.cfrag_kfree_skb(fp->skb,FREE_READ);
skb222net/ipv4/ip_fragment.cicmp_send(qp->fragments->skb,ICMP_TIME_EXCEEDED,
skb253net/ipv4/ip_fragment.cstatic struct ipq *ip_create(struct sk_buff *skb, struct iphdr *iph, struct device *dev)
skb263net/ipv4/ip_fragment.cskb->dev = qp->dev;
skb343net/ipv4/ip_fragment.cstruct sk_buff *skb;
skb354net/ipv4/ip_fragment.cif ((skb = dev_alloc_skb(len)) == NULL)
skb363net/ipv4/ip_fragment.cskb_put(skb,len);
skb364net/ipv4/ip_fragment.cskb->h.raw = skb->data;
skb365net/ipv4/ip_fragment.cskb->free = 1;
skb368net/ipv4/ip_fragment.cptr = (unsigned char *) skb->h.raw;
skb378net/ipv4/ip_fragment.cif(count+fp->len > skb->len)
skb382net/ipv4/ip_fragment.cfrag_kfree_skb(skb,FREE_WRITE);
skb395net/ipv4/ip_fragment.ciph = skb->h.iph;
skb398net/ipv4/ip_fragment.cskb->ip_hdr = iph;
skb401net/ipv4/ip_fragment.creturn(skb);
skb409net/ipv4/ip_fragment.cstruct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev)
skb441net/ipv4/ip_fragment.creturn(skb);
skb474net/ipv4/ip_fragment.cif ((qp = ip_create(skb, iph, dev)) == NULL)
skb476net/ipv4/ip_fragment.cskb->sk = NULL;
skb477net/ipv4/ip_fragment.cfrag_kfree_skb(skb, FREE_READ);
skb493net/ipv4/ip_fragment.cptr = skb->data + ihl;
skb559net/ipv4/ip_fragment.cfrag_kfree_skb(tmp->skb,FREE_READ);
skb569net/ipv4/ip_fragment.ctfp = ip_frag_create(offset, end, skb, ptr);
skb577net/ipv4/ip_fragment.cskb->sk = NULL;
skb578net/ipv4/ip_fragment.cfrag_kfree_skb(skb, FREE_READ);
skb618net/ipv4/ip_fragment.cvoid ip_fragment(struct sock *sk, struct sk_buff *skb, struct device *dev, int is_frag)
skb632net/ipv4/ip_fragment.craw = skb->data;
skb635net/ipv4/ip_fragment.cskb->ip_hdr = iph;
skb637net/ipv4/ip_fragment.ciph = skb->ip_hdr;
skb670net/ipv4/ip_fragment.cicmp_send(skb,ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED,dev->mtu, dev);
skb722net/ipv4/ip_fragment.cskb2->arp = skb->arp;
skb723net/ipv4/ip_fragment.cif(skb->free==0)
skb741net/ipv4/ip_fragment.cskb2->raddr = skb->raddr;  /* For rebuild_header - must be here */
skb771net/ipv4/ip_fragment.cip_options_fragment(skb);
skb594net/ipv4/ip_fw.cstatic struct sk_buff *revamp(struct sk_buff *skb, struct device *dev, struct ip_masq *ftp)
skb596net/ipv4/ip_fw.cstruct iphdr *iph = skb->h.iph;
skb635net/ipv4/ip_fw.cwhile (skb->len - ((unsigned char *)data - skb->h.raw) > 18)
skb672net/ipv4/ip_fw.creturn skb;
skb711net/ipv4/ip_fw.creturn skb;
skb735net/ipv4/ip_fw.cprintk("MASQUERADE: resizing needed for %d bytes (%ld)\n",diff, skb->len);
skb737net/ipv4/ip_fw.cskb2 = alloc_skb(MAX_HEADER + skb->len+diff, GFP_ATOMIC);
skb740net/ipv4/ip_fw.creturn skb;
skb742net/ipv4/ip_fw.cskb2->free = skb->free;
skb744net/ipv4/ip_fw.cskb_put(skb2,skb->len + diff);
skb745net/ipv4/ip_fw.cskb2->h.raw = skb2->data + (skb->h.raw - skb->data);
skb758net/ipv4/ip_fw.cmemcpy(skb2->data, skb->data, (p - (char *)skb->data));
skb759net/ipv4/ip_fw.cmemcpy(&skb2->data[(p - (char *)skb->data)], buf, strlen(buf));
skb760net/ipv4/ip_fw.cmemcpy(&skb2->data[(p - (char *)skb->data) + strlen(buf)], data,
skb761net/ipv4/ip_fw.cskb->len - (data-(char *)skb->data));
skb767net/ipv4/ip_fw.ciph->tot_len = htons(skb->len + diff);
skb774net/ipv4/ip_fw.ckfree_skb(skb, FREE_WRITE);
skb777net/ipv4/ip_fw.creturn skb;
skb792net/ipv4/ip_fw.cstruct sk_buff  *skb=*skb_ptr;
skb793net/ipv4/ip_fw.cstruct iphdr  *iph = skb->h.iph;
skb853net/ipv4/ip_fw.csize = skb->len - ((unsigned char *)portptr - skb->h.raw);
skb871net/ipv4/ip_fw.cskb = revamp(*skb_ptr, dev, ms);
skb872net/ipv4/ip_fw.c*skb_ptr = skb;
skb873net/ipv4/ip_fw.ciph = skb->h.iph;
skb875net/ipv4/ip_fw.csize = skb->len - ((unsigned char *)portptr-skb->h.raw);
skb889net/ipv4/ip_fw.ctcp_send_check(th,iph->saddr,iph->daddr,size,skb->sk);
skb1696net/ipv4/ip_fw.cint ipfw_input_check(struct firewall_ops *this, int pf, struct sk_buff *skb, void *phdr)
skb1698net/ipv4/ip_fw.creturn ip_fw_chk(phdr, skb->dev, ip_fw_blk_chain, ip_fw_blk_policy, 0);
skb1701net/ipv4/ip_fw.cint ipfw_forward_check(struct firewall_ops *this, int pf, struct sk_buff *skb, void *phdr)
skb1703net/ipv4/ip_fw.creturn ip_fw_chk(phdr, skb->dev, ip_fw_fwd_chain, ip_fw_fwd_policy, 0);
skb197net/ipv4/ip_input.cint ip_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb199net/ipv4/ip_input.cstruct iphdr *iph = skb->h.iph;
skb222net/ipv4/ip_input.creturn ipv6_rcv(skb,dev,pt);
skb231net/ipv4/ip_input.cskb->ip_hdr = iph;
skb246net/ipv4/ip_input.cif (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0
skb247net/ipv4/ip_input.c|| skb->len < ntohs(iph->tot_len))
skb250net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb260net/ipv4/ip_input.cskb_trim(skb,ntohs(iph->tot_len));
skb264net/ipv4/ip_input.cskb->ip_summed = 0;
skb265net/ipv4/ip_input.cif (ip_options_compile(NULL, skb))
skb267net/ipv4/ip_input.copt = (struct options*)skb->proto_priv;
skb271net/ipv4/ip_input.ckfree_skb(skb, FREE_READ);
skb284net/ipv4/ip_input.cif (iph->daddr != skb->dev->pa_addr && net_alias_has(skb->dev)) 
skb285net/ipv4/ip_input.cskb->dev = dev = net_alias_dev_rcv_sel32(skb->dev, AF_INET, iph->saddr, iph->daddr);
skb294net/ipv4/ip_input.cif ((err=call_in_firewall(PF_INET, skb, iph))<FW_ACCEPT)
skb297net/ipv4/ip_input.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0, dev);
skb298net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb332net/ipv4/ip_input.cif ( iph->daddr == skb->dev->pa_addr || (brd = ip_chk_addr(iph->daddr)) != 0)
skb340net/ipv4/ip_input.cif (brd != IS_MYADDR || skb->pkt_type != PACKET_HOST) 
skb342net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb354net/ipv4/ip_input.cicmp_send(skb, ICMP_PARAMETERPROB, 0, opt->srr+2,
skb355net/ipv4/ip_input.cskb->dev);
skb356net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb370net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb380net/ipv4/ip_input.cif (ip_forward(skb, dev, is_frag, nexthop))
skb381net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb384net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb401net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb416net/ipv4/ip_input.cif (ip_fw_demasquerade(skb)) 
skb418net/ipv4/ip_input.cstruct iphdr *iph=skb->h.iph;
skb419net/ipv4/ip_input.cif (ip_forward(skb, dev, is_frag|4, iph->daddr))
skb420net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb440net/ipv4/ip_input.cskb=ip_defrag(iph,skb,dev);
skb441net/ipv4/ip_input.cif(skb==NULL)
skb443net/ipv4/ip_input.cskb->dev = dev;
skb444net/ipv4/ip_input.ciph=skb->h.iph;
skb451net/ipv4/ip_input.cskb->ip_hdr = iph;
skb452net/ipv4/ip_input.cskb->h.raw += iph->ihl*4;
skb487net/ipv4/ip_input.cskb1=skb_clone(skb, GFP_ATOMIC);
skb530net/ipv4/ip_input.cskb2 = skb_clone(skb, GFP_ATOMIC);
skb536net/ipv4/ip_input.cskb2 = skb;
skb569net/ipv4/ip_input.cipmr_forward(skb, is_frag);
skb572net/ipv4/ip_input.cstruct sk_buff *skb2=skb_clone(skb, GFP_ATOMIC);
skb583net/ipv4/ip_input.craw_rcv(raw_sk, skb, dev, iph->saddr, daddr);
skb587net/ipv4/ip_input.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PROT_UNREACH, 0, dev);  
skb588net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb602net/ipv4/ip_input.cif(skb->pkt_type!=PACKET_HOST || brd==IS_BROADCAST)
skb604net/ipv4/ip_input.ckfree_skb(skb,FREE_WRITE);
skb615net/ipv4/ip_input.cicmp_send(skb, ICMP_PARAMETERPROB, 0, 16, skb->dev);
skb616net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb619net/ipv4/ip_input.cif (ip_forward(skb, dev, is_frag, iph->daddr))
skb620net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb625net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb29net/ipv4/ip_options.cvoid ip_options_build(struct sk_buff * skb, struct options * opt,
skb33net/ipv4/ip_options.cunsigned char * iph = (unsigned char*)skb->ip_hdr;
skb35net/ipv4/ip_options.cmemcpy(skb->proto_priv, opt, sizeof(struct options));
skb37net/ipv4/ip_options.copt = (struct options*)skb->proto_priv;
skb75net/ipv4/ip_options.cstruct sk_buff * skb) 
skb86net/ipv4/ip_options.csopt = (struct options*)skb->proto_priv;
skb95net/ipv4/ip_options.c(unsigned char *)skb->ip_hdr);
skb194net/ipv4/ip_options.cvoid ip_options_fragment(struct sk_buff * skb) 
skb196net/ipv4/ip_options.cunsigned char * optptr = (unsigned char*)skb->ip_hdr;
skb197net/ipv4/ip_options.cstruct options * opt = (struct options*)skb->proto_priv;
skb234net/ipv4/ip_options.cint ip_options_compile(struct options * opt, struct sk_buff * skb)
skb244net/ipv4/ip_options.copt = (struct options*)skb->proto_priv;
skb246net/ipv4/ip_options.ciph = (unsigned char*)skb->ip_hdr;
skb253net/ipv4/ip_options.coptptr = opt->is_data ? opt->__data : (unsigned char*)&skb->ip_hdr[1];
skb302net/ipv4/ip_options.cif (!skb) 
skb339net/ipv4/ip_options.cif (skb) 
skb341net/ipv4/ip_options.cmemcpy(&optptr[optptr[2]-1], &skb->dev->pa_addr, 4);
skb378net/ipv4/ip_options.cif (skb) 
skb390net/ipv4/ip_options.cif (skb) 
skb392net/ipv4/ip_options.cmemcpy(&optptr[ts->ptr-1], &skb->dev->pa_addr, 4);
skb411net/ipv4/ip_options.cif (skb)
skb441net/ipv4/ip_options.cif (skb) 
skb451net/ipv4/ip_options.cif (!skb) 
skb466net/ipv4/ip_options.cif (skb) 
skb468net/ipv4/ip_options.cicmp_send(skb, ICMP_PARAMETERPROB, 0, pp_ptr-iph, skb->dev);
skb469net/ipv4/ip_options.ckfree_skb(skb, FREE_READ);
skb67net/ipv4/ip_output.cstatic void ip_loopback(struct device *old_dev, struct sk_buff *skb)
skb70net/ipv4/ip_output.cint len=ntohs(skb->ip_hdr->tot_len);
skb79net/ipv4/ip_output.cnewskb->saddr=skb->saddr;
skb80net/ipv4/ip_output.cnewskb->daddr=skb->daddr;
skb81net/ipv4/ip_output.cnewskb->raddr=skb->raddr;
skb85net/ipv4/ip_output.cnewskb->pkt_type=skb->pkt_type;
skb90net/ipv4/ip_output.cip_send(NULL,newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr);
skb95net/ipv4/ip_output.cmemcpy(newskb->proto_priv, skb->proto_priv, sizeof(skb->proto_priv));
skb100net/ipv4/ip_output.cmemcpy(newskb->ip_hdr,skb->ip_hdr,len);
skb114net/ipv4/ip_output.cint ip_send(struct rtable * rt, struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr)
skb118net/ipv4/ip_output.cskb->dev = dev;
skb119net/ipv4/ip_output.cskb->arp = 1;
skb120net/ipv4/ip_output.cskb->protocol = htons(ETH_P_IP);
skb127net/ipv4/ip_output.cskb_reserve(skb,(dev->hard_header_len+15)&~15);  /* 16 byte aligned IP headers are good */
skb130net/ipv4/ip_output.cmemcpy(skb_push(skb,dev->hard_header_len),rt->rt_hh->hh_data,dev->hard_header_len);
skb136net/ipv4/ip_output.cskb->arp = 0;
skb137net/ipv4/ip_output.cskb->raddr = daddr;
skb140net/ipv4/ip_output.cmac = dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, len);
skb144net/ipv4/ip_output.cskb->arp = 0;
skb145net/ipv4/ip_output.cskb->raddr = daddr;  /* next routing address */
skb151net/ipv4/ip_output.cstatic int ip_send_room(struct rtable * rt, struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr)
skb155net/ipv4/ip_output.cskb->dev = dev;
skb156net/ipv4/ip_output.cskb->arp = 1;
skb157net/ipv4/ip_output.cskb->protocol = htons(ETH_P_IP);
skb160net/ipv4/ip_output.cskb_reserve(skb,MAX_HEADER);
skb163net/ipv4/ip_output.cmemcpy(skb_push(skb,dev->hard_header_len),rt->rt_hh->hh_data,dev->hard_header_len);
skb169net/ipv4/ip_output.cskb->arp = 0;
skb170net/ipv4/ip_output.cskb->raddr = daddr;
skb173net/ipv4/ip_output.cmac = dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, len);
skb177net/ipv4/ip_output.cskb->arp = 0;
skb178net/ipv4/ip_output.cskb->raddr = daddr;  /* next routing address */
skb192net/ipv4/ip_output.cint ip_build_header(struct sk_buff *skb, __u32 saddr, __u32 daddr,
skb211net/ipv4/ip_output.cif(MULTICAST(daddr) && *dev==NULL && skb->sk && *skb->sk->ip_mc_name)
skb212net/ipv4/ip_output.c*dev=dev_get(skb->sk->ip_mc_name);
skb216net/ipv4/ip_output.crt = ip_check_route(rp, daddr, skb->localroute);
skb225net/ipv4/ip_output.crt = ip_rt_route(daddr, skb->localroute);
skb263net/ipv4/ip_output.ctmp = ip_send_room(rt, skb, raddr, len, *dev, saddr);
skb265net/ipv4/ip_output.ctmp = ip_send(rt, skb, raddr, len, *dev, saddr);
skb273net/ipv4/ip_output.cskb->dev = *dev;
skb274net/ipv4/ip_output.cskb->saddr = saddr;
skb293net/ipv4/ip_output.ciph=(struct iphdr *)skb_put(skb,sizeof(struct iphdr) + opt->optlen);
skb295net/ipv4/ip_output.ciph=(struct iphdr *)skb_put(skb,sizeof(struct iphdr));
skb305net/ipv4/ip_output.cskb->ip_hdr   = iph;
skb310net/ipv4/ip_output.cip_options_build(skb, opt, final_daddr, (*dev)->pa_addr, 0);
skb335net/ipv4/ip_output.cstruct sk_buff *skb, int free)
skb347net/ipv4/ip_output.cIS_SKB(skb);
skb354net/ipv4/ip_output.cskb->dev = dev;
skb355net/ipv4/ip_output.cskb->when = jiffies;
skb365net/ipv4/ip_output.ciph = skb->ip_hdr;
skb366net/ipv4/ip_output.ciph->tot_len = ntohs(skb->len-(((unsigned char *)iph)-skb->data));
skb369net/ipv4/ip_output.cif(call_out_firewall(PF_INET, skb, iph) < FW_ACCEPT)
skb387net/ipv4/ip_output.cskb->free = free;
skb397net/ipv4/ip_output.cip_fragment(sk,skb,dev,0);
skb398net/ipv4/ip_output.cIS_SKB(skb);
skb399net/ipv4/ip_output.ckfree_skb(skb,FREE_WRITE);
skb417net/ipv4/ip_output.cif (skb->next != NULL)
skb420net/ipv4/ip_output.cskb_unlink(skb);
skb441net/ipv4/ip_output.cif (skb->link3 != NULL)
skb444net/ipv4/ip_output.cskb->link3 = NULL;
skb448net/ipv4/ip_output.csk->send_tail = skb;
skb449net/ipv4/ip_output.csk->send_head = skb;
skb453net/ipv4/ip_output.csk->send_tail->link3 = skb;
skb454net/ipv4/ip_output.csk->send_tail = skb;
skb463net/ipv4/ip_output.cskb->sk = sk;
skb486net/ipv4/ip_output.cip_loopback(dev,skb);
skb495net/ipv4/ip_output.cip_loopback(dev,skb);
skb504net/ipv4/ip_output.cif(skb->ip_hdr->ttl==0)
skb506net/ipv4/ip_output.ckfree_skb(skb, FREE_READ);
skb512net/ipv4/ip_output.cip_loopback(dev,skb);
skb523net/ipv4/ip_output.cdev_queue_xmit(skb, dev, sk->priority);
skb527net/ipv4/ip_output.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb536net/ipv4/ip_output.ckfree_skb(skb, FREE_WRITE);
skb649net/ipv4/ip_output.cstruct sk_buff *skb=sock_alloc_send_skb(sk, length+15+dev->hard_header_len,0, noblock, &error);
skb650net/ipv4/ip_output.cif(skb==NULL)
skb655net/ipv4/ip_output.cskb->dev=dev;
skb656net/ipv4/ip_output.cskb->protocol = htons(ETH_P_IP);
skb657net/ipv4/ip_output.cskb->free=1;
skb658net/ipv4/ip_output.cskb->when=jiffies;
skb659net/ipv4/ip_output.cskb->sk=sk;
skb660net/ipv4/ip_output.cskb->arp=0;
skb661net/ipv4/ip_output.cskb->saddr=saddr;
skb662net/ipv4/ip_output.cskb->raddr = raddr;
skb663net/ipv4/ip_output.cskb_reserve(skb,(dev->hard_header_len+15)&~15);
skb666net/ipv4/ip_output.cskb->arp=1;
skb667net/ipv4/ip_output.cmemcpy(skb_push(skb,dev->hard_header_len),hh->hh_data,dev->hard_header_len);
skb670net/ipv4/ip_output.cskb->arp = 0;
skb678net/ipv4/ip_output.cif(dev->hard_header(skb,dev,ETH_P_IP,NULL,NULL,0)>0)
skb679net/ipv4/ip_output.cskb->arp=1;
skb682net/ipv4/ip_output.cskb->arp=1;
skb683net/ipv4/ip_output.cskb->ip_hdr=iph=(struct iphdr *)skb_put(skb,length);
skb700net/ipv4/ip_output.cip_options_build(skb, opt,
skb711net/ipv4/ip_output.cif(call_out_firewall(PF_INET, skb, iph)< FW_ACCEPT)
skb713net/ipv4/ip_output.ckfree_skb(skb, FREE_WRITE);
skb718net/ipv4/ip_output.cip_fw_chk((void *)skb->data,dev,ip_acct_chain, IP_FW_F_ACCEPT,1);
skb721net/ipv4/ip_output.cdev_queue_xmit(skb,dev,sk->priority);
skb725net/ipv4/ip_output.ckfree_skb(skb, FREE_WRITE);
skb800net/ipv4/ip_output.cstruct sk_buff * skb;
skb808net/ipv4/ip_output.cskb = sock_alloc_send_skb(sk, fraglen+15, 0, noblock, &error);
skb809net/ipv4/ip_output.cif (skb == NULL)
skb822net/ipv4/ip_output.cskb->dev = dev;
skb823net/ipv4/ip_output.cskb->protocol = htons(ETH_P_IP);
skb824net/ipv4/ip_output.cskb->when = jiffies;
skb825net/ipv4/ip_output.cskb->free = 1; /* dubious, this one */
skb826net/ipv4/ip_output.cskb->sk = sk;
skb827net/ipv4/ip_output.cskb->arp = 0;
skb828net/ipv4/ip_output.cskb->saddr = saddr;
skb829net/ipv4/ip_output.cskb->raddr = raddr;
skb830net/ipv4/ip_output.cskb_reserve(skb,(dev->hard_header_len+15)&~15);
skb831net/ipv4/ip_output.cdata = skb_put(skb, fraglen-dev->hard_header_len);
skb842net/ipv4/ip_output.cskb->arp=1;
skb843net/ipv4/ip_output.cmemcpy(skb_push(skb,dev->hard_header_len),hh->hh_data,dev->hard_header_len);
skb846net/ipv4/ip_output.cskb->arp = 0;
skb854net/ipv4/ip_output.cif(dev->hard_header(skb, dev, ETH_P_IP, 
skb856net/ipv4/ip_output.cskb->arp=1;
skb863net/ipv4/ip_output.cskb->ip_hdr = iph = (struct iphdr *)data;
skb876net/ipv4/ip_output.cip_options_build(skb, opt,
skb915net/ipv4/ip_output.cif(!offset && call_out_firewall(PF_INET, skb, iph) < FW_ACCEPT)
skb917net/ipv4/ip_output.ckfree_skb(skb, FREE_WRITE);
skb946net/ipv4/ip_output.cif(skb->daddr==IGMP_ALL_HOSTS || (dev->flags&IFF_ALLMULTI))
skb947net/ipv4/ip_output.cip_loopback(dev,skb);
skb955net/ipv4/ip_output.cip_loopback(dev,skb);
skb968net/ipv4/ip_output.cif(skb->ip_hdr->ttl==0)
skb969net/ipv4/ip_output.ckfree_skb(skb, FREE_READ);
skb980net/ipv4/ip_output.cip_loopback(dev,skb);
skb988net/ipv4/ip_output.cdev_queue_xmit(skb, dev, sk->priority);
skb999net/ipv4/ip_output.ckfree_skb(skb, FREE_WRITE);
skb1038net/ipv4/ip_output.cstruct sk_buff *skb=alloc_skb(sizeof(struct netlink_rtinfo), GFP_ATOMIC);
skb1041net/ipv4/ip_output.cif(skb==NULL)
skb1043net/ipv4/ip_output.cnrt=(struct netlink_rtinfo *)skb_put(skb, sizeof(struct netlink_rtinfo));
skb1057net/ipv4/ip_output.cnetlink_post(NETLINK_ROUTE, skb);
skb52net/ipv4/ipip.cint ipip_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, 
skb68net/ipv4/ipip.cskb_pull(skb, ((struct iphdr *)skb->data)->ihl<<2);
skb74net/ipv4/ipip.cskb->h.iph=(struct iphdr *)skb->data;
skb75net/ipv4/ipip.cskb->ip_hdr=(struct iphdr *)skb->data;
skb76net/ipv4/ipip.cmemset(skb->proto_priv, 0, sizeof(struct options));
skb77net/ipv4/ipip.cif (skb->ip_hdr->ihl > 5) 
skb79net/ipv4/ipip.cif (ip_options_compile(NULL, skb))
skb88net/ipv4/ipip.cif((err=call_in_firewall(PF_INET, skb, skb->ip_hdr))<FW_ACCEPT)
skb91net/ipv4/ipip.cicmp_send(skb,ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0 , dev);
skb92net/ipv4/ipip.ckfree_skb(skb, FREE_READ);
skb108net/ipv4/ipip.cif(ip_forward(skb, dev, 0, daddr))
skb109net/ipv4/ipip.ckfree_skb(skb, FREE_READ);
skb98net/ipv4/ipmr.cstruct sk_buff *skb;
skb139net/ipv4/ipmr.cwhile((skb=skb_dequeue(&cache->mfc_unresolved)))
skb140net/ipv4/ipmr.ckfree_skb(skb, FREE_WRITE);
skb215net/ipv4/ipmr.cstruct sk_buff *skb;
skb243net/ipv4/ipmr.cwhile((skb=skb_dequeue(&cache->mfc_unresolved)))
skb244net/ipv4/ipmr.cipmr_forward(skb, skb->protocol);
skb254net/ipv4/ipmr.cstruct sk_buff *skb=alloc_skb(128, GFP_ATOMIC);
skb257net/ipv4/ipmr.cif(!skb)
skb260net/ipv4/ipmr.cskb->free=1;
skb266net/ipv4/ipmr.cskb->ip_hdr=(struct iphdr *)skb_put(skb,ihl);
skb267net/ipv4/ipmr.cskb->h.iph=skb->ip_hdr;
skb268net/ipv4/ipmr.cmemcpy(skb->data,pkt->data,ihl);
skb269net/ipv4/ipmr.cskb->ip_hdr->protocol = 0;      /* Flag to the kernel this is a route add */
skb275net/ipv4/ipmr.cigmp=(struct igmphdr *)skb_put(skb,sizeof(struct igmphdr));
skb278net/ipv4/ipmr.cskb->ip_hdr->tot_len=htons(skb->len);      /* Fix the length */
skb283net/ipv4/ipmr.cif(sock_queue_rcv_skb(mroute_socket,skb)<0)
skb285net/ipv4/ipmr.cskb->sk=NULL;
skb286net/ipv4/ipmr.ckfree_skb(skb, FREE_READ);
skb295net/ipv4/ipmr.cstatic void ipmr_cache_unresolved(struct mfc_cache *cache, vifi_t vifi, struct sk_buff *skb, int is_frag)
skb304net/ipv4/ipmr.ckfree_skb(skb, FREE_WRITE);
skb311net/ipv4/ipmr.ccache->mfc_origin=skb->ip_hdr->saddr;
skb312net/ipv4/ipmr.ccache->mfc_mcastgrp=skb->ip_hdr->daddr;
skb329net/ipv4/ipmr.cipmr_cache_report(skb);
skb336net/ipv4/ipmr.ckfree_skb(skb, FREE_WRITE);
skb344net/ipv4/ipmr.cskb->protocol=is_frag;
skb345net/ipv4/ipmr.cskb_queue_tail(&cache->mfc_unresolved,skb);
skb701net/ipv4/ipmr.cstatic void ipmr_queue_xmit(struct sk_buff *skb, struct vif_device *vif, struct device *in_dev, int frag)
skb704net/ipv4/ipmr.c__u32 raddr=skb->raddr;
skb711net/ipv4/ipmr.cvif->bytes_out+=skb->len;
skb712net/ipv4/ipmr.cskb->dev=vif->dev;
skb713net/ipv4/ipmr.cskb->raddr=skb->h.iph->daddr;
skb714net/ipv4/ipmr.cif(ip_forward(skb, in_dev, frag|8|tunnel, raddr)==-1)
skb715net/ipv4/ipmr.ckfree_skb(skb, FREE_WRITE);
skb722net/ipv4/ipmr.cvoid ipmr_forward(struct sk_buff *skb, int is_frag)
skb727net/ipv4/ipmr.cint vif=ipmr_vifi_find(skb->dev);
skb730net/ipv4/ipmr.ckfree_skb(skb, FREE_WRITE);
skb735net/ipv4/ipmr.cvif_table[vif].bytes_in+=skb->len;
skb737net/ipv4/ipmr.ccache=ipmr_cache_find(skb->ip_hdr->saddr,skb->ip_hdr->daddr);
skb744net/ipv4/ipmr.cipmr_cache_unresolved(cache,vif,skb, is_frag);
skb756net/ipv4/ipmr.cif(skb->ip_hdr->ttl > cache->mfc_ttls[ct] && cache->mfc_ttls[ct]>0)
skb760net/ipv4/ipmr.cskb2=skb_clone(skb, GFP_ATOMIC);
skb764net/ipv4/ipmr.cipmr_queue_xmit(skb2, &vif_table[psend], skb->dev, is_frag);
skb772net/ipv4/ipmr.ckfree_skb(skb, FREE_WRITE);
skb775net/ipv4/ipmr.cipmr_queue_xmit(skb, &vif_table[psend], skb->dev, is_frag);
skb74net/ipv4/packet.cint packet_rcv(struct sk_buff *skb, struct device *dev,  struct packet_type *pt)
skb90net/ipv4/packet.cskb_push(skb,skb->data-skb->mac.raw);
skb96net/ipv4/packet.cskb->dev = dev;
skb103net/ipv4/packet.cif(sock_queue_rcv_skb(sk,skb)<0)
skb105net/ipv4/packet.cskb->sk = NULL;
skb106net/ipv4/packet.ckfree_skb(skb, FREE_READ);
skb126net/ipv4/packet.cstruct sk_buff *skb;
skb168net/ipv4/packet.cskb = sock_wmalloc(sk, len, 0, GFP_KERNEL);
skb176net/ipv4/packet.cif (skb == NULL) 
skb185net/ipv4/packet.cskb->sk = sk;
skb186net/ipv4/packet.cskb->free = 1;
skb187net/ipv4/packet.cmemcpy_fromiovec(skb_put(skb,len), msg->msg_iov, len);
skb188net/ipv4/packet.cskb->arp = 1;    /* No ARP needs doing on this (complete) frame */
skb195net/ipv4/packet.cdev_queue_xmit(skb, dev, sk->priority);
skb197net/ipv4/packet.ckfree_skb(skb, FREE_WRITE);
skb383net/ipv4/packet.cstruct sk_buff *skb;
skb411net/ipv4/packet.cskb=skb_recv_datagram(sk,flags,noblock,&err);
skb419net/ipv4/packet.cif(skb==NULL)
skb427net/ipv4/packet.ccopied = min(len, skb->len);
skb429net/ipv4/packet.cmemcpy_toiovec(msg->msg_iov, skb->data, copied);  /* We can't use skb_copy_datagram here */
skb430net/ipv4/packet.csk->stamp=skb->stamp;
skb438net/ipv4/packet.csaddr->sa_family = skb->dev->type;
skb439net/ipv4/packet.cmemcpy(saddr->sa_data,skb->dev->name, 14);
skb447net/ipv4/packet.cskb_free_datagram(skb);
skb193net/ipv4/rarp.cstatic int rarp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb198net/ipv4/rarp.cstruct arphdr *rarp = (struct arphdr *) skb->data;
skb199net/ipv4/rarp.cunsigned char *rarp_ptr = skb_pull(skb,sizeof(struct arphdr));
skb211net/ipv4/rarp.ckfree_skb(skb, FREE_READ);
skb220net/ipv4/rarp.ckfree_skb(skb, FREE_READ);
skb238net/ipv4/rarp.ckfree_skb(skb, FREE_READ);
skb274net/ipv4/rarp.ckfree_skb(skb, FREE_READ);
skb119net/ipv4/raw.cint raw_rcv(struct sock *sk, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr)
skb122net/ipv4/raw.cskb->sk = sk;
skb123net/ipv4/raw.cskb_trim(skb,ntohs(skb->ip_hdr->tot_len));
skb125net/ipv4/raw.cskb->h.raw = (unsigned char *) skb->ip_hdr;
skb126net/ipv4/raw.cskb->dev = dev;
skb127net/ipv4/raw.cskb->saddr = daddr;
skb128net/ipv4/raw.cskb->daddr = saddr;
skb137net/ipv4/raw.cskb->ip_hdr->tot_len=ntohs(skb->ip_hdr->tot_len-4*skb->ip_hdr->ihl);
skb142net/ipv4/raw.cif(sock_queue_rcv_skb(sk,skb)<0)
skb145net/ipv4/raw.cskb->sk=NULL;
skb146net/ipv4/raw.ckfree_skb(skb, FREE_READ);
skb317net/ipv4/raw.cstruct sk_buff *skb;
skb330net/ipv4/raw.cskb=skb_recv_datagram(sk,flags,noblock,&err);
skb331net/ipv4/raw.cif(skb==NULL)
skb334net/ipv4/raw.ccopied = min(len, skb->len);
skb336net/ipv4/raw.cskb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied);
skb337net/ipv4/raw.csk->stamp=skb->stamp;
skb343net/ipv4/raw.csin->sin_addr.s_addr = skb->daddr;
skb345net/ipv4/raw.cskb_free_datagram(skb);
skb584net/ipv4/tcp.cstruct sk_buff *skb;
skb588net/ipv4/tcp.cskb=tcp_find_established(s);
skb589net/ipv4/tcp.cif(skb!=NULL)
skb590net/ipv4/tcp.cskb_unlink(skb);  /* Take it off the queue */
skb592net/ipv4/tcp.creturn skb;
skb603net/ipv4/tcp.cstruct sk_buff *skb;
skb605net/ipv4/tcp.cwhile ((skb = skb_dequeue(&sk->receive_queue)) != NULL) 
skb607net/ipv4/tcp.cskb->sk->dead=1;
skb608net/ipv4/tcp.ctcp_close(skb->sk, 0);
skb609net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb634net/ipv4/tcp.cstruct sk_buff * skb;
skb641net/ipv4/tcp.cskb = sk->send_head;
skb643net/ipv4/tcp.cwhile (skb != NULL)
skb649net/ipv4/tcp.cdev = skb->dev;
skb650net/ipv4/tcp.cIS_SKB(skb);
skb651net/ipv4/tcp.cskb->when = jiffies;
skb657net/ipv4/tcp.cskb_pull(skb,((unsigned char *)skb->ip_hdr)-skb->data);
skb668net/ipv4/tcp.ciph = (struct iphdr *)skb->data;
skb684net/ipv4/tcp.cstruct options *  opt = (struct options*)skb->proto_priv;
skb685net/ipv4/tcp.crt = ip_check_route(&sk->ip_route_cache, opt->srr?opt->faddr:iph->daddr, skb->localroute);
skb697net/ipv4/tcp.cif(skb->sk)
skb699net/ipv4/tcp.cskb->sk->err_soft=ENETUNREACH;
skb700net/ipv4/tcp.cskb->sk->error_report(skb->sk);
skb706net/ipv4/tcp.cskb->raddr=rt->rt_gateway;
skb707net/ipv4/tcp.cskb->dev=dev;
skb708net/ipv4/tcp.cskb->arp=1;
skb711net/ipv4/tcp.cmemcpy(skb_push(skb,dev->hard_header_len),rt->rt_hh->hh_data,dev->hard_header_len);
skb714net/ipv4/tcp.cskb->arp = 0;
skb722net/ipv4/tcp.cif(dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, skb->len)<0)
skb723net/ipv4/tcp.cskb->arp=0;
skb755net/ipv4/tcp.cif (sk && !skb_device_locked(skb))
skb758net/ipv4/tcp.cskb_unlink(skb);
skb761net/ipv4/tcp.cdev_queue_xmit(skb, dev, sk->priority);
skb789net/ipv4/tcp.cskb = skb->link3;
skb1004net/ipv4/tcp.cstruct sk_buff *skb;
skb1009net/ipv4/tcp.cskb = sk->send_head;
skb1010net/ipv4/tcp.cif (!skb) 
skb1020net/ipv4/tcp.cif (jiffies < skb->when + sk->rto) 
skb1022net/ipv4/tcp.creset_xmit_timer (sk, TIME_WRITE, skb->when + sk->rto - jiffies);
skb1159net/ipv4/tcp.cstruct sk_buff *skb;
skb1168net/ipv4/tcp.cif (sk == NULL || (skb = skb_peek(&sk->receive_queue)) == NULL)
skb1185net/ipv4/tcp.cif (before(counted, skb->seq))     /* Found a hole so stops here */
skb1187net/ipv4/tcp.csum = skb->len - (counted - skb->seq);  /* Length - header but start from where we are up to (avoid overlaps) */
skb1188net/ipv4/tcp.cif (skb->h.th->syn)
skb1193net/ipv4/tcp.cif (skb->h.th->syn) 
skb1213net/ipv4/tcp.cif (skb->h.th->urg)
skb1215net/ipv4/tcp.cif (amount && skb->h.th->psh) break;
skb1216net/ipv4/tcp.cskb = skb->next;
skb1218net/ipv4/tcp.cwhile(skb != (struct sk_buff *)&sk->receive_queue);
skb1383net/ipv4/tcp.cstatic void tcp_send_skb(struct sock *sk, struct sk_buff *skb)
skb1386net/ipv4/tcp.cstruct tcphdr * th = skb->h.th;
skb1392net/ipv4/tcp.csize = skb->len - ((unsigned char *) th - skb->data);
skb1398net/ipv4/tcp.cif (size < sizeof(struct tcphdr) || size > skb->len) 
skb1401net/ipv4/tcp.cskb, skb->data, th, skb->len);
skb1402net/ipv4/tcp.ckfree_skb(skb, FREE_WRITE);
skb1417net/ipv4/tcp.ckfree_skb(skb,FREE_WRITE);
skb1427net/ipv4/tcp.cskb->seq = ntohl(th->seq);
skb1428net/ipv4/tcp.cskb->end_seq = skb->seq + size - 4*th->doff;
skb1438net/ipv4/tcp.cif (after(skb->end_seq, sk->window_seq) ||
skb1445net/ipv4/tcp.cif (skb->next != NULL) 
skb1448net/ipv4/tcp.cskb_unlink(skb);
skb1450net/ipv4/tcp.cskb_queue_tail(&sk->write_queue, skb);
skb1482net/ipv4/tcp.csk->prot->queue_xmit(sk, skb->dev, skb, 0);
skb1505net/ipv4/tcp.cstruct sk_buff * skb;
skb1510net/ipv4/tcp.cskb = sk->partial;
skb1511net/ipv4/tcp.cif (skb) {
skb1516net/ipv4/tcp.creturn skb;
skb1525net/ipv4/tcp.cstruct sk_buff *skb;
skb1529net/ipv4/tcp.cwhile ((skb = tcp_dequeue_partial(sk)) != NULL)
skb1530net/ipv4/tcp.ctcp_send_skb(sk, skb);
skb1537net/ipv4/tcp.cvoid tcp_enqueue_partial(struct sk_buff * skb, struct sock * sk)
skb1547net/ipv4/tcp.csk->partial = skb;
skb1714net/ipv4/tcp.cstruct sk_buff *skb;
skb1866net/ipv4/tcp.cif ((skb = tcp_dequeue_partial(sk)) != NULL) 
skb1871net/ipv4/tcp.chdrlen = ((unsigned long)skb->h.th - (unsigned long)skb->data)
skb1877net/ipv4/tcp.ccopy = min(sk->mss - (skb->len - hdrlen), seglen);
skb1883net/ipv4/tcp.cmemcpy_fromfs(skb_put(skb,copy), from, copy);
skb1890net/ipv4/tcp.cif ((skb->len - hdrlen) >= sk->mss ||
skb1892net/ipv4/tcp.ctcp_send_skb(sk, skb);
skb1894net/ipv4/tcp.ctcp_enqueue_partial(skb, sk);
skb1931net/ipv4/tcp.cskb = sock_wmalloc(sk, sk->mtu + 128 + prot->max_header + 15, 0, GFP_KERNEL);
skb1933net/ipv4/tcp.csend_tmp = skb;
skb1941net/ipv4/tcp.cskb = sock_wmalloc(sk, copy + prot->max_header + 15 , 0, GFP_KERNEL);
skb1949net/ipv4/tcp.cif (skb == NULL) 
skb1989net/ipv4/tcp.cskb->sk = sk;
skb1990net/ipv4/tcp.cskb->free = 0;
skb1991net/ipv4/tcp.cskb->localroute = sk->localroute|(flags&MSG_DONTROUTE);
skb1998net/ipv4/tcp.ctmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev,
skb1999net/ipv4/tcp.cIPPROTO_TCP, sk->opt, skb->truesize,sk->ip_tos,sk->ip_ttl,&sk->ip_route_cache);
skb2002net/ipv4/tcp.csock_wfree(sk, skb);
skb2009net/ipv4/tcp.cskb->ip_hdr->frag_off |= htons(IP_DF);
skb2011net/ipv4/tcp.cskb->dev = dev;
skb2012net/ipv4/tcp.cskb->h.th =(struct tcphdr *)skb_put(skb,sizeof(struct tcphdr));
skb2013net/ipv4/tcp.ctmp = tcp_build_header(skb->h.th, sk, seglen-copy);
skb2016net/ipv4/tcp.csock_wfree(sk, skb);
skb2025net/ipv4/tcp.cskb->h.th->urg = 1;
skb2026net/ipv4/tcp.cskb->h.th->urg_ptr = ntohs(copy);
skb2029net/ipv4/tcp.cmemcpy_fromfs(skb_put(skb,copy), from, copy);
skb2035net/ipv4/tcp.cskb->free = 0;
skb2043net/ipv4/tcp.ctcp_send_skb(sk, skb);
skb2160net/ipv4/tcp.cstruct sk_buff *skb;
skb2176net/ipv4/tcp.cwhile((skb=skb_peek(&sk->receive_queue)) != NULL) 
skb2178net/ipv4/tcp.cif (!skb->used || skb->users) 
skb2180net/ipv4/tcp.cskb_unlink(skb);
skb2181net/ipv4/tcp.cskb->sk = sk;
skb2182net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb2345net/ipv4/tcp.cstruct sk_buff * skb;
skb2361net/ipv4/tcp.cskb = skb_peek(&sk->receive_queue);
skb2364net/ipv4/tcp.cif (!skb)
skb2366net/ipv4/tcp.cif (before(*seq, skb->seq))
skb2368net/ipv4/tcp.coffset = *seq - skb->seq;
skb2369net/ipv4/tcp.cif (skb->h.th->syn)
skb2371net/ipv4/tcp.cif (offset < skb->len)
skb2373net/ipv4/tcp.cif (skb->h.th->fin)
skb2376net/ipv4/tcp.cskb->used = 1;
skb2377net/ipv4/tcp.cskb = skb->next;
skb2379net/ipv4/tcp.cwhile (skb != (struct sk_buff *)&sk->receive_queue);
skb2435net/ipv4/tcp.cskb->users++;
skb2441net/ipv4/tcp.cused = skb->len - offset;
skb2480net/ipv4/tcp.cmemcpy_toiovec(msg->msg_iov,((unsigned char *)skb->h.th) +
skb2481net/ipv4/tcp.cskb->h.th->doff*4 + offset, used);
skb2491net/ipv4/tcp.cskb->users --;
skb2495net/ipv4/tcp.cif (used + offset < skb->len)
skb2502net/ipv4/tcp.cif (skb->h.th->fin)
skb2506net/ipv4/tcp.cskb->used = 1;
skb2518net/ipv4/tcp.cskb->used = 1;
skb2939net/ipv4/tcp.cstatic void tcp_conn_request(struct sock *sk, struct sk_buff *skb,
skb2952net/ipv4/tcp.cth = skb->h.th;
skb2965net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb2977net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb2994net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb3006net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb3009net/ipv4/tcp.cif (ip_options_echo(sk->opt, opt, daddr, saddr, skb)) {
skb3013net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb3045net/ipv4/tcp.cnewsk->acked_seq = skb->seq+1;
skb3046net/ipv4/tcp.cnewsk->copied_seq = skb->seq+1;
skb3047net/ipv4/tcp.cnewsk->fin_seq = skb->seq;
skb3064net/ipv4/tcp.cnewsk->dummy_th.source = skb->h.th->dest;
skb3065net/ipv4/tcp.cnewsk->dummy_th.dest = skb->h.th->source;
skb3085net/ipv4/tcp.cnewsk->acked_seq = skb->seq + 1;
skb3086net/ipv4/tcp.cnewsk->copied_seq = skb->seq + 1;
skb3094net/ipv4/tcp.cnewsk->ip_tos=skb->ip_hdr->tos;
skb3143net/ipv4/tcp.ctcp_options(newsk,skb->h.th);
skb3155net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb3182net/ipv4/tcp.cskb->sk = sk;
skb3183net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb3190net/ipv4/tcp.cmemcpy(t1, skb->h.th, sizeof(*t1));
skb3196net/ipv4/tcp.ct1->dest = skb->h.th->source;
skb3220net/ipv4/tcp.cskb->sk = newsk;
skb3226net/ipv4/tcp.csk->rmem_alloc -= skb->truesize;
skb3227net/ipv4/tcp.cnewsk->rmem_alloc += skb->truesize;
skb3229net/ipv4/tcp.cskb_queue_tail(&sk->receive_queue,skb);
skb3264net/ipv4/tcp.cstruct sk_buff *skb;
skb3272net/ipv4/tcp.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL)
skb3273net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb3311net/ipv4/tcp.cstruct sk_buff *skb;
skb3329net/ipv4/tcp.cwhile((skb = skb_peek(&sk->write_queue)) != NULL &&
skb3330net/ipv4/tcp.cbefore(skb->end_seq, sk->window_seq + 1) &&
skb3333net/ipv4/tcp.cbefore(skb->end_seq, sk->rcv_ack_seq + 1))
skb3336net/ipv4/tcp.cIS_SKB(skb);
skb3337net/ipv4/tcp.cskb_unlink(skb);
skb3343net/ipv4/tcp.cif (before(skb->end_seq, sk->rcv_ack_seq +1)) 
skb3351net/ipv4/tcp.ckfree_skb(skb, FREE_WRITE);
skb3367net/ipv4/tcp.ciph = skb->ip_hdr;
skb3369net/ipv4/tcp.csize = skb->len - (((unsigned char *) th) - skb->data);
skb3383net/ipv4/tcp.csk->sent_seq = skb->end_seq;
skb3389net/ipv4/tcp.csk->prot->queue_xmit(sk, skb->dev, skb, skb->free);
skb3497net/ipv4/tcp.cstruct sk_buff *skb;
skb3516net/ipv4/tcp.cskb = skb2;
skb3517net/ipv4/tcp.cskb2 = skb->link3;
skb3518net/ipv4/tcp.cskb->link3 = NULL;
skb3519net/ipv4/tcp.cif (after(skb->end_seq, sk->window_seq)) 
skb3524net/ipv4/tcp.cif (skb->next != NULL) 
skb3526net/ipv4/tcp.cskb_unlink(skb);        
skb3530net/ipv4/tcp.cskb_queue_head(&sk->write_queue,skb);
skb3532net/ipv4/tcp.cskb_append(wskb,skb);
skb3533net/ipv4/tcp.cwskb = skb;
skb3539net/ipv4/tcp.csk->send_head = skb;
skb3540net/ipv4/tcp.csk->send_tail = skb;
skb3544net/ipv4/tcp.csk->send_tail->link3 = skb;
skb3545net/ipv4/tcp.csk->send_tail = skb;
skb3547net/ipv4/tcp.cskb->link3 = NULL;
skb4016net/ipv4/tcp.cstatic int tcp_fin(struct sk_buff *skb, struct sock *sk, struct tcphdr *th)
skb4018net/ipv4/tcp.csk->fin_seq = skb->end_seq;
skb4103net/ipv4/tcp.cextern __inline__ int tcp_data(struct sk_buff *skb, struct sock *sk, 
skb4111net/ipv4/tcp.cth = skb->h.th;
skb4112net/ipv4/tcp.cskb_pull(skb,th->doff*4);
skb4113net/ipv4/tcp.cskb_trim(skb,len-(th->doff*4));
skb4120net/ipv4/tcp.csk->bytes_rcv += skb->len;
skb4122net/ipv4/tcp.cif (skb->len == 0 && !th->fin) 
skb4130net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4149net/ipv4/tcp.cif(skb->len)  /* We don't care if it's just an ack or
skb4152net/ipv4/tcp.cnew_seq = skb->seq + skb->len + th->syn;  /* Right edge of _data_ part of frame */
skb4175net/ipv4/tcp.ctcp_reset(sk->saddr, sk->daddr, skb->h.th,
skb4176net/ipv4/tcp.csk->prot, NULL, skb->dev, sk->ip_tos, sk->ip_ttl);
skb4182net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4205net/ipv4/tcp.cskb_queue_head(&sk->receive_queue,skb);
skb4216net/ipv4/tcp.cprintk("skb->seq = %d\n",skb->seq);
skb4229net/ipv4/tcp.cif (skb->seq==skb1->seq && skb->len>=skb1->len)
skb4231net/ipv4/tcp.cskb_append(skb1,skb);
skb4243net/ipv4/tcp.cif (after(skb->seq+1, skb1->seq))
skb4245net/ipv4/tcp.cskb_append(skb1,skb);
skb4254net/ipv4/tcp.cskb_queue_head(&sk->receive_queue, skb);
skb4276net/ipv4/tcp.cif ((!dup_dumped && (skb1 == NULL || skb1->acked)) || before(skb->seq, sk->acked_seq+1)) 
skb4278net/ipv4/tcp.cif (before(skb->seq, sk->acked_seq+1)) 
skb4282net/ipv4/tcp.cif (after(skb->end_seq, sk->acked_seq)) 
skb4284net/ipv4/tcp.cnewwindow = sk->window - (skb->end_seq - sk->acked_seq);
skb4288net/ipv4/tcp.csk->acked_seq = skb->end_seq;
skb4290net/ipv4/tcp.cskb->acked = 1;
skb4297net/ipv4/tcp.cif (skb->h.th->fin) 
skb4299net/ipv4/tcp.ctcp_fin(skb,sk,skb->h.th);
skb4302net/ipv4/tcp.cfor(skb2 = skb->next;
skb4324net/ipv4/tcp.ctcp_fin(skb,sk,skb->h.th);
skb4363net/ipv4/tcp.cif (!skb->acked) 
skb4501net/ipv4/tcp.cstruct sk_buff *skb;
skb4518net/ipv4/tcp.cwhile((skb = tcp_dequeue_established(sk)) == NULL) 
skb4544net/ipv4/tcp.cnewsk = skb->sk;
skb4546net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4786net/ipv4/tcp.cstatic int tcp_std_reset(struct sock *sk, struct sk_buff *skb)
skb4809net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4819net/ipv4/tcp.cint tcp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb4828net/ipv4/tcp.cif(skb->pkt_type!=PACKET_HOST)
skb4830net/ipv4/tcp.ckfree_skb(skb,FREE_READ);
skb4834net/ipv4/tcp.cth = skb->h.th;
skb4876net/ipv4/tcp.cskb_pull(skb, skb->h.raw-skb->data);
skb4881net/ipv4/tcp.c(skb->ip_summed && tcp_check(th, len, saddr, daddr, skb->csum ))||
skb4882net/ipv4/tcp.c(!skb->ip_summed && tcp_check(th, len, saddr, daddr, csum_partial((char *)th, len, 0)))
skb4885net/ipv4/tcp.cskb->sk = NULL;
skb4886net/ipv4/tcp.ckfree_skb(skb,FREE_READ);
skb4894net/ipv4/tcp.cskb->seq = ntohl(th->seq);
skb4895net/ipv4/tcp.cskb->end_seq = skb->seq + th->syn + th->fin + len - th->doff*4;
skb4896net/ipv4/tcp.cskb->ack_seq = ntohl(th->ack_seq);
skb4904net/ipv4/tcp.ctcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255);
skb4905net/ipv4/tcp.cskb->sk = NULL;
skb4909net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4913net/ipv4/tcp.cskb->acked = 0;
skb4914net/ipv4/tcp.cskb->used = 0;
skb4915net/ipv4/tcp.cskb->free = 0;
skb4916net/ipv4/tcp.cskb->saddr = daddr;
skb4917net/ipv4/tcp.cskb->daddr = saddr;
skb4923net/ipv4/tcp.cskb_queue_tail(&sk->back_log, skb);
skb4934net/ipv4/tcp.ctcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255);
skb4935net/ipv4/tcp.cskb->sk = NULL;
skb4936net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4953net/ipv4/tcp.cskb->sk=sk;
skb4954net/ipv4/tcp.csk->rmem_alloc += skb->truesize;
skb4984net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4993net/ipv4/tcp.ctcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq());
skb5009net/ipv4/tcp.cif (sk->state == TCP_SYN_RECV && th->syn && skb->seq+1 == sk->acked_seq)
skb5011net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5034net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5039net/ipv4/tcp.creturn tcp_std_reset(sk,skb);
skb5044net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5053net/ipv4/tcp.csk->acked_seq = skb->seq+1;
skb5054net/ipv4/tcp.csk->fin_seq = skb->seq;
skb5083net/ipv4/tcp.creturn tcp_std_reset(sk,skb);
skb5093net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5112net/ipv4/tcp.cafter(skb->seq, sk->acked_seq) && !th->rst)
skb5118net/ipv4/tcp.csk->rmem_alloc -= skb->truesize;
skb5119net/ipv4/tcp.cskb->sk = NULL;
skb5128net/ipv4/tcp.cskb->sk = sk;
skb5129net/ipv4/tcp.csk->rmem_alloc += skb->truesize;
skb5130net/ipv4/tcp.ctcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000);
skb5134net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5148net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5154net/ipv4/tcp.creturn tcp_std_reset(sk,skb);
skb5162net/ipv4/tcp.ctcp_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255);
skb5163net/ipv4/tcp.creturn tcp_std_reset(sk,skb);  
skb5181net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5196net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5208net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5217net/ipv4/tcp.cif(tcp_data(skb,sk, saddr, len))
skb5219net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5239net/ipv4/tcp.cstruct sk_buff *buff,*skb;
skb5263net/ipv4/tcp.c(skb=skb_peek(&sk->write_queue)))
skb5290net/ipv4/tcp.ciph = (struct iphdr *)skb->ip_hdr;
skb138net/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);
skb465net/ipv4/udp.cstruct sk_buff *skb;
skb470net/ipv4/udp.cskb = skb_peek(&sk->receive_queue);
skb471net/ipv4/udp.cif (skb != NULL) {
skb477net/ipv4/udp.camount = skb->len;
skb504net/ipv4/udp.cstruct sk_buff *skb;
skb520net/ipv4/udp.cskb=skb_recv_datagram(sk,flags,noblock,&er);
skb521net/ipv4/udp.cif(skb==NULL)
skb524net/ipv4/udp.ctruesize = skb->len - sizeof(struct udphdr);
skb531net/ipv4/udp.cskb_copy_datagram_iovec(skb,sizeof(struct udphdr),msg->msg_iov,copied);
skb532net/ipv4/udp.csk->stamp=skb->stamp;
skb538net/ipv4/udp.csin->sin_port = skb->h.uh->source;
skb539net/ipv4/udp.csin->sin_addr.s_addr = skb->daddr;
skb542net/ipv4/udp.cskb_free_datagram(skb);
skb594net/ipv4/udp.cint udp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb610net/ipv4/udp.cuh = (struct udphdr *) skb->h.uh;
skb624net/ipv4/udp.ckfree_skb(skb, FREE_WRITE);
skb636net/ipv4/udp.c( skb->ip_summed && udp_check(uh, len, saddr, daddr, skb->csum ) ) ||
skb637net/ipv4/udp.c( !skb->ip_summed && udp_check(uh, len, saddr, daddr,csum_partial((char*)uh, len, 0)))
skb652net/ipv4/udp.ckfree_skb(skb, FREE_WRITE);
skb676net/ipv4/udp.cskb1=skb_clone(skb,GFP_ATOMIC);
skb678net/ipv4/udp.cskb1=skb;
skb686net/ipv4/udp.ckfree_skb(skb, FREE_READ);
skb707net/ipv4/udp.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0, dev);
skb713net/ipv4/udp.cskb->sk = NULL;
skb714net/ipv4/udp.ckfree_skb(skb, FREE_WRITE);
skb717net/ipv4/udp.creturn udp_deliver(sk,uh,skb,dev, saddr, daddr, len);
skb720net/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)
skb722net/ipv4/udp.cskb->sk = sk;
skb723net/ipv4/udp.cskb->dev = dev;
skb724net/ipv4/udp.cskb_trim(skb,len);
skb730net/ipv4/udp.cskb->daddr = saddr;
skb731net/ipv4/udp.cskb->saddr = daddr;
skb741net/ipv4/udp.cif (sock_queue_rcv_skb(sk,skb)<0) 
skb746net/ipv4/udp.cskb->sk = NULL;
skb747net/ipv4/udp.ckfree_skb(skb, FREE_WRITE);
skb180net/ipx/af_ipx.cstruct sk_buff  *skb;
skb183net/ipx/af_ipx.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL) {
skb184net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb327net/ipx/af_ipx.cstatic int ipxitf_def_skb_handler(struct sock *sock, struct sk_buff *skb)
skb331net/ipx/af_ipx.cif((retval = sock_queue_rcv_skb(sock, skb))<0) 
skb341net/ipx/af_ipx.ckfree_skb(skb,FREE_WRITE);
skb352net/ipx/af_ipx.cstatic int ipxitf_demux_socket(ipx_interface *intrfc, struct sk_buff *skb, int copy) 
skb354net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *)(skb->h.raw);
skb397net/ipx/af_ipx.ckfree_skb(skb,FREE_WRITE);
skb411net/ipx/af_ipx.cskb1 = skb_clone(skb, GFP_ATOMIC);
skb417net/ipx/af_ipx.cskb1 = skb;
skb449net/ipx/af_ipx.cipxitf_adjust_skbuff(ipx_interface *intrfc, struct sk_buff *skb)
skb452net/ipx/af_ipx.cint  in_offset = skb->h.raw - skb->head;
skb458net/ipx/af_ipx.cskb->arp = skb->free = 1;
skb459net/ipx/af_ipx.creturn skb;
skb463net/ipx/af_ipx.clen = skb->len + out_offset;
skb467net/ipx/af_ipx.cskb2->h.raw=skb_put(skb2,skb->len);
skb470net/ipx/af_ipx.cmemcpy(skb2->h.raw, skb->h.raw, skb->len);
skb472net/ipx/af_ipx.ckfree_skb(skb, FREE_WRITE);
skb476net/ipx/af_ipx.cstatic int ipxitf_send(ipx_interface *intrfc, struct sk_buff *skb, char *node)
skb478net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *)(skb->h.raw);
skb510net/ipx/af_ipx.cif(skb->sk)
skb511net/ipx/af_ipx.cskb->sk->wmem_alloc-=skb->truesize;
skb515net/ipx/af_ipx.creturn ipxitf_demux_socket(intrfc, skb, 0);
skb522net/ipx/af_ipx.cif (!send_to_wire && skb->sk)
skb523net/ipx/af_ipx.cskb->sk->wmem_alloc-=skb->truesize;
skb524net/ipx/af_ipx.cipxitf_demux_socket(intrfc, skb, send_to_wire);
skb552net/ipx/af_ipx.ckfree_skb(skb,FREE_WRITE);
skb570net/ipx/af_ipx.cskb = ipxitf_adjust_skbuff(intrfc, skb);
skb571net/ipx/af_ipx.cif (skb == NULL) 
skb575net/ipx/af_ipx.cskb->dev = dev;
skb576net/ipx/af_ipx.cskb->protocol = htons(ETH_P_IPX);
skb577net/ipx/af_ipx.cdl->datalink_header(dl, skb, dest_node);
skb583net/ipx/af_ipx.cdump_pkt("IPX snd:", (ipx_packet *)skb->h.raw);
skb584net/ipx/af_ipx.cdump_data("ETH hdr:", skb->data, skb->h.raw - skb->data);
skb591net/ipx/af_ipx.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb606net/ipx/af_ipx.cstatic int ipxitf_rcv(ipx_interface *intrfc, struct sk_buff *skb)
skb608net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *) (skb->h.raw);
skb616net/ipx/af_ipx.cif (call_in_firewall(PF_IPX, skb, ipx)!=FW_ACCEPT)
skb618net/ipx/af_ipx.ckfree_skb(skb, FREE_READ);
skb660net/ipx/af_ipx.cif (call_fw_firewall(PF_IPX, skb, ipx)!=FW_ACCEPT)
skb662net/ipx/af_ipx.ckfree_skb(skb, FREE_READ);
skb667net/ipx/af_ipx.cif ((skb->pkt_type != PACKET_BROADCAST) &&
skb668net/ipx/af_ipx.c(skb->pkt_type != PACKET_MULTICAST))
skb669net/ipx/af_ipx.creturn ipxrtr_route_skb(skb);
skb671net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb679net/ipx/af_ipx.creturn ipxitf_demux_socket(intrfc, skb, 0);
skb683net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1068net/ipx/af_ipx.cstruct sk_buff *skb;
skb1095net/ipx/af_ipx.cskb=sock_alloc_send_skb(sk, size, 0, 0, &err);
skb1096net/ipx/af_ipx.cif(skb==NULL)
skb1099net/ipx/af_ipx.cskb_reserve(skb,ipx_offset);
skb1100net/ipx/af_ipx.cskb->free=1;
skb1101net/ipx/af_ipx.cskb->arp=1;
skb1102net/ipx/af_ipx.cskb->sk=sk;
skb1105net/ipx/af_ipx.cipx=(ipx_packet *)skb_put(skb,sizeof(ipx_packet));
skb1110net/ipx/af_ipx.cskb->h.raw = (unsigned char *)ipx;
skb1119net/ipx/af_ipx.cmemcpy_fromiovec(skb_put(skb,len),iov,len);
skb1122net/ipx/af_ipx.cif(call_out_firewall(PF_IPX, skb, ipx)!=FW_ACCEPT)
skb1124net/ipx/af_ipx.ckfree_skb(skb, FREE_WRITE);
skb1129net/ipx/af_ipx.creturn ipxitf_send(intrfc, skb, (rt && rt->ir_routed) ? 
skb1134net/ipx/af_ipx.cipxrtr_route_skb(struct sk_buff *skb)
skb1136net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *) (skb->h.raw);
skb1143net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1147net/ipx/af_ipx.c(void)ipxitf_send(i, skb, (r->ir_routed) ? 
skb1740net/ipx/af_ipx.cint ipx_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb1747net/ipx/af_ipx.cipx=(ipx_packet *)skb->h.raw;
skb1753net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1759net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1772net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1777net/ipx/af_ipx.creturn ipxitf_rcv(intrfc, skb);
skb1836net/ipx/af_ipx.cstruct sk_buff *skb;
skb1846net/ipx/af_ipx.cskb=skb_recv_datagram(sk,flags,noblock,&er);
skb1847net/ipx/af_ipx.cif(skb==NULL)
skb1853net/ipx/af_ipx.cipx = (ipx_packet *)(skb->h.raw);
skb1856net/ipx/af_ipx.cskb_copy_datagram_iovec(skb,sizeof(struct ipx_packet),msg->msg_iov,copied);
skb1866net/ipx/af_ipx.cskb_free_datagram(skb);
skb1901net/ipx/af_ipx.cstruct sk_buff *skb;
skb1903net/ipx/af_ipx.cif((skb=skb_peek(&sk->receive_queue))!=NULL)
skb1904net/ipx/af_ipx.camount=skb->len;
skb33net/netlink.cstatic int (*netlink_handler[MAX_LINKS])(struct sk_buff *skb);
skb49net/netlink.cstatic int netlink_err(struct sk_buff *skb)
skb51net/netlink.ckfree_skb(skb, FREE_READ);
skb60net/netlink.cint netlink_donothing(struct sk_buff *skb)
skb62net/netlink.ckfree_skb(skb, FREE_READ);
skb73net/netlink.cstruct sk_buff *skb;
skb74net/netlink.cskb=alloc_skb(count, GFP_KERNEL);
skb75net/netlink.cmemcpy_fromfs(skb_put(skb,count),buf, count);
skb76net/netlink.creturn (netlink_handler[minor])(skb);
skb86net/netlink.cstruct sk_buff *skb;
skb88net/netlink.cwhile((skb=skb_dequeue(&skb_queue_rd[minor]))==NULL)
skb102net/netlink.crdq_size[minor]-=skb->len;
skb104net/netlink.cif(skb->len<count)
skb105net/netlink.ccount=skb->len;
skb106net/netlink.cmemcpy_tofs(buf,skb->data,count);
skb107net/netlink.ckfree_skb(skb, FREE_READ);
skb176net/netlink.cint netlink_attach(int unit, int (*function)(struct sk_buff *skb))
skb193net/netlink.cint netlink_post(int unit, struct sk_buff *skb)
skb201net/netlink.cif(rdq_size[unit]+skb->len>MAX_QBYTES)
skb205net/netlink.cskb_queue_tail(&skb_queue_rd[unit], skb);
skb206net/netlink.crdq_size[unit]+=skb->len;
skb246net/netrom/af_netrom.cstruct sk_buff *skb;
skb257net/netrom/af_netrom.cwhile ((skb = skb_dequeue(&sk->receive_queue)) != NULL) {
skb258net/netrom/af_netrom.cif (skb->sk != sk) {      /* A pending connection */
skb259net/netrom/af_netrom.cskb->sk->dead = 1;  /* Queue the unaccepted socket for death */
skb260net/netrom/af_netrom.cnr_set_timer(skb->sk);
skb261net/netrom/af_netrom.cskb->sk->nr->state = NR_STATE_0;
skb264net/netrom/af_netrom.ckfree_skb(skb, FREE_READ);
skb840net/netrom/af_netrom.cstruct sk_buff *skb;
skb859net/netrom/af_netrom.cif ((skb = skb_dequeue(&sk->receive_queue)) == NULL) {
skb870net/netrom/af_netrom.c} while (skb == NULL);
skb872net/netrom/af_netrom.cnewsk = skb->sk;
skb877net/netrom/af_netrom.cskb->sk = NULL;
skb878net/netrom/af_netrom.ckfree_skb(skb, FREE_READ);
skb911net/netrom/af_netrom.cint nr_rx_frame(struct sk_buff *skb, struct device *dev)
skb920net/netrom/af_netrom.cskb->sk = NULL;    /* Initially we don't know who its for */
skb926net/netrom/af_netrom.csrc  = (ax25_address *)(skb->data + 0);
skb927net/netrom/af_netrom.cdest = (ax25_address *)(skb->data + 7);
skb929net/netrom/af_netrom.ccircuit_index = skb->data[15];
skb930net/netrom/af_netrom.ccircuit_id    = skb->data[16];
skb931net/netrom/af_netrom.cframetype     = skb->data[19];
skb938net/netrom/af_netrom.cskb_pull(skb, NR_NETWORK_LEN + NR_TRANSPORT_LEN);
skb939net/netrom/af_netrom.cskb->h.raw = skb->data;
skb941net/netrom/af_netrom.creturn nr_rx_ip(skb, dev);
skb951net/netrom/af_netrom.cskb->h.raw = skb->data;
skb953net/netrom/af_netrom.cif ((frametype & 0x0F) == NR_CONNACK && skb->len == 22)
skb958net/netrom/af_netrom.creturn nr_process_rx_frame(sk, skb);
skb966net/netrom/af_netrom.cuser   = (ax25_address *)(skb->data + 21);
skb969net/netrom/af_netrom.cnr_transmit_dm(skb);
skb973net/netrom/af_netrom.cwindow = skb->data[20];
skb975net/netrom/af_netrom.cskb->sk             = make;
skb996net/netrom/af_netrom.cif (skb->len == 37) {
skb997net/netrom/af_netrom.ctimeout = skb->data[36] * 256 + skb->data[35];
skb1018net/netrom/af_netrom.cskb_queue_head(&sk->receive_queue, skb);
skb1023net/netrom/af_netrom.csk->data_ready(sk, skb->len);
skb1034net/netrom/af_netrom.cstruct sk_buff *skb;
skb1074net/netrom/af_netrom.cif ((skb = sock_alloc_send_skb(sk, size, 0, 0, &err)) == NULL)
skb1077net/netrom/af_netrom.cskb->sk   = sk;
skb1078net/netrom/af_netrom.cskb->free = 1;
skb1079net/netrom/af_netrom.cskb->arp  = 1;
skb1081net/netrom/af_netrom.cskb_reserve(skb, size - len);
skb1087net/netrom/af_netrom.casmptr = skb_push(skb, NR_TRANSPORT_LEN);
skb1107net/netrom/af_netrom.cskb->h.raw = skb_put(skb, len);
skb1109net/netrom/af_netrom.casmptr = skb->h.raw;
skb1121net/netrom/af_netrom.ckfree_skb(skb, FREE_WRITE);
skb1125net/netrom/af_netrom.cnr_output(sk, skb);  /* Shove it onto the queue */
skb1137net/netrom/af_netrom.cstruct sk_buff *skb;
skb1154net/netrom/af_netrom.cif ((skb = skb_recv_datagram(sk, flags, noblock, &er)) == NULL)
skb1158net/netrom/af_netrom.cskb_pull(skb, NR_NETWORK_LEN + NR_TRANSPORT_LEN);
skb1159net/netrom/af_netrom.cskb->h.raw = skb->data;
skb1162net/netrom/af_netrom.ccopied = (size < skb->len) ? size : skb->len;
skb1163net/netrom/af_netrom.cskb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied);
skb1169net/netrom/af_netrom.cmemcpy(&addr.sax25_call, skb->data + 7, sizeof(ax25_address));
skb1176net/netrom/af_netrom.cskb_free_datagram(skb);
skb1211net/netrom/af_netrom.cstruct sk_buff *skb;
skb1213net/netrom/af_netrom.cif ((skb = skb_peek(&sk->receive_queue)) != NULL)
skb1214net/netrom/af_netrom.camount = skb->len - 20;
skb54net/netrom/nr_dev.cint nr_rx_ip(struct sk_buff *skb, struct device *dev)
skb65net/netrom/nr_dev.cskb->protocol = htons(ETH_P_IP);
skb68net/netrom/nr_dev.cskb->dev = dev;
skb70net/netrom/nr_dev.cskb->h.raw = skb->data;
skb71net/netrom/nr_dev.cip_rcv(skb, skb->dev, NULL);
skb76net/netrom/nr_dev.cstatic int nr_header(struct sk_buff *skb, struct device *dev, unsigned short type,
skb79net/netrom/nr_dev.cunsigned char *buff = skb_push(skb, NR_NETWORK_LEN + NR_TRANSPORT_LEN);
skb109net/netrom/nr_dev.cunsigned long raddr, struct sk_buff *skb)
skb114net/netrom/nr_dev.cskb_device_unlock(skb);
skb117net/netrom/nr_dev.cskb->free = 1;
skb118net/netrom/nr_dev.ckfree_skb(skb, FREE_WRITE);
skb131net/netrom/nr_dev.cif (!nr_route_frame(skb, NULL)) {
skb132net/netrom/nr_dev.cskb->free = 1;
skb133net/netrom/nr_dev.ckfree_skb(skb, FREE_WRITE);
skb166net/netrom/nr_dev.cstatic int nr_xmit(struct sk_buff *skb, struct device *dev)
skb170net/netrom/nr_dev.cif (skb == NULL || dev == NULL)
skb190net/netrom/nr_dev.cdev_kfree_skb(skb, FREE_WRITE);
skb53net/netrom/nr_in.cstatic int nr_queue_rx_frame(struct sock *sk, struct sk_buff *skb, int more)
skb55net/netrom/nr_in.cstruct sk_buff *skbo, *skbn = skb;
skb58net/netrom/nr_in.csk->nr->fraglen += skb->len;
skb59net/netrom/nr_in.cskb_queue_tail(&sk->nr->frag_queue, skb);
skb64net/netrom/nr_in.csk->nr->fraglen += skb->len;
skb65net/netrom/nr_in.cskb_queue_tail(&sk->nr->frag_queue, skb);
skb97net/netrom/nr_in.cstatic int nr_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype)
skb103net/netrom/nr_in.csk->window         = skb->data[20];
skb104net/netrom/nr_in.csk->nr->your_index = skb->data[17];
skb105net/netrom/nr_in.csk->nr->your_id    = skb->data[18];
skb143net/netrom/nr_in.cstatic int nr_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype)
skb171net/netrom/nr_in.cstatic int nr_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype)
skb179net/netrom/nr_in.cnr = skb->data[18];
skb180net/netrom/nr_in.cns = skb->data[17];
skb263net/netrom/nr_in.cskb_queue_head(&sk->nr->reseq_queue, skb);
skb310net/netrom/nr_in.cint nr_process_rx_frame(struct sock *sk, struct sk_buff *skb)
skb325net/netrom/nr_in.cframetype = skb->data[19];
skb330net/netrom/nr_in.cqueued = nr_state1_machine(sk, skb, frametype);
skb333net/netrom/nr_in.cqueued = nr_state2_machine(sk, skb, frametype);
skb336net/netrom/nr_in.cqueued = nr_state3_machine(sk, skb, frametype);
skb49net/netrom/nr_out.cvoid nr_output(struct sock *sk, struct sk_buff *skb)
skb57net/netrom/nr_out.cif (skb->len - NR_TRANSPORT_LEN > mtu) {
skb59net/netrom/nr_out.cmemcpy(transport, skb->data, NR_TRANSPORT_LEN);
skb60net/netrom/nr_out.cskb_pull(skb, NR_TRANSPORT_LEN);
skb62net/netrom/nr_out.cfrontlen = skb_headroom(skb);
skb64net/netrom/nr_out.cwhile (skb->len > 0) {
skb74net/netrom/nr_out.clen = (mtu > skb->len) ? skb->len : mtu;
skb77net/netrom/nr_out.cmemcpy(skb_put(skbn, len), skb->data, len);
skb78net/netrom/nr_out.cskb_pull(skb, len);
skb84net/netrom/nr_out.cif (skb->len > 0)
skb90net/netrom/nr_out.cskb->free = 1;
skb91net/netrom/nr_out.ckfree_skb(skb, FREE_WRITE);
skb93net/netrom/nr_out.cskb_queue_tail(&sk->write_queue, skb);    /* Throw it on the queue */
skb104net/netrom/nr_out.cstatic void nr_send_iframe(struct sock *sk, struct sk_buff *skb)
skb106net/netrom/nr_out.cif (skb == NULL)
skb109net/netrom/nr_out.cskb->data[2] = sk->nr->vs;
skb110net/netrom/nr_out.cskb->data[3] = sk->nr->vr;
skb113net/netrom/nr_out.cskb->data[4] |= NR_CHOKE_FLAG;
skb115net/netrom/nr_out.cnr_transmit_buffer(sk, skb);  
skb120net/netrom/nr_out.cstruct sk_buff *skb, *skbn;
skb122net/netrom/nr_out.cif ((skb = skb_peek(&sk->nr->ack_queue)) == NULL)
skb125net/netrom/nr_out.cif ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL)
skb143net/netrom/nr_out.cstruct sk_buff *skb, *skbn;
skb166net/netrom/nr_out.cskb  = skb_dequeue(&sk->write_queue);
skb169net/netrom/nr_out.cif ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) {
skb170net/netrom/nr_out.cskb_queue_head(&sk->write_queue, skb);
skb187net/netrom/nr_out.cskb_queue_tail(&sk->nr->ack_queue, skb);
skb189net/netrom/nr_out.c} while (!last && (skb = skb_dequeue(&sk->write_queue)) != NULL);
skb202net/netrom/nr_out.cvoid nr_transmit_buffer(struct sock *sk, struct sk_buff *skb)
skb209net/netrom/nr_out.cdptr = skb_push(skb, NR_NETWORK_LEN);
skb225net/netrom/nr_out.cskb->arp = 1;
skb227net/netrom/nr_out.cif (!nr_route_frame(skb, NULL)) {
skb228net/netrom/nr_out.ckfree_skb(skb, FREE_WRITE);
skb651net/netrom/nr_route.cint nr_route_frame(struct sk_buff *skb, ax25_cb *ax25)
skb661net/netrom/nr_route.cif(ax25 && call_in_firewall(PF_NETROM, skb, skb->data)!=FW_ACCEPT)
skb663net/netrom/nr_route.cif(!ax25 && call_out_firewall(PF_NETROM, skb, skb->data)!=FW_ACCEPT)
skb666net/netrom/nr_route.cnr_src  = (ax25_address *)(skb->data + 0);
skb667net/netrom/nr_route.cnr_dest = (ax25_address *)(skb->data + 7);
skb673net/netrom/nr_route.creturn nr_rx_frame(skb, dev);
skb679net/netrom/nr_route.cif (--skb->data[14] == 0)
skb700net/netrom/nr_route.cif(ax25 && call_fw_firewall(PF_NETROM, skb, skb->data)!=FW_ACCEPT)
skb704net/netrom/nr_route.cdptr  = skb_push(skb, 1);
skb707net/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;
skb153net/netrom/nr_subr.cstruct sk_buff *skb;
skb175net/netrom/nr_subr.cif ((skb = alloc_skb(len, GFP_ATOMIC)) == NULL)
skb181net/netrom/nr_subr.cskb_reserve(skb, AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + NR_NETWORK_LEN);
skb183net/netrom/nr_subr.cdptr = skb_put(skb, skb_tailroom(skb));
skb237net/netrom/nr_subr.cskb->free = 1;
skb239net/netrom/nr_subr.cnr_transmit_buffer(sk, skb);
skb246net/netrom/nr_subr.cvoid nr_transmit_dm(struct sk_buff *skb)
skb261net/netrom/nr_subr.cmemcpy(dptr, skb->data + 7, AX25_ADDR_LEN);
skb267net/netrom/nr_subr.cmemcpy(dptr, skb->data + 0, AX25_ADDR_LEN);
skb275net/netrom/nr_subr.c*dptr++ = skb->data[15];
skb276net/netrom/nr_subr.c*dptr++ = skb->data[16];
skb166net/unix/af_unix.cstruct sk_buff *skb;
skb169net/unix/af_unix.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL)
skb173net/unix/af_unix.cunix_socket *osk=skb->sk;
skb175net/unix/af_unix.ckfree_skb(skb, FREE_WRITE);  /* Now surplus - free the skb first before the socket */
skb182net/unix/af_unix.ckfree_skb(skb,FREE_WRITE);
skb455net/unix/af_unix.cstruct sk_buff *skb;
skb508net/unix/af_unix.cskb=sock_alloc_send_skb(sk, 0, 0, 0, &err); /* Marker object */
skb509net/unix/af_unix.cif(skb==NULL)
skb511net/unix/af_unix.cskb->sk=sk;        /* So they know it is us */
skb512net/unix/af_unix.cskb->free=1;
skb518net/unix/af_unix.ckfree_skb(skb, FREE_WRITE);
skb523net/unix/af_unix.ckfree_skb(skb, FREE_WRITE);
skb529net/unix/af_unix.cskb_queue_tail(&other->receive_queue,skb);
skb580net/unix/af_unix.cunix_socket *ska,*skb;  
skb583net/unix/af_unix.cskb=b->data;
skb587net/unix/af_unix.cskb->protinfo.af_unix.locks++;
skb588net/unix/af_unix.cska->protinfo.af_unix.other=skb;
skb589net/unix/af_unix.cskb->protinfo.af_unix.other=ska;
skb591net/unix/af_unix.cskb->state=TCP_ESTABLISHED;
skb599net/unix/af_unix.cstruct sk_buff *skb;
skb622net/unix/af_unix.cskb=skb_dequeue(&sk->receive_queue);
skb623net/unix/af_unix.cif(skb==NULL)
skb639net/unix/af_unix.cwhile(skb==NULL);
skb640net/unix/af_unix.ctsk=skb->sk;
skb641net/unix/af_unix.ckfree_skb(skb, FREE_WRITE);  /* The buffer is just used as a tag */
skb685net/unix/af_unix.cstruct sk_buff *skb;
skb745net/unix/af_unix.cskb=sock_alloc_send_skb(sk,size,limit,nonblock, &err);
skb747net/unix/af_unix.cif(skb==NULL)
skb756net/unix/af_unix.csize=skb_tailroom(skb);    /* If we dropped back on a limit then our skb is smaller */
skb758net/unix/af_unix.cskb->sk=sk;
skb759net/unix/af_unix.cskb->free=1;
skb761net/unix/af_unix.cmemcpy_fromiovec(skb_put(skb,size),msg->msg_iov, size);
skb785net/unix/af_unix.ckfree_skb(skb, FREE_WRITE);
skb793net/unix/af_unix.cskb_queue_tail(&other->receive_queue, skb);
skb820net/unix/af_unix.cstruct sk_buff *skb;
skb851net/unix/af_unix.cskb=skb_dequeue(&sk->receive_queue);
skb852net/unix/af_unix.cif(skb==NULL)
skb870net/unix/af_unix.cif(skb->sk->protinfo.af_unix.name)
skb872net/unix/af_unix.cmemcpy(sunaddr->sun_path, skb->sk->protinfo.af_unix.name, 108);
skb880net/unix/af_unix.cnum=min(skb->len,size-copied);
skb881net/unix/af_unix.cmemcpy_tofs(sp, skb->data, num);
skb886net/unix/af_unix.cskb_pull(skb, num);
skb888net/unix/af_unix.cif (skb->len) {
skb889net/unix/af_unix.cskb_queue_head(&sk->receive_queue, skb);
skb892net/unix/af_unix.ckfree_skb(skb, FREE_WRITE);
skb956net/unix/af_unix.cstruct sk_buff *skb;
skb960net/unix/af_unix.cif((skb=skb_peek(&sk->receive_queue))!=NULL)
skb961net/unix/af_unix.camount=skb->len;