taglinefilesource code
skb120drivers/net/3c501.cstatic int  el_start_xmit(struct sk_buff *skb, struct device *dev);
skb375drivers/net/3c501.cstatic int el_start_xmit(struct sk_buff *skb, struct device *dev)
skb401drivers/net/3c501.cif (skb == NULL) 
skb428drivers/net/3c501.cint gp_start = 0x800 - (ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN);
skb429drivers/net/3c501.cunsigned char *buf = skb->data;
skb454drivers/net/3c501.coutsb(DATAPORT,buf,skb->len);  /* load buffer (usual thing each byte increments the pointer) */
skb468drivers/net/3c501.cdev_kfree_skb (skb, FREE_WRITE);
skb646drivers/net/3c501.cstruct sk_buff *skb;
skb666drivers/net/3c501.cskb = dev_alloc_skb(pkt_len+2);
skb673drivers/net/3c501.cif (skb == NULL) 
skb681drivers/net/3c501.cskb_reserve(skb,2);  /* Force 16 byte alignment */
skb682drivers/net/3c501.cskb->dev = dev;
skb688drivers/net/3c501.cinsb(DATAPORT, skb_put(skb,pkt_len), pkt_len);
skb689drivers/net/3c501.cskb->protocol=eth_type_trans(skb,dev);
skb690drivers/net/3c501.cnetif_rx(skb);
skb77drivers/net/3c503.cstatic void el2_block_input(struct device *dev, int count, struct sk_buff *skb,
skb504drivers/net/3c503.cel2_block_input(struct device *dev, int count, struct sk_buff *skb, int ring_offset)
skb516drivers/net/3c503.cmemcpy_fromio(skb->data, dev->mem_start + ring_offset, semi_count);
skb518drivers/net/3c503.cmemcpy_fromio(skb->data + semi_count, dev->rmem_start, count);
skb521drivers/net/3c503.ceth_io_copy_and_sum(skb, dev->mem_start + ring_offset, count, 0);
skb542drivers/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);
skb529drivers/net/arcnet.cstruct sk_buff *skb;    /* packet data buffer             */
skb537drivers/net/arcnet.cstruct sk_buff *skb;    /* buffer from upper levels */
skb597drivers/net/arcnet.cstatic int arcnet_send_packet_bad(struct sk_buff *skb,struct device *dev);
skb598drivers/net/arcnet.cstatic int arcnetA_send_packet(struct sk_buff *skb, struct device *dev);
skb599drivers/net/arcnet.cstatic int arcnetE_send_packet(struct sk_buff *skb, struct device *dev);
skb600drivers/net/arcnet.cstatic int arcnetS_send_packet(struct sk_buff *skb, struct device *dev);
skb625drivers/net/arcnet.cstruct sk_buff *skb);
skb628drivers/net/arcnet.cstruct sk_buff *skb);
skb630drivers/net/arcnet.cint arcnetA_header(struct sk_buff *skb,struct device *dev,
skb632drivers/net/arcnet.cint arcnetS_header(struct sk_buff *skb,struct device *dev,
skb636drivers/net/arcnet.cstruct sk_buff *skb);
skb638drivers/net/arcnet.cstruct sk_buff *skb);
skb639drivers/net/arcnet.cunsigned short arcnetA_type_trans(struct sk_buff *skb,struct device *dev);
skb640drivers/net/arcnet.cunsigned short arcnetS_type_trans(struct sk_buff *skb,struct device *dev);
skb1284drivers/net/arcnet.carcnet_send_packet_bad(struct sk_buff *skb, struct device *dev)
skb1317drivers/net/arcnet.cstatus,tickssofar,lp->outgoing.skb,
skb1344drivers/net/arcnet.cif (lp->outgoing.skb)
skb1346drivers/net/arcnet.cdev_kfree_skb(lp->outgoing.skb,FREE_WRITE);
skb1349drivers/net/arcnet.clp->outgoing.skb=NULL;
skb1361drivers/net/arcnet.cif (skb == NULL) {
skb1402drivers/net/arcnet.carcnetA_send_packet(struct sk_buff *skb, struct device *dev)
skb1410drivers/net/arcnet.cbad=arcnet_send_packet_bad(skb,dev);
skb1419drivers/net/arcnet.cout->length = 1 < skb->len ? skb->len : 1;
skb1420drivers/net/arcnet.cout->hdr=(struct ClientData*)skb->data;
skb1421drivers/net/arcnet.cout->skb=skb;
skb1426drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
skb1429drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb1449drivers/net/arcnet.c((char *)skb->data)+sizeof(struct ClientData),
skb1454drivers/net/arcnet.cdev_kfree_skb(out->skb,FREE_WRITE);
skb1455drivers/net/arcnet.cout->skb=NULL;
skb1468drivers/net/arcnet.cout->data=(u_char *)skb->data
skb1500drivers/net/arcnet.cif (out->skb)
skb1501drivers/net/arcnet.cdev_kfree_skb(out->skb,FREE_WRITE);
skb1502drivers/net/arcnet.cout->skb=NULL;
skb1520drivers/net/arcnet.carcnetE_send_packet(struct sk_buff *skb, struct device *dev)
skb1527drivers/net/arcnet.cshort offset,length=skb->len+1;
skb1531drivers/net/arcnet.cbad=arcnet_send_packet_bad(skb,dev);
skb1546drivers/net/arcnet.cdev_kfree_skb(skb,FREE_WRITE);
skb1560drivers/net/arcnet.cif (((struct ethhdr*)(skb->data))->h_dest[0] == 0xFF)
skb1564drivers/net/arcnet.c((struct ethhdr*)(skb->data))->h_dest[5];
skb1592drivers/net/arcnet.cmemcpy(arcsoft,skb->data,skb->len);
skb1619drivers/net/arcnet.cdev_kfree_skb(skb,FREE_WRITE);
skb1642drivers/net/arcnet.carcnetS_send_packet(struct sk_buff *skb, struct device *dev)
skb1646drivers/net/arcnet.cstruct S_ClientData *hdr=(struct S_ClientData *)skb->data;
skb1650drivers/net/arcnet.cbad=arcnet_send_packet_bad(skb,dev);
skb1659drivers/net/arcnet.clength = 1 < skb->len ? skb->len : 1;
skb1664drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
skb1667drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb1676drivers/net/arcnet.cskb->data+S_EXTRA_CLIENTDATA,
skb1678drivers/net/arcnet.cskb->data+sizeof(struct S_ClientData),
skb1683drivers/net/arcnet.cdev_kfree_skb(skb,FREE_WRITE);
skb1696drivers/net/arcnet.cdev_kfree_skb(skb,FREE_WRITE);
skb2080drivers/net/arcnet.cstatus,out->numsegs,out->segnum,out->skb);
skb2112drivers/net/arcnet.cif (!lp->outgoing.skb)
skb2140drivers/net/arcnet.cif (out->skb)
skb2141drivers/net/arcnet.cdev_kfree_skb(out->skb,FREE_WRITE);
skb2142drivers/net/arcnet.cout->skb=NULL;
skb2290drivers/net/arcnet.cstruct sk_buff *skb;
skb2319drivers/net/arcnet.cif (in->skb)  /* already assembling one! */
skb2324drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb2327drivers/net/arcnet.cin->skb=NULL;
skb2332drivers/net/arcnet.cskb = alloc_skb(length, GFP_ATOMIC);
skb2333drivers/net/arcnet.cif (skb == NULL) {
skb2338drivers/net/arcnet.csoft=(struct ClientData *)skb->data;
skb2340drivers/net/arcnet.cskb->len = length;
skb2341drivers/net/arcnet.cskb->dev = dev;
skb2389drivers/net/arcnet.cfor(i=0; i< skb->len; i++)
skb2392drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb2398drivers/net/arcnet.cskb->protocol=arcnetA_type_trans(skb,dev);
skb2401drivers/net/arcnet.cnetif_rx(skb);
skb2427drivers/net/arcnet.cif (in->skb && in->sequence!=arcsoft->sequence)
skb2432drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb2433drivers/net/arcnet.cin->skb=NULL;
skb2443drivers/net/arcnet.cif (in->skb)  /* already assembling one! */
skb2450drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb2466drivers/net/arcnet.cin->skb=skb=alloc_skb(508*in->numpackets
skb2469drivers/net/arcnet.cif (skb == NULL) {
skb2478drivers/net/arcnet.cskb->free=1;
skb2480drivers/net/arcnet.csoft=(struct ClientData *)skb->data;
skb2482drivers/net/arcnet.cskb->len=sizeof(struct ClientData);
skb2483drivers/net/arcnet.cskb->dev=dev;
skb2497drivers/net/arcnet.cif (!in->skb)
skb2523drivers/net/arcnet.ckfree_skb(in->skb,FREE_WRITE);
skb2524drivers/net/arcnet.cin->skb=NULL;
skb2531drivers/net/arcnet.csoft=(struct ClientData *)in->skb->data;
skb2534drivers/net/arcnet.cskb=in->skb;
skb2536drivers/net/arcnet.cmemcpy(skb->data+skb->len,
skb2540drivers/net/arcnet.cskb->len+=length-sizeof(struct ClientData);
skb2548drivers/net/arcnet.cif (!skb || !in->skb)
skb2551drivers/net/arcnet.cskb,in->skb);
skb2555drivers/net/arcnet.cin->skb=NULL;
skb2561drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
skb2564drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb2571drivers/net/arcnet.cskb->protocol=arcnetA_type_trans(skb,dev);
skb2574drivers/net/arcnet.cnetif_rx(skb);
skb2588drivers/net/arcnet.cstruct sk_buff *skb;
skb2593drivers/net/arcnet.cskb = alloc_skb(length, GFP_ATOMIC);
skb2594drivers/net/arcnet.cif (skb == NULL) {
skb2600drivers/net/arcnet.cskb->len = length;
skb2601drivers/net/arcnet.cskb->dev = dev;
skb2603drivers/net/arcnet.cmemcpy(skb->data,(u_char *)arcsoft+1,length-1);
skb2609drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
skb2614drivers/net/arcnet.cprintk("%02hX ",((u_char *)skb->data)[i]);
skb2620drivers/net/arcnet.cskb->protocol=eth_type_trans(skb,dev);
skb2623drivers/net/arcnet.cnetif_rx(skb);
skb2633drivers/net/arcnet.cstruct sk_buff *skb;
skb2646drivers/net/arcnet.cskb = alloc_skb(length, GFP_ATOMIC);
skb2647drivers/net/arcnet.cif (skb == NULL) {
skb2652drivers/net/arcnet.csoft=(struct S_ClientData *)skb->data;
skb2653drivers/net/arcnet.cskb->len = length;
skb2663drivers/net/arcnet.cskb->dev = dev;  /* is already lp->sdev */
skb2668drivers/net/arcnet.cfor(i=0; i<skb->len; i++)
skb2671drivers/net/arcnet.cprintk("%02hX ",((unsigned char*)skb->data)[i]);
skb2677drivers/net/arcnet.cskb->protocol=arcnetS_type_trans(skb,dev);
skb2680drivers/net/arcnet.cnetif_rx(skb);
skb2735drivers/net/arcnet.cstruct sk_buff *skb)
skb2737drivers/net/arcnet.cint arcnetA_header(struct sk_buff *skb,struct device *dev,
skb2745drivers/net/arcnet.cskb_push(skb,dev->hard_header_len);
skb2819drivers/net/arcnet.cstruct sk_buff *skb)
skb2821drivers/net/arcnet.cint arcnetS_header(struct sk_buff *skb,struct device *dev,
skb2829drivers/net/arcnet.cskb_push(skb,dev->hard_header_len);
skb2884drivers/net/arcnet.cstruct sk_buff *skb)
skb2911drivers/net/arcnet.cstatus=arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0;
skb2922drivers/net/arcnet.cstruct sk_buff *skb)
skb2946drivers/net/arcnet.creturn arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0;
skb2957drivers/net/arcnet.cunsigned short arcnetA_type_trans(struct sk_buff *skb,struct device *dev)
skb2963drivers/net/arcnet.chead=(struct ClientData *)skb->data;
skb2966drivers/net/arcnet.cskb->mac.raw=skb->data;
skb2967drivers/net/arcnet.cskb_pull(skb,dev->hard_header_len);
skb2968drivers/net/arcnet.chead=(struct ClientData *)skb->mac.raw;
skb2972drivers/net/arcnet.cskb->pkt_type=PACKET_BROADCAST;
skb2977drivers/net/arcnet.cskb->pkt_type=PACKET_OTHERHOST;
skb3002drivers/net/arcnet.cunsigned short arcnetS_type_trans(struct sk_buff *skb,struct device *dev)
skb3008drivers/net/arcnet.chead=(struct S_ClientData *)skb->data;
skb3011drivers/net/arcnet.cskb->mac.raw=skb->data;
skb3012drivers/net/arcnet.cskb_pull(skb,dev->hard_header_len);
skb3013drivers/net/arcnet.chead=(struct S_ClientData *)skb->mac.raw;
skb3017drivers/net/arcnet.cskb->pkt_type=PACKET_BROADCAST;
skb3022drivers/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" */
skb361drivers/net/depca.cstatic int    depca_start_xmit(struct sk_buff *skb, struct device *dev);
skb386drivers/net/depca.cstatic int    load_packet(struct device *dev, struct sk_buff *skb);
skb806drivers/net/depca.cdepca_start_xmit(struct sk_buff *skb, struct device *dev)
skb831drivers/net/depca.c} else if (skb == NULL) {
skb833drivers/net/depca.c} else if (skb->len > 0) {
skb840drivers/net/depca.cstatus = load_packet(dev, skb);
skb848drivers/net/depca.cdev_kfree_skb(skb, FREE_WRITE);
skb939drivers/net/depca.cstruct sk_buff *skb;
skb941drivers/net/depca.cskb = dev_alloc_skb(pkt_len+2);
skb942drivers/net/depca.cif (skb != NULL) {
skb944drivers/net/depca.cskb_reserve(skb,2);  /* 16 byte align the IP header */
skb945drivers/net/depca.cbuf = skb_put(skb,pkt_len);
skb946drivers/net/depca.cskb->dev = dev;
skb959drivers/net/depca.cskb->protocol=eth_type_trans(skb,dev);
skb960drivers/net/depca.cnetif_rx(skb);
skb1564drivers/net/depca.cstatic int load_packet(struct device *dev, struct sk_buff *skb)
skb1570drivers/net/depca.cend = (entry + (skb->len - 1) / TX_BUFF_SZ) & lp->txRingMask;
skb1578drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[entry], skb->data, len);
skb1579drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[0], skb->data + len, skb->len - len);
skb1581drivers/net/depca.cmemcpy_toio(lp->tx_memcpy[entry], skb->data, skb->len);
skb1585drivers/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]);
skb289drivers/net/ewrk3.cstatic int ewrk3_queue_pkt(struct sk_buff *skb, struct device *dev);
skb758drivers/net/ewrk3.cewrk3_queue_pkt(struct sk_buff *skb, struct device *dev)
skb794drivers/net/ewrk3.c} else if (skb == NULL) {
skb796drivers/net/ewrk3.c} else if (skb->len > 0) {
skb846drivers/net/ewrk3.cunsigned char *p = skb->data;
skb849drivers/net/ewrk3.coutb((char)(skb->len & 0xff), EWRK3_DATA);
skb850drivers/net/ewrk3.coutb((char)((skb->len >> 8) & 0xff), EWRK3_DATA);
skb852drivers/net/ewrk3.cfor (i=0; i<skb->len; i++) {
skb858drivers/net/ewrk3.c*buf++ = (char)(skb->len & 0xff);         /* length (16 bit xfer)*/
skb860drivers/net/ewrk3.c*buf++ = (char)(((skb->len >> 8) & 0xff) | XCT);
skb862drivers/net/ewrk3.c*(buf + skb->len) = 0x00;               /* Write the XCT flag */
skb863drivers/net/ewrk3.cmemcpy(buf, skb->data, PRELOAD);        /* Write PRELOAD bytes */
skb865drivers/net/ewrk3.cmemcpy(buf + PRELOAD, skb->data + PRELOAD, skb->len - PRELOAD);
skb866drivers/net/ewrk3.c*(buf + skb->len) = 0xff;               /* Write the XCT flag */
skb868drivers/net/ewrk3.c*buf++ = (char)((skb->len >> 8) & 0xff);
skb870drivers/net/ewrk3.cmemcpy(buf, skb->data, skb->len);       /* Write data bytes */
skb877drivers/net/ewrk3.cdev_kfree_skb (skb, FREE_WRITE);
skb1034drivers/net/ewrk3.cstruct sk_buff *skb;
skb1036drivers/net/ewrk3.cif ((skb = dev_alloc_skb(pkt_len+2)) != NULL) {
skb1038drivers/net/ewrk3.cskb->dev = dev;
skb1039drivers/net/ewrk3.cskb_reserve(skb,2);    /* Align to 16 bytes */
skb1040drivers/net/ewrk3.cp = skb_put(skb,pkt_len);
skb1056drivers/net/ewrk3.cskb->protocol=eth_type_trans(skb,dev);
skb1057drivers/net/ewrk3.cnetif_rx(skb);
skb1069drivers/net/ewrk3.cbuf = 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;
skb982drivers/net/lance.cstruct sk_buff *skb;
skb984drivers/net/lance.cskb = dev_alloc_skb(pkt_len+2);
skb985drivers/net/lance.cif (skb == NULL) {
skb998drivers/net/lance.cskb->dev = dev;
skb999drivers/net/lance.cskb_reserve(skb,2);  /* 16 byte align */
skb1000drivers/net/lance.cskb_put(skb,pkt_len);  /* Make room */
skb1001drivers/net/lance.ceth_copy_and_sum(skb,
skb1004drivers/net/lance.cskb->protocol=eth_type_trans(skb,dev);
skb1005drivers/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);
skb103drivers/net/ne.cstruct sk_buff *skb, int ring_offset);
skb448drivers/net/ne.cne_block_input(struct device *dev, int count, struct sk_buff *skb, int ring_offset)
skb454drivers/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)
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 */
skb100drivers/net/skeleton.cstatic int  net_send_packet(struct sk_buff *skb, struct device *dev);
skb325drivers/net/skeleton.cnet_send_packet(struct sk_buff *skb, struct device *dev)
skb347drivers/net/skeleton.cif (skb == NULL) {
skb357drivers/net/skeleton.cshort length = ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN;
skb358drivers/net/skeleton.cunsigned char *buf = skb->data;
skb363drivers/net/skeleton.cdev_kfree_skb (skb, FREE_WRITE);
skb434drivers/net/skeleton.cstruct sk_buff *skb;
skb436drivers/net/skeleton.cskb = dev_alloc_skb(pkt_len);
skb437drivers/net/skeleton.cif (skb == NULL) {
skb443drivers/net/skeleton.cskb->dev = dev;
skb446drivers/net/skeleton.cmemcpy(skb_put(skb,pkt_len), (void*)dev->rmem_start,
skb449drivers/net/skeleton.cinsw(ioaddr, skb->data, (pkt_len + 1) >> 1);
skb451drivers/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);
skb169fs/nfs/nfsroot.cstatic int root_rarp_recv(struct sk_buff *skb, struct device *dev,
skb206fs/nfs/nfsroot.cstatic int root_rarp_recv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb208fs/nfs/nfsroot.cstruct arphdr *rarp = (struct arphdr *)skb->h.raw;
skb215fs/nfs/nfsroot.ckfree_skb(skb, FREE_READ);
skb221fs/nfs/nfsroot.ckfree_skb(skb, FREE_READ);
skb231fs/nfs/nfsroot.ckfree_skb(skb, FREE_READ);
skb246fs/nfs/nfsroot.ckfree_skb(skb, FREE_READ);
skb252fs/nfs/nfsroot.ckfree_skb(skb, FREE_READ);
skb263fs/nfs/nfsroot.ckfree_skb(skb, FREE_READ);
skb277fs/nfs/nfsroot.ckfree_skb(skb, FREE_READ);
skb197include/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,
skb273include/net/sock.hint      (*build_header)(struct sk_buff *skb,
skb283include/net/sock.hstruct device *dev, struct sk_buff *skb,
skb359include/net/sock.hstruct sk_buff *skb);
skb361include/net/sock.hstruct sk_buff *skb);
skb372include/net/sock.hextern struct sk_buff     *sock_alloc_send_skb(struct sock *skb,
skb387include/net/sock.hextern __inline__ int sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
skb390include/net/sock.hif(sk->rmem_alloc + skb->truesize >= sk->rcvbuf)
skb394include/net/sock.hsk->rmem_alloc+=skb->truesize;
skb395include/net/sock.hskb->sk=sk;
skb397include/net/sock.hskb_queue_tail(&sk->receive_queue,skb);
skb399include/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;
skb455net/appletalk/aarp.cddp_dl->datalink_header(ddp_dl, skb, ddp_eth_multicast);
skb456net/appletalk/aarp.cif(skb->sk==NULL)
skb457net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, SOPRI_NORMAL);
skb459net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, skb->sk->priority);
skb471net/appletalk/aarp.cddp_dl->datalink_header(ddp_dl, skb, a->hwaddr);
skb472net/appletalk/aarp.cif(skb->sk==NULL)
skb473net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, SOPRI_NORMAL);
skb475net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, skb->sk->priority);
skb491net/appletalk/aarp.cskb_queue_tail(&a->packet_queue, skb);
skb515net/appletalk/aarp.cskb_queue_tail(&a->packet_queue, skb);
skb557net/appletalk/aarp.cstruct sk_buff *skb;
skb576net/appletalk/aarp.cwhile((skb=skb_dequeue(&a->packet_queue))!=NULL)
skb579net/appletalk/aarp.cddp_dl->datalink_header(ddp_dl,skb,a->hwaddr);
skb580net/appletalk/aarp.cif(skb->sk==NULL)
skb581net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, SOPRI_NORMAL);
skb583net/appletalk/aarp.cdev_queue_xmit(skb, skb->dev, skb->sk->priority);
skb596net/appletalk/aarp.cstatic int aarp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb598net/appletalk/aarp.cstruct elapaarp *ea=(struct elapaarp *)skb->h.raw;
skb612net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb620net/appletalk/aarp.cif(!skb_pull(skb,sizeof(*ea)))
skb622net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb635net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb666net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb679net/appletalk/aarp.ckfree_skb(skb, FREE_READ);
skb738net/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);
skb283net/core/dev.cstruct sk_buff *skb;
skb284net/core/dev.cwhile((skb=skb_dequeue(&dev->buffs[ct]))!=NULL)
skb285net/core/dev.cif(skb->free)
skb286net/core/dev.ckfree_skb(skb,FREE_WRITE);
skb318net/core/dev.cvoid dev_queue_xmit(struct sk_buff *skb, struct device *dev, int pri)
skb326net/core/dev.cif(pri>=0 && !skb_device_locked(skb))
skb327net/core/dev.cskb_device_lock(skb);  /* Shove a lock on the frame */
skb329net/core/dev.cIS_SKB(skb);
skb331net/core/dev.cskb->dev = dev;
skb358net/core/dev.cif (!skb->arp && dev->rebuild_header(skb->data, dev, skb->raddr, skb)) {
skb372net/core/dev.cskb->dev = dev = net_alias_main_dev(dev);
skb380net/core/dev.cskb_queue_tail(dev->buffs + pri,skb);
skb381net/core/dev.cskb_device_unlock(skb);    /* Buffer is on the device queue and can be freed safely */
skb382net/core/dev.cskb = skb_dequeue(dev->buffs + pri);
skb383net/core/dev.cskb_device_lock(skb);    /* New buffer needs locking down */
skb390net/core/dev.cskb->stamp=xtime;
skb397net/core/dev.c((struct sock *)ptype->data != skb->sk))
skb400net/core/dev.cif ((skb2 = skb_clone(skb, GFP_ATOMIC)) == NULL)
skb404net/core/dev.cptype->func(skb2, skb->dev, ptype);
skb409net/core/dev.cif (dev->hard_start_xmit(skb, dev) == 0) {
skb423net/core/dev.cskb_device_unlock(skb);
skb424net/core/dev.cskb_queue_head(dev->buffs + pri,skb);
skb434net/core/dev.cvoid netif_rx(struct sk_buff *skb)
skb443net/core/dev.cskb->sk = NULL;
skb444net/core/dev.cskb->free = 1;
skb445net/core/dev.cif(skb->stamp.tv_sec==0)
skb446net/core/dev.cskb->stamp = xtime;
skb459net/core/dev.ckfree_skb(skb, FREE_READ);
skb467net/core/dev.cIS_SKB(skb);
skb469net/core/dev.cskb_queue_tail(&backlog,skb);
skb503net/core/dev.cstruct sk_buff *skb = NULL;
skb513net/core/dev.cskb = (struct sk_buff *) buff;
skb525net/core/dev.cskb = alloc_skb(len, GFP_ATOMIC);
skb526net/core/dev.cif (skb == NULL) 
skb539net/core/dev.cto = skb_put(skb,len);
skb561net/core/dev.cskb->dev = dev;
skb562net/core/dev.cskb->free = 1;
skb564net/core/dev.cnetif_rx(skb);
skb621net/core/dev.cstruct sk_buff *skb;
skb654net/core/dev.cwhile((skb=skb_dequeue(&backlog))!=NULL)
skb670net/core/dev.cskb->h.raw = skb->data;
skb676net/core/dev.ctype = skb->protocol;
skb688net/core/dev.cstruct sk_buff *skb2=skb_clone(skb, GFP_ATOMIC);
skb690net/core/dev.cpt_prev->func(skb2,skb->dev, pt_prev);
skb697net/core/dev.cif (ptype->type == type && (!ptype->dev || ptype->dev==skb->dev))
skb707net/core/dev.cskb2=skb_clone(skb, GFP_ATOMIC);
skb715net/core/dev.cpt_prev->func(skb2, skb->dev, pt_prev);
skb727net/core/dev.cpt_prev->func(skb, skb->dev, pt_prev);
skb733net/core/dev.ckfree_skb(skb, FREE_WRITE);
skb769net/core/dev.cstruct sk_buff *skb;
skb792net/core/dev.cwhile((skb=skb_dequeue(&dev->buffs[i]))!=NULL)
skb797net/core/dev.cskb_device_lock(skb);
skb803net/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;
skb389net/core/sock.cvoid sock_wfree(struct sock *sk, struct sk_buff *skb)
skb391net/core/sock.cint s=skb->truesize;
skb393net/core/sock.cIS_SKB(skb);
skb395net/core/sock.ckfree_skbmem(skb);
skb410net/core/sock.cvoid sock_rfree(struct sock *sk, struct sk_buff *skb)
skb412net/core/sock.cint s=skb->truesize;
skb414net/core/sock.cIS_SKB(skb);
skb416net/core/sock.ckfree_skbmem(skb);
skb433net/core/sock.cstruct sk_buff *skb;
skb457net/core/sock.cskb = sock_wmalloc(sk, size, 0, sk->allocation);
skb462net/core/sock.cskb = sock_wmalloc(sk, size, 0 , GFP_BUFFER);
skb463net/core/sock.cif(!skb)
skb464net/core/sock.cskb=sock_wmalloc(sk, fallback, 0, GFP_KERNEL);
skb471net/core/sock.cif(skb==NULL)
skb523net/core/sock.cwhile(skb==NULL);
skb525net/core/sock.creturn skb;
skb533net/core/sock.cstruct sk_buff *skb;
skb557net/core/sock.cwhile((skb = skb_dequeue(&sk->back_log)) != NULL) 
skb561net/core/sock.csk->prot->rcv(skb, skb->dev, (struct options*)skb->proto_priv,
skb562net/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);
skb946net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb952net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb972net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb1025net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb1045net/ipv4/arp.centry->dev = skb->dev;
skb1047net/ipv4/arp.cskb_queue_head_init(&entry->skb);
skb1066net/ipv4/arp.ckfree_skb(skb, FREE_READ);
skb1175net/ipv4/arp.cu32 saddr, struct sk_buff *skb)
skb1182net/ipv4/arp.cif (skb)
skb1183net/ipv4/arp.cskb->arp = 1;
skb1204net/ipv4/arp.cif (skb != NULL)
skb1208net/ipv4/arp.cskb_queue_tail(&entry->skb, skb);
skb1209net/ipv4/arp.cskb_device_unlock(skb);
skb1222net/ipv4/arp.cif (skb->sk)
skb1224net/ipv4/arp.cskb->sk->err = EHOSTDOWN;
skb1225net/ipv4/arp.cskb->sk->error_report(skb->sk);
skb1228net/ipv4/arp.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_UNREACH, 0, dev);
skb1230net/ipv4/arp.cdev_kfree_skb(skb, FREE_WRITE);
skb1243net/ipv4/arp.cif (skb)
skb1244net/ipv4/arp.cskb->arp = 1;
skb1268net/ipv4/arp.cskb_queue_head_init(&entry->skb);
skb1269net/ipv4/arp.cif (skb != NULL)
skb1271net/ipv4/arp.cskb_queue_tail(&entry->skb, skb);
skb1272net/ipv4/arp.cskb_device_unlock(skb);
skb1290net/ipv4/arp.celse if (skb != NULL)
skb1291net/ipv4/arp.cdev_kfree_skb(skb, FREE_WRITE);
skb1503net/ipv4/arp.cskb_queue_head_init(&entry->skb);
skb1579net/ipv4/arp.cstruct sk_buff * skb;
skb1598net/ipv4/arp.cwhile ((skb = skb_dequeue(&entry->skb)) != NULL)
skb1600net/ipv4/arp.cskb_device_lock(skb);
skb1602net/ipv4/arp.cskb_queue_tail(&entry1->skb, skb);
skb1603net/ipv4/arp.cskb_device_unlock(skb);
skb1739net/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);
skb216net/ipv4/igmp.cstruct sk_buff *skb=alloc_skb(MAX_IGMP_SIZE, GFP_ATOMIC);
skb220net/ipv4/igmp.cif(skb==NULL)
skb222net/ipv4/igmp.ctmp=ip_build_header(skb, INADDR_ANY, address, &dev, IPPROTO_IGMP, NULL,
skb226net/ipv4/igmp.ckfree_skb(skb, FREE_WRITE);
skb229net/ipv4/igmp.cih=(struct igmphdr *)skb_put(skb,sizeof(struct igmphdr));
skb235net/ipv4/igmp.cip_queue_xmit(NULL,dev,skb,1);
skb392net/ipv4/igmp.cint igmp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb411net/ipv4/igmp.cih=(struct igmphdr *)skb->h.raw;
skb413net/ipv4/igmp.cif(skb->len <sizeof(struct igmphdr) || skb->ip_hdr->ttl>1 || ip_compute_csum((void *)skb->h.raw,sizeof(struct igmphdr)))
skb415net/ipv4/igmp.ckfree_skb(skb, FREE_READ);
skb425net/ipv4/igmp.ckfree_skb(skb, FREE_READ);
skb42net/ipv4/ip_forward.cstatic void ip_encap(struct sk_buff *skb, int len, struct device *out, __u32 daddr)
skb49net/ipv4/ip_forward.cstruct iphdr *iph=(struct iphdr *)skb_push(skb,sizeof(struct iphdr));
skb53net/ipv4/ip_forward.ciph->tos  =  skb->ip_hdr->tos;
skb54net/ipv4/ip_forward.ciph->ttl  =  skb->ip_hdr->ttl;
skb60net/ipv4/ip_forward.ciph->tot_len  =  htons(skb->len);
skb64net/ipv4/ip_forward.cskb->dev = out;
skb65net/ipv4/ip_forward.cskb->arp = 1;
skb66net/ipv4/ip_forward.cskb->raddr=daddr;
skb70net/ipv4/ip_forward.cif (out->hard_header && out->hard_header(skb, out, ETH_P_IP, NULL, NULL, len)<0)
skb71net/ipv4/ip_forward.cskb->arp=0;
skb83net/ipv4/ip_forward.cint ip_forward(struct sk_buff *skb, struct device *dev, int is_frag,
skb92net/ipv4/ip_forward.cstruct   options * opt  = (struct options*)skb->proto_priv;
skb98net/ipv4/ip_forward.cstruct sk_buff *skb_in = skb;  /* So we can remember if the masquerader did some swaps */
skb109net/ipv4/ip_forward.cfw_res=call_fw_firewall(PF_INET, skb, skb->h.iph);
skb115net/ipv4/ip_forward.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_HOST_UNREACH, 0, dev);
skb133net/ipv4/ip_forward.ciph = skb->h.iph;
skb150net/ipv4/ip_forward.cicmp_send(skb, ICMP_TIME_EXCEEDED, ICMP_EXC_TTL, 0, dev);
skb171net/ipv4/ip_forward.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_NET_UNREACH, 0, dev);
skb192net/ipv4/ip_forward.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_SR_FAILED, 0, dev);
skb210net/ipv4/ip_forward.cicmp_send(skb, ICMP_REDIRECT, ICMP_REDIR_HOST, raddr, dev);
skb219net/ipv4/ip_forward.cdev2=skb->dev;
skb220net/ipv4/ip_forward.craddr=skb->raddr;
skb241net/ipv4/ip_forward.cip_fw_masquerade(&skb, dev2);
skb243net/ipv4/ip_forward.cIS_SKB(skb);
skb245net/ipv4/ip_forward.cif (skb->len+encap > dev2->mtu && (ntohs(iph->frag_off) & IP_DF)) {
skb247net/ipv4/ip_forward.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, htonl(dev2->mtu), dev);
skb253net/ipv4/ip_forward.cif(skb_headroom(skb)-encap<dev2->hard_header_len)
skb255net/ipv4/ip_forward.cskb2 = alloc_skb(dev2->hard_header_len + skb->len + encap + 15, GFP_ATOMIC);
skb257net/ipv4/ip_forward.cif(skb_headroom(skb)<dev2->hard_header_len)
skb259net/ipv4/ip_forward.cskb2 = alloc_skb(dev2->hard_header_len + skb->len + 15, GFP_ATOMIC);
skb281net/ipv4/ip_forward.cskb_reserve(skb,(encap+dev->hard_header_len+15)&~15);  /* 16 byte aligned IP headers are good */
skb282net/ipv4/ip_forward.cip_encap(skb2,skb->len, dev2, raddr);
skb286net/ipv4/ip_forward.cip_send(rt,skb2,raddr,skb->len,dev2,dev2->pa_addr);
skb293net/ipv4/ip_forward.cptr = skb_put(skb2,skb->len);
skb300net/ipv4/ip_forward.cmemcpy(ptr, skb->h.raw, skb->len);
skb301net/ipv4/ip_forward.cmemcpy(skb2->proto_priv, skb->proto_priv, sizeof(skb->proto_priv));
skb310net/ipv4/ip_forward.cskb2 = skb;    
skb314net/ipv4/ip_forward.cip_encap(skb,skb->len, dev2, raddr);
skb318net/ipv4/ip_forward.cskb->arp=1;
skb319net/ipv4/ip_forward.cskb->raddr=raddr;
skb322net/ipv4/ip_forward.cmemcpy(skb_push(skb, dev2->hard_header_len), hh->hh_data, dev2->hard_header_len);
skb328net/ipv4/ip_forward.cskb->arp = 0;
skb333net/ipv4/ip_forward.cif(dev2->hard_header(skb, dev2, ETH_P_IP, NULL, NULL, skb->len)<0)
skb334net/ipv4/ip_forward.cskb->arp=0;
skb439net/ipv4/ip_forward.cif(skb==skb2)
skb447net/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;
skb220net/ipv4/ip_input.creturn ipv6_rcv(skb,dev,pt);
skb229net/ipv4/ip_input.cskb->ip_hdr = iph;
skb244net/ipv4/ip_input.cif (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0
skb245net/ipv4/ip_input.c|| skb->len < ntohs(iph->tot_len))
skb248net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb258net/ipv4/ip_input.cskb_trim(skb,ntohs(iph->tot_len));
skb262net/ipv4/ip_input.cskb->ip_summed = 0;
skb263net/ipv4/ip_input.cif (ip_options_compile(NULL, skb))
skb265net/ipv4/ip_input.copt = (struct options*)skb->proto_priv;
skb269net/ipv4/ip_input.ckfree_skb(skb, FREE_READ);
skb281net/ipv4/ip_input.cif ((err=call_in_firewall(PF_INET, skb, iph))<FW_ACCEPT)
skb284net/ipv4/ip_input.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0, dev);
skb285net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb325net/ipv4/ip_input.cif ( iph->daddr == skb->dev->pa_addr ||
skb326net/ipv4/ip_input.c( net_alias_has(skb->dev) && net_alias_addr_chk32(skb->dev,AF_INET, iph->daddr )) ||
skb329net/ipv4/ip_input.cif ( iph->daddr == skb->dev->pa_addr || (brd = ip_chk_addr(iph->daddr)) != 0)
skb338net/ipv4/ip_input.cif (brd != IS_MYADDR || skb->pkt_type != PACKET_HOST) 
skb340net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb352net/ipv4/ip_input.cicmp_send(skb, ICMP_PARAMETERPROB, 0, opt->srr+2,
skb353net/ipv4/ip_input.cskb->dev);
skb354net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb368net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb377net/ipv4/ip_input.cif (ip_forward(skb, dev, is_frag, nexthop))
skb378net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb381net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb398net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb413net/ipv4/ip_input.cif (ip_fw_demasquerade(skb)) 
skb415net/ipv4/ip_input.cstruct iphdr *iph=skb->h.iph;
skb416net/ipv4/ip_input.cif (ip_forward(skb, dev, is_frag|4, iph->daddr))
skb417net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb437net/ipv4/ip_input.cskb=ip_defrag(iph,skb,dev);
skb438net/ipv4/ip_input.cif(skb==NULL)
skb440net/ipv4/ip_input.cskb->dev = dev;
skb441net/ipv4/ip_input.ciph=skb->h.iph;
skb448net/ipv4/ip_input.cskb->ip_hdr = iph;
skb449net/ipv4/ip_input.cskb->h.raw += iph->ihl*4;
skb484net/ipv4/ip_input.cskb1=skb_clone(skb, GFP_ATOMIC);
skb527net/ipv4/ip_input.cskb2 = skb_clone(skb, GFP_ATOMIC);
skb533net/ipv4/ip_input.cskb2 = skb;
skb566net/ipv4/ip_input.cipmr_forward(skb, is_frag);
skb569net/ipv4/ip_input.cstruct sk_buff *skb2=skb_clone(skb, GFP_ATOMIC);
skb580net/ipv4/ip_input.craw_rcv(raw_sk, skb, dev, iph->saddr, iph->daddr);
skb584net/ipv4/ip_input.cicmp_send(skb, ICMP_DEST_UNREACH, ICMP_PROT_UNREACH, 0, dev);  
skb585net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb599net/ipv4/ip_input.cif(skb->pkt_type!=PACKET_HOST || brd==IS_BROADCAST)
skb601net/ipv4/ip_input.ckfree_skb(skb,FREE_WRITE);
skb612net/ipv4/ip_input.cicmp_send(skb, ICMP_PARAMETERPROB, 0, 16, skb->dev);
skb613net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb616net/ipv4/ip_input.cif (ip_forward(skb, dev, is_frag, iph->daddr))
skb617net/ipv4/ip_input.ckfree_skb(skb, FREE_WRITE);
skb622net/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);
skb66net/ipv4/ip_output.cstatic void ip_loopback(struct device *old_dev, struct sk_buff *skb)
skb69net/ipv4/ip_output.cint len=ntohs(skb->ip_hdr->tot_len);
skb78net/ipv4/ip_output.cnewskb->saddr=skb->saddr;
skb79net/ipv4/ip_output.cnewskb->daddr=skb->daddr;
skb80net/ipv4/ip_output.cnewskb->raddr=skb->raddr;
skb84net/ipv4/ip_output.cnewskb->pkt_type=skb->pkt_type;
skb89net/ipv4/ip_output.cip_send(NULL,newskb, skb->ip_hdr->daddr, len, dev, skb->ip_hdr->saddr);
skb94net/ipv4/ip_output.cmemcpy(newskb->proto_priv, skb->proto_priv, sizeof(skb->proto_priv));
skb99net/ipv4/ip_output.cmemcpy(newskb->ip_hdr,skb->ip_hdr,len);
skb113net/ipv4/ip_output.cint ip_send(struct rtable * rt, struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr)
skb117net/ipv4/ip_output.cskb->dev = dev;
skb118net/ipv4/ip_output.cskb->arp = 1;
skb119net/ipv4/ip_output.cskb->protocol = htons(ETH_P_IP);
skb126net/ipv4/ip_output.cskb_reserve(skb,(dev->hard_header_len+15)&~15);  /* 16 byte aligned IP headers are good */
skb129net/ipv4/ip_output.cmemcpy(skb_push(skb,dev->hard_header_len),rt->rt_hh->hh_data,dev->hard_header_len);
skb135net/ipv4/ip_output.cskb->arp = 0;
skb136net/ipv4/ip_output.cskb->raddr = daddr;
skb139net/ipv4/ip_output.cmac = dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, len);
skb143net/ipv4/ip_output.cskb->arp = 0;
skb144net/ipv4/ip_output.cskb->raddr = daddr;  /* next routing address */
skb150net/ipv4/ip_output.cstatic int ip_send_room(struct rtable * rt, struct sk_buff *skb, __u32 daddr, int len, struct device *dev, __u32 saddr)
skb154net/ipv4/ip_output.cskb->dev = dev;
skb155net/ipv4/ip_output.cskb->arp = 1;
skb156net/ipv4/ip_output.cskb->protocol = ETH_P_IP;
skb159net/ipv4/ip_output.cskb_reserve(skb,MAX_HEADER);
skb162net/ipv4/ip_output.cmemcpy(skb_push(skb,dev->hard_header_len),rt->rt_hh->hh_data,dev->hard_header_len);
skb168net/ipv4/ip_output.cskb->arp = 0;
skb169net/ipv4/ip_output.cskb->raddr = daddr;
skb172net/ipv4/ip_output.cmac = dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, len);
skb176net/ipv4/ip_output.cskb->arp = 0;
skb177net/ipv4/ip_output.cskb->raddr = daddr;  /* next routing address */
skb191net/ipv4/ip_output.cint ip_build_header(struct sk_buff *skb, __u32 saddr, __u32 daddr,
skb210net/ipv4/ip_output.cif(MULTICAST(daddr) && *dev==NULL && skb->sk && *skb->sk->ip_mc_name)
skb211net/ipv4/ip_output.c*dev=dev_get(skb->sk->ip_mc_name);
skb215net/ipv4/ip_output.crt = ip_check_route(rp, daddr, skb->localroute);
skb224net/ipv4/ip_output.crt = ip_rt_route(daddr, skb->localroute);
skb262net/ipv4/ip_output.ctmp = ip_send_room(rt, skb, raddr, len, *dev, saddr);
skb264net/ipv4/ip_output.ctmp = ip_send(rt, skb, raddr, len, *dev, saddr);
skb272net/ipv4/ip_output.cskb->dev = *dev;
skb273net/ipv4/ip_output.cskb->saddr = saddr;
skb292net/ipv4/ip_output.ciph=(struct iphdr *)skb_put(skb,sizeof(struct iphdr) + opt->optlen);
skb294net/ipv4/ip_output.ciph=(struct iphdr *)skb_put(skb,sizeof(struct iphdr));
skb304net/ipv4/ip_output.cskb->ip_hdr   = iph;
skb309net/ipv4/ip_output.cip_options_build(skb, opt, final_daddr, (*dev)->pa_addr, 0);
skb334net/ipv4/ip_output.cstruct sk_buff *skb, int free)
skb346net/ipv4/ip_output.cIS_SKB(skb);
skb353net/ipv4/ip_output.cskb->dev = dev;
skb354net/ipv4/ip_output.cskb->when = jiffies;
skb364net/ipv4/ip_output.ciph = skb->ip_hdr;
skb365net/ipv4/ip_output.ciph->tot_len = ntohs(skb->len-(((unsigned char *)iph)-skb->data));
skb368net/ipv4/ip_output.cif(call_out_firewall(PF_INET, skb, iph) < FW_ACCEPT)
skb386net/ipv4/ip_output.cskb->free = free;
skb396net/ipv4/ip_output.cip_fragment(sk,skb,dev,0);
skb397net/ipv4/ip_output.cIS_SKB(skb);
skb398net/ipv4/ip_output.ckfree_skb(skb,FREE_WRITE);
skb416net/ipv4/ip_output.cif (skb->next != NULL)
skb419net/ipv4/ip_output.cskb_unlink(skb);
skb440net/ipv4/ip_output.cif (skb->link3 != NULL)
skb443net/ipv4/ip_output.cskb->link3 = NULL;
skb447net/ipv4/ip_output.csk->send_tail = skb;
skb448net/ipv4/ip_output.csk->send_head = skb;
skb452net/ipv4/ip_output.csk->send_tail->link3 = skb;
skb453net/ipv4/ip_output.csk->send_tail = skb;
skb462net/ipv4/ip_output.cskb->sk = sk;
skb485net/ipv4/ip_output.cip_loopback(dev,skb);
skb494net/ipv4/ip_output.cip_loopback(dev,skb);
skb503net/ipv4/ip_output.cif(skb->ip_hdr->ttl==0)
skb505net/ipv4/ip_output.ckfree_skb(skb, FREE_READ);
skb511net/ipv4/ip_output.cip_loopback(dev,skb);
skb522net/ipv4/ip_output.cdev_queue_xmit(skb, dev, sk->priority);
skb526net/ipv4/ip_output.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb535net/ipv4/ip_output.ckfree_skb(skb, FREE_WRITE);
skb648net/ipv4/ip_output.cstruct sk_buff *skb=sock_alloc_send_skb(sk, length+15+dev->hard_header_len,0, noblock, &error);
skb649net/ipv4/ip_output.cif(skb==NULL)
skb654net/ipv4/ip_output.cskb->dev=dev;
skb655net/ipv4/ip_output.cskb->free=1;
skb656net/ipv4/ip_output.cskb->when=jiffies;
skb657net/ipv4/ip_output.cskb->sk=sk;
skb658net/ipv4/ip_output.cskb->arp=0;
skb659net/ipv4/ip_output.cskb->saddr=saddr;
skb660net/ipv4/ip_output.cskb->raddr = raddr;
skb661net/ipv4/ip_output.cskb_reserve(skb,(dev->hard_header_len+15)&~15);
skb664net/ipv4/ip_output.cskb->arp=1;
skb665net/ipv4/ip_output.cmemcpy(skb_push(skb,dev->hard_header_len),hh->hh_data,dev->hard_header_len);
skb668net/ipv4/ip_output.cskb->arp = 0;
skb676net/ipv4/ip_output.cif(dev->hard_header(skb,dev,ETH_P_IP,NULL,NULL,0)>0)
skb677net/ipv4/ip_output.cskb->arp=1;
skb680net/ipv4/ip_output.cskb->arp=1;
skb681net/ipv4/ip_output.cskb->ip_hdr=iph=(struct iphdr *)skb_put(skb,length);
skb698net/ipv4/ip_output.cip_options_build(skb, opt,
skb709net/ipv4/ip_output.cif(call_out_firewall(PF_INET, skb, iph)< FW_ACCEPT)
skb711net/ipv4/ip_output.ckfree_skb(skb, FREE_WRITE);
skb716net/ipv4/ip_output.cip_fw_chk((void *)skb->data,dev,ip_acct_chain, IP_FW_F_ACCEPT,1);
skb719net/ipv4/ip_output.cdev_queue_xmit(skb,dev,sk->priority);
skb723net/ipv4/ip_output.ckfree_skb(skb, FREE_WRITE);
skb798net/ipv4/ip_output.cstruct sk_buff * skb;
skb806net/ipv4/ip_output.cskb = sock_alloc_send_skb(sk, fraglen+15, 0, noblock, &error);
skb807net/ipv4/ip_output.cif (skb == NULL)
skb820net/ipv4/ip_output.cskb->next = skb->prev = NULL;
skb821net/ipv4/ip_output.cskb->dev = dev;
skb822net/ipv4/ip_output.cskb->when = jiffies;
skb823net/ipv4/ip_output.cskb->free = 1; /* dubious, this one */
skb824net/ipv4/ip_output.cskb->sk = sk;
skb825net/ipv4/ip_output.cskb->arp = 0;
skb826net/ipv4/ip_output.cskb->saddr = saddr;
skb827net/ipv4/ip_output.cskb->raddr = raddr;
skb828net/ipv4/ip_output.cskb_reserve(skb,(dev->hard_header_len+15)&~15);
skb829net/ipv4/ip_output.cdata = skb_put(skb, fraglen-dev->hard_header_len);
skb840net/ipv4/ip_output.cskb->arp=1;
skb841net/ipv4/ip_output.cmemcpy(skb_push(skb,dev->hard_header_len),hh->hh_data,dev->hard_header_len);
skb844net/ipv4/ip_output.cskb->arp = 0;
skb852net/ipv4/ip_output.cif(dev->hard_header(skb, dev, ETH_P_IP, 
skb854net/ipv4/ip_output.cskb->arp=1;
skb861net/ipv4/ip_output.cskb->ip_hdr = iph = (struct iphdr *)data;
skb874net/ipv4/ip_output.cip_options_build(skb, opt,
skb913net/ipv4/ip_output.cif(!offset && call_out_firewall(PF_INET, skb, iph) < FW_ACCEPT)
skb915net/ipv4/ip_output.ckfree_skb(skb, FREE_WRITE);
skb944net/ipv4/ip_output.cif(skb->daddr==IGMP_ALL_HOSTS || (dev->flags&IFF_ALLMULTI))
skb945net/ipv4/ip_output.cip_loopback(dev,skb);
skb953net/ipv4/ip_output.cip_loopback(dev,skb);
skb966net/ipv4/ip_output.cif(skb->ip_hdr->ttl==0)
skb967net/ipv4/ip_output.ckfree_skb(skb, FREE_READ);
skb978net/ipv4/ip_output.cip_loopback(dev,skb);
skb986net/ipv4/ip_output.cdev_queue_xmit(skb, dev, sk->priority);
skb997net/ipv4/ip_output.ckfree_skb(skb, FREE_WRITE);
skb1036net/ipv4/ip_output.cstruct sk_buff *skb=alloc_skb(sizeof(struct netlink_rtinfo), GFP_ATOMIC);
skb1039net/ipv4/ip_output.cif(skb==NULL)
skb1041net/ipv4/ip_output.cnrt=(struct netlink_rtinfo *)skb_put(skb, sizeof(struct netlink_rtinfo));
skb1055net/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=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);
skb788net/ipv4/tcp.cskb = skb->link3;
skb990net/ipv4/tcp.cstruct sk_buff *skb;
skb995net/ipv4/tcp.cskb = sk->send_head;
skb996net/ipv4/tcp.cif (!skb) 
skb1006net/ipv4/tcp.cif (jiffies < skb->when + sk->rto) 
skb1008net/ipv4/tcp.creset_xmit_timer (sk, TIME_WRITE, skb->when + sk->rto - jiffies);
skb1140net/ipv4/tcp.cstruct sk_buff *skb;
skb1149net/ipv4/tcp.cif (sk == NULL || (skb = skb_peek(&sk->receive_queue)) == NULL)
skb1166net/ipv4/tcp.cif (before(counted, skb->seq))     /* Found a hole so stops here */
skb1168net/ipv4/tcp.csum = skb->len - (counted - skb->seq);  /* Length - header but start from where we are up to (avoid overlaps) */
skb1169net/ipv4/tcp.cif (skb->h.th->syn)
skb1174net/ipv4/tcp.cif (skb->h.th->syn) 
skb1194net/ipv4/tcp.cif (skb->h.th->urg)
skb1196net/ipv4/tcp.cif (amount && skb->h.th->psh) break;
skb1197net/ipv4/tcp.cskb = skb->next;
skb1199net/ipv4/tcp.cwhile(skb != (struct sk_buff *)&sk->receive_queue);
skb1364net/ipv4/tcp.cstatic void tcp_send_skb(struct sock *sk, struct sk_buff *skb)
skb1367net/ipv4/tcp.cstruct tcphdr * th = skb->h.th;
skb1373net/ipv4/tcp.csize = skb->len - ((unsigned char *) th - skb->data);
skb1379net/ipv4/tcp.cif (size < sizeof(struct tcphdr) || size > skb->len) 
skb1382net/ipv4/tcp.cskb, skb->data, th, skb->len);
skb1383net/ipv4/tcp.ckfree_skb(skb, FREE_WRITE);
skb1398net/ipv4/tcp.ckfree_skb(skb,FREE_WRITE);
skb1408net/ipv4/tcp.cskb->seq = ntohl(th->seq);
skb1409net/ipv4/tcp.cskb->end_seq = skb->seq + size - 4*th->doff;
skb1419net/ipv4/tcp.cif (after(skb->end_seq, sk->window_seq) ||
skb1426net/ipv4/tcp.cif (skb->next != NULL) 
skb1429net/ipv4/tcp.cskb_unlink(skb);
skb1431net/ipv4/tcp.cskb_queue_tail(&sk->write_queue, skb);
skb1463net/ipv4/tcp.csk->prot->queue_xmit(sk, skb->dev, skb, 0);
skb1486net/ipv4/tcp.cstruct sk_buff * skb;
skb1491net/ipv4/tcp.cskb = sk->partial;
skb1492net/ipv4/tcp.cif (skb) {
skb1497net/ipv4/tcp.creturn skb;
skb1506net/ipv4/tcp.cstruct sk_buff *skb;
skb1510net/ipv4/tcp.cwhile ((skb = tcp_dequeue_partial(sk)) != NULL)
skb1511net/ipv4/tcp.ctcp_send_skb(sk, skb);
skb1518net/ipv4/tcp.cvoid tcp_enqueue_partial(struct sk_buff * skb, struct sock * sk)
skb1528net/ipv4/tcp.csk->partial = skb;
skb1695net/ipv4/tcp.cstruct sk_buff *skb;
skb1847net/ipv4/tcp.cif ((skb = tcp_dequeue_partial(sk)) != NULL) 
skb1852net/ipv4/tcp.chdrlen = ((unsigned long)skb->h.th - (unsigned long)skb->data)
skb1858net/ipv4/tcp.ccopy = min(sk->mss - (skb->len - hdrlen), seglen);
skb1864net/ipv4/tcp.cmemcpy_fromfs(skb_put(skb,copy), from, copy);
skb1871net/ipv4/tcp.cif ((skb->len - hdrlen) >= sk->mss ||
skb1873net/ipv4/tcp.ctcp_send_skb(sk, skb);
skb1875net/ipv4/tcp.ctcp_enqueue_partial(skb, sk);
skb1912net/ipv4/tcp.cskb = sock_wmalloc(sk, sk->mtu + 128 + prot->max_header + 15, 0, GFP_KERNEL);
skb1914net/ipv4/tcp.csend_tmp = skb;
skb1922net/ipv4/tcp.cskb = sock_wmalloc(sk, copy + prot->max_header + 15 , 0, GFP_KERNEL);
skb1930net/ipv4/tcp.cif (skb == NULL) 
skb1970net/ipv4/tcp.cskb->sk = sk;
skb1971net/ipv4/tcp.cskb->free = 0;
skb1972net/ipv4/tcp.cskb->localroute = sk->localroute|(flags&MSG_DONTROUTE);
skb1979net/ipv4/tcp.ctmp = prot->build_header(skb, sk->saddr, sk->daddr, &dev,
skb1980net/ipv4/tcp.cIPPROTO_TCP, sk->opt, skb->truesize,sk->ip_tos,sk->ip_ttl,&sk->ip_route_cache);
skb1983net/ipv4/tcp.csock_wfree(sk, skb);
skb1990net/ipv4/tcp.cskb->ip_hdr->frag_off |= htons(IP_DF);
skb1992net/ipv4/tcp.cskb->dev = dev;
skb1993net/ipv4/tcp.cskb->h.th =(struct tcphdr *)skb_put(skb,sizeof(struct tcphdr));
skb1994net/ipv4/tcp.ctmp = tcp_build_header(skb->h.th, sk, seglen-copy);
skb1997net/ipv4/tcp.csock_wfree(sk, skb);
skb2006net/ipv4/tcp.cskb->h.th->urg = 1;
skb2007net/ipv4/tcp.cskb->h.th->urg_ptr = ntohs(copy);
skb2010net/ipv4/tcp.cmemcpy_fromfs(skb_put(skb,copy), from, copy);
skb2016net/ipv4/tcp.cskb->free = 0;
skb2024net/ipv4/tcp.ctcp_send_skb(sk, skb);
skb2141net/ipv4/tcp.cstruct sk_buff *skb;
skb2157net/ipv4/tcp.cwhile((skb=skb_peek(&sk->receive_queue)) != NULL) 
skb2159net/ipv4/tcp.cif (!skb->used || skb->users) 
skb2161net/ipv4/tcp.cskb_unlink(skb);
skb2162net/ipv4/tcp.cskb->sk = sk;
skb2163net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb2326net/ipv4/tcp.cstruct sk_buff * skb;
skb2342net/ipv4/tcp.cskb = skb_peek(&sk->receive_queue);
skb2345net/ipv4/tcp.cif (!skb)
skb2347net/ipv4/tcp.cif (before(*seq, skb->seq))
skb2349net/ipv4/tcp.coffset = *seq - skb->seq;
skb2350net/ipv4/tcp.cif (skb->h.th->syn)
skb2352net/ipv4/tcp.cif (offset < skb->len)
skb2354net/ipv4/tcp.cif (skb->h.th->fin)
skb2357net/ipv4/tcp.cskb->used = 1;
skb2358net/ipv4/tcp.cskb = skb->next;
skb2360net/ipv4/tcp.cwhile (skb != (struct sk_buff *)&sk->receive_queue);
skb2416net/ipv4/tcp.cskb->users++;
skb2422net/ipv4/tcp.cused = skb->len - offset;
skb2461net/ipv4/tcp.cmemcpy_toiovec(msg->msg_iov,((unsigned char *)skb->h.th) +
skb2462net/ipv4/tcp.cskb->h.th->doff*4 + offset, used);
skb2472net/ipv4/tcp.cskb->users --;
skb2476net/ipv4/tcp.cif (used + offset < skb->len)
skb2483net/ipv4/tcp.cif (skb->h.th->fin)
skb2487net/ipv4/tcp.cskb->used = 1;
skb2499net/ipv4/tcp.cskb->used = 1;
skb2920net/ipv4/tcp.cstatic void tcp_conn_request(struct sock *sk, struct sk_buff *skb,
skb2933net/ipv4/tcp.cth = skb->h.th;
skb2946net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb2958net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb2975net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb2987net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb2990net/ipv4/tcp.cif (ip_options_echo(sk->opt, opt, daddr, saddr, skb)) {
skb2994net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb3026net/ipv4/tcp.cnewsk->acked_seq = skb->seq+1;
skb3027net/ipv4/tcp.cnewsk->copied_seq = skb->seq+1;
skb3028net/ipv4/tcp.cnewsk->fin_seq = skb->seq;
skb3045net/ipv4/tcp.cnewsk->dummy_th.source = skb->h.th->dest;
skb3046net/ipv4/tcp.cnewsk->dummy_th.dest = skb->h.th->source;
skb3066net/ipv4/tcp.cnewsk->acked_seq = skb->seq + 1;
skb3067net/ipv4/tcp.cnewsk->copied_seq = skb->seq + 1;
skb3075net/ipv4/tcp.cnewsk->ip_tos=skb->ip_hdr->tos;
skb3124net/ipv4/tcp.ctcp_options(newsk,skb->h.th);
skb3136net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb3163net/ipv4/tcp.cskb->sk = sk;
skb3164net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb3171net/ipv4/tcp.cmemcpy(t1, skb->h.th, sizeof(*t1));
skb3177net/ipv4/tcp.ct1->dest = skb->h.th->source;
skb3201net/ipv4/tcp.cskb->sk = newsk;
skb3207net/ipv4/tcp.csk->rmem_alloc -= skb->truesize;
skb3208net/ipv4/tcp.cnewsk->rmem_alloc += skb->truesize;
skb3210net/ipv4/tcp.cskb_queue_tail(&sk->receive_queue,skb);
skb3245net/ipv4/tcp.cstruct sk_buff *skb;
skb3253net/ipv4/tcp.cwhile((skb=skb_dequeue(&sk->receive_queue))!=NULL)
skb3254net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb3292net/ipv4/tcp.cstruct sk_buff *skb;
skb3310net/ipv4/tcp.cwhile((skb = skb_peek(&sk->write_queue)) != NULL &&
skb3311net/ipv4/tcp.cbefore(skb->end_seq, sk->window_seq + 1) &&
skb3314net/ipv4/tcp.cbefore(skb->end_seq, sk->rcv_ack_seq + 1))
skb3317net/ipv4/tcp.cIS_SKB(skb);
skb3318net/ipv4/tcp.cskb_unlink(skb);
skb3324net/ipv4/tcp.cif (before(skb->end_seq, sk->rcv_ack_seq +1)) 
skb3332net/ipv4/tcp.ckfree_skb(skb, FREE_WRITE);
skb3348net/ipv4/tcp.ciph = skb->ip_hdr;
skb3350net/ipv4/tcp.csize = skb->len - (((unsigned char *) th) - skb->data);
skb3364net/ipv4/tcp.csk->sent_seq = skb->end_seq;
skb3370net/ipv4/tcp.csk->prot->queue_xmit(sk, skb->dev, skb, skb->free);
skb3478net/ipv4/tcp.cstruct sk_buff *skb;
skb3497net/ipv4/tcp.cskb = skb2;
skb3498net/ipv4/tcp.cskb2 = skb->link3;
skb3499net/ipv4/tcp.cskb->link3 = NULL;
skb3500net/ipv4/tcp.cif (after(skb->end_seq, sk->window_seq)) 
skb3505net/ipv4/tcp.cif (skb->next != NULL) 
skb3507net/ipv4/tcp.cskb_unlink(skb);        
skb3511net/ipv4/tcp.cskb_queue_head(&sk->write_queue,skb);
skb3513net/ipv4/tcp.cskb_append(wskb,skb);
skb3514net/ipv4/tcp.cwskb = skb;
skb3520net/ipv4/tcp.csk->send_head = skb;
skb3521net/ipv4/tcp.csk->send_tail = skb;
skb3525net/ipv4/tcp.csk->send_tail->link3 = skb;
skb3526net/ipv4/tcp.csk->send_tail = skb;
skb3528net/ipv4/tcp.cskb->link3 = NULL;
skb3989net/ipv4/tcp.cstatic int tcp_fin(struct sk_buff *skb, struct sock *sk, struct tcphdr *th)
skb3991net/ipv4/tcp.csk->fin_seq = skb->end_seq;
skb4076net/ipv4/tcp.cextern __inline__ int tcp_data(struct sk_buff *skb, struct sock *sk, 
skb4084net/ipv4/tcp.cth = skb->h.th;
skb4085net/ipv4/tcp.cskb_pull(skb,th->doff*4);
skb4086net/ipv4/tcp.cskb_trim(skb,len-(th->doff*4));
skb4093net/ipv4/tcp.csk->bytes_rcv += skb->len;
skb4095net/ipv4/tcp.cif (skb->len == 0 && !th->fin) 
skb4103net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4122net/ipv4/tcp.cif(skb->len)  /* We don't care if it's just an ack or
skb4125net/ipv4/tcp.cnew_seq = skb->seq + skb->len + th->syn;  /* Right edge of _data_ part of frame */
skb4148net/ipv4/tcp.ctcp_reset(sk->saddr, sk->daddr, skb->h.th,
skb4149net/ipv4/tcp.csk->prot, NULL, skb->dev, sk->ip_tos, sk->ip_ttl);
skb4154net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4177net/ipv4/tcp.cskb_queue_head(&sk->receive_queue,skb);
skb4188net/ipv4/tcp.cprintk("skb->seq = %d\n",skb->seq);
skb4201net/ipv4/tcp.cif (skb->seq==skb1->seq && skb->len>=skb1->len)
skb4203net/ipv4/tcp.cskb_append(skb1,skb);
skb4215net/ipv4/tcp.cif (after(skb->seq+1, skb1->seq))
skb4217net/ipv4/tcp.cskb_append(skb1,skb);
skb4226net/ipv4/tcp.cskb_queue_head(&sk->receive_queue, skb);
skb4248net/ipv4/tcp.cif ((!dup_dumped && (skb1 == NULL || skb1->acked)) || before(skb->seq, sk->acked_seq+1)) 
skb4250net/ipv4/tcp.cif (before(skb->seq, sk->acked_seq+1)) 
skb4254net/ipv4/tcp.cif (after(skb->end_seq, sk->acked_seq)) 
skb4256net/ipv4/tcp.cnewwindow = sk->window - (skb->end_seq - sk->acked_seq);
skb4260net/ipv4/tcp.csk->acked_seq = skb->end_seq;
skb4262net/ipv4/tcp.cskb->acked = 1;
skb4269net/ipv4/tcp.cif (skb->h.th->fin) 
skb4271net/ipv4/tcp.ctcp_fin(skb,sk,skb->h.th);
skb4274net/ipv4/tcp.cfor(skb2 = skb->next;
skb4296net/ipv4/tcp.ctcp_fin(skb,sk,skb->h.th);
skb4335net/ipv4/tcp.cif (!skb->acked) 
skb4473net/ipv4/tcp.cstruct sk_buff *skb;
skb4490net/ipv4/tcp.cwhile((skb = tcp_dequeue_established(sk)) == NULL) 
skb4516net/ipv4/tcp.cnewsk = skb->sk;
skb4518net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4758net/ipv4/tcp.cstatic int tcp_std_reset(struct sock *sk, struct sk_buff *skb)
skb4781net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4791net/ipv4/tcp.cint tcp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
skb4800net/ipv4/tcp.cif(skb->pkt_type!=PACKET_HOST)
skb4802net/ipv4/tcp.ckfree_skb(skb,FREE_READ);
skb4806net/ipv4/tcp.cth = skb->h.th;
skb4848net/ipv4/tcp.cskb_pull(skb, skb->h.raw-skb->data);
skb4853net/ipv4/tcp.c(skb->ip_summed && tcp_check(th, len, saddr, daddr, skb->csum ))||
skb4854net/ipv4/tcp.c(!skb->ip_summed && tcp_check(th, len, saddr, daddr, csum_partial((char *)th, len, 0)))
skb4857net/ipv4/tcp.cskb->sk = NULL;
skb4858net/ipv4/tcp.ckfree_skb(skb,FREE_READ);
skb4866net/ipv4/tcp.cskb->seq = ntohl(th->seq);
skb4867net/ipv4/tcp.cskb->end_seq = skb->seq + th->syn + th->fin + len - th->doff*4;
skb4868net/ipv4/tcp.cskb->ack_seq = ntohl(th->ack_seq);
skb4876net/ipv4/tcp.ctcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255);
skb4877net/ipv4/tcp.cskb->sk = NULL;
skb4881net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4885net/ipv4/tcp.cskb->acked = 0;
skb4886net/ipv4/tcp.cskb->used = 0;
skb4887net/ipv4/tcp.cskb->free = 0;
skb4888net/ipv4/tcp.cskb->saddr = daddr;
skb4889net/ipv4/tcp.cskb->daddr = saddr;
skb4895net/ipv4/tcp.cskb_queue_tail(&sk->back_log, skb);
skb4906net/ipv4/tcp.ctcp_reset(daddr, saddr, th, &tcp_prot, opt,dev,skb->ip_hdr->tos,255);
skb4907net/ipv4/tcp.cskb->sk = NULL;
skb4908net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4925net/ipv4/tcp.cskb->sk=sk;
skb4926net/ipv4/tcp.csk->rmem_alloc += skb->truesize;
skb4956net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb4965net/ipv4/tcp.ctcp_conn_request(sk, skb, daddr, saddr, opt, dev, tcp_init_seq());
skb4981net/ipv4/tcp.cif (sk->state == TCP_SYN_RECV && th->syn && skb->seq+1 == sk->acked_seq)
skb4983net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5006net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5011net/ipv4/tcp.creturn tcp_std_reset(sk,skb);
skb5016net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5025net/ipv4/tcp.csk->acked_seq = skb->seq+1;
skb5026net/ipv4/tcp.csk->fin_seq = skb->seq;
skb5055net/ipv4/tcp.creturn tcp_std_reset(sk,skb);
skb5065net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5084net/ipv4/tcp.cafter(skb->seq, sk->acked_seq) && !th->rst)
skb5090net/ipv4/tcp.csk->rmem_alloc -= skb->truesize;
skb5091net/ipv4/tcp.cskb->sk = NULL;
skb5100net/ipv4/tcp.cskb->sk = sk;
skb5101net/ipv4/tcp.csk->rmem_alloc += skb->truesize;
skb5102net/ipv4/tcp.ctcp_conn_request(sk, skb, daddr, saddr,opt, dev,seq+128000);
skb5106net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5120net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5126net/ipv4/tcp.creturn tcp_std_reset(sk,skb);
skb5134net/ipv4/tcp.ctcp_reset(daddr,saddr,th, &tcp_prot, opt, dev, skb->ip_hdr->tos, 255);
skb5135net/ipv4/tcp.creturn tcp_std_reset(sk,skb);  
skb5153net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5168net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5180net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5189net/ipv4/tcp.cif(tcp_data(skb,sk, saddr, len))
skb5191net/ipv4/tcp.ckfree_skb(skb, FREE_READ);
skb5211net/ipv4/tcp.cstruct sk_buff *buff,*skb;
skb5235net/ipv4/tcp.c(skb=skb_peek(&sk->write_queue)))
skb5262net/ipv4/tcp.ciph = (struct iphdr *)skb->ip_hdr;
skb5322net/ipv4/tcp.ctcp_data_start = skb->data + skb->dev->hard_header_len + 
skb5343net/ipv4/tcp.cow_size = skb->len - win_size - 
skb5344net/ipv4/tcp.c((unsigned long) (tcp_data_start - (void *) skb->data));
skb5347net/ipv4/tcp.cskb_trim(skb,skb->len-win_size);
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);
skb413net/ipx/af_ipx.cif(skb->sk && !copy)
skb415net/ipx/af_ipx.cskb->sk->wmem_alloc -= skb->truesize;  /* Adjust */
skb416net/ipx/af_ipx.cskb->sk=NULL;        /* Disown */
skb422net/ipx/af_ipx.cskb1 = skb_clone(skb, GFP_ATOMIC);
skb428net/ipx/af_ipx.cskb1 = skb;
skb460net/ipx/af_ipx.cipxitf_adjust_skbuff(ipx_interface *intrfc, struct sk_buff *skb)
skb463net/ipx/af_ipx.cint  in_offset = skb->h.raw - skb->head;
skb469net/ipx/af_ipx.cskb->arp = skb->free = 1;
skb470net/ipx/af_ipx.creturn skb;
skb474net/ipx/af_ipx.clen = skb->len + out_offset;
skb478net/ipx/af_ipx.cskb2->h.raw=skb_put(skb2,skb->len);
skb481net/ipx/af_ipx.cmemcpy(skb2->h.raw, skb->h.raw, skb->len);
skb483net/ipx/af_ipx.ckfree_skb(skb, FREE_WRITE);
skb487net/ipx/af_ipx.cstatic int ipxitf_send(ipx_interface *intrfc, struct sk_buff *skb, char *node)
skb489net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *)(skb->h.raw);
skb517net/ipx/af_ipx.creturn ipxitf_demux_socket(intrfc, skb, 0);
skb523net/ipx/af_ipx.cipxitf_demux_socket(intrfc, skb, send_to_wire);
skb549net/ipx/af_ipx.ckfree_skb(skb,FREE_WRITE);
skb567net/ipx/af_ipx.cskb = ipxitf_adjust_skbuff(intrfc, skb);
skb568net/ipx/af_ipx.cif (skb == NULL) 
skb572net/ipx/af_ipx.cskb->dev = dev;
skb573net/ipx/af_ipx.cdl->datalink_header(dl, skb, dest_node);
skb579net/ipx/af_ipx.cdump_pkt("IPX snd:", (ipx_packet *)skb->h.raw);
skb580net/ipx/af_ipx.cdump_data("ETH hdr:", skb->data, skb->h.raw - skb->data);
skb587net/ipx/af_ipx.cdev_queue_xmit(skb, dev, SOPRI_NORMAL);
skb602net/ipx/af_ipx.cstatic int ipxitf_rcv(ipx_interface *intrfc, struct sk_buff *skb)
skb604net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *) (skb->h.raw);
skb612net/ipx/af_ipx.cif (call_in_firewall(PF_IPX, skb, ipx)!=FW_ACCEPT)
skb614net/ipx/af_ipx.ckfree_skb(skb, FREE_READ);
skb656net/ipx/af_ipx.cif (call_fw_firewall(PF_IPX, skb, ipx)!=FW_ACCEPT)
skb658net/ipx/af_ipx.ckfree_skb(skb, FREE_READ);
skb663net/ipx/af_ipx.cif ((skb->pkt_type != PACKET_BROADCAST) &&
skb664net/ipx/af_ipx.c(skb->pkt_type != PACKET_MULTICAST))
skb665net/ipx/af_ipx.creturn ipxrtr_route_skb(skb);
skb667net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb675net/ipx/af_ipx.creturn ipxitf_demux_socket(intrfc, skb, 0);
skb679net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1064net/ipx/af_ipx.cstruct sk_buff *skb;
skb1091net/ipx/af_ipx.cskb=sock_alloc_send_skb(sk, size, 0, 0, &err);
skb1092net/ipx/af_ipx.cif(skb==NULL)
skb1095net/ipx/af_ipx.cskb_reserve(skb,ipx_offset);
skb1096net/ipx/af_ipx.cskb->free=1;
skb1097net/ipx/af_ipx.cskb->arp=1;
skb1100net/ipx/af_ipx.cipx=(ipx_packet *)skb_put(skb,sizeof(ipx_packet));
skb1105net/ipx/af_ipx.cskb->h.raw = (unsigned char *)ipx;
skb1114net/ipx/af_ipx.cmemcpy_fromiovec(skb_put(skb,len),iov,len);
skb1117net/ipx/af_ipx.cif(call_out_firewall(PF_IPX, skb, ipx)!=FW_ACCEPT)
skb1119net/ipx/af_ipx.ckfree_skb(skb, FREE_WRITE);
skb1124net/ipx/af_ipx.creturn ipxitf_send(intrfc, skb, (rt && rt->ir_routed) ? 
skb1129net/ipx/af_ipx.cipxrtr_route_skb(struct sk_buff *skb)
skb1131net/ipx/af_ipx.cipx_packet  *ipx = (ipx_packet *) (skb->h.raw);
skb1138net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1142net/ipx/af_ipx.c(void)ipxitf_send(i, skb, (r->ir_routed) ? 
skb1735net/ipx/af_ipx.cint ipx_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
skb1742net/ipx/af_ipx.cipx=(ipx_packet *)skb->h.raw;
skb1748net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1754net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1767net/ipx/af_ipx.ckfree_skb(skb,FREE_READ);
skb1772net/ipx/af_ipx.creturn ipxitf_rcv(intrfc, skb);
skb1831net/ipx/af_ipx.cstruct sk_buff *skb;
skb1841net/ipx/af_ipx.cskb=skb_recv_datagram(sk,flags,noblock,&er);
skb1842net/ipx/af_ipx.cif(skb==NULL)
skb1848net/ipx/af_ipx.cipx = (ipx_packet *)(skb->h.raw);
skb1851net/ipx/af_ipx.cskb_copy_datagram_iovec(skb,sizeof(struct ipx_packet),msg->msg_iov,copied);
skb1861net/ipx/af_ipx.cskb_free_datagram(skb);
skb1896net/ipx/af_ipx.cstruct sk_buff *skb;
skb1898net/ipx/af_ipx.cif((skb=skb_peek(&sk->receive_queue))!=NULL)
skb1899net/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);
skb819net/unix/af_unix.cstruct sk_buff *skb;
skb850net/unix/af_unix.cskb=skb_dequeue(&sk->receive_queue);
skb851net/unix/af_unix.cif(skb==NULL)
skb869net/unix/af_unix.cif(skb->sk->protinfo.af_unix.name)
skb871net/unix/af_unix.cmemcpy(sunaddr->sun_path, skb->sk->protinfo.af_unix.name, 108);
skb879net/unix/af_unix.cnum=min(skb->len,size-copied);
skb880net/unix/af_unix.cmemcpy_tofs(sp, skb->data, num);
skb885net/unix/af_unix.cskb_pull(skb, num);
skb887net/unix/af_unix.cif (skb->len) {
skb888net/unix/af_unix.cskb_queue_head(&sk->receive_queue, skb);
skb891net/unix/af_unix.ckfree_skb(skb, FREE_WRITE);
skb955net/unix/af_unix.cstruct sk_buff *skb;
skb959net/unix/af_unix.cif((skb=skb_peek(&sk->receive_queue))!=NULL)
skb960net/unix/af_unix.camount=skb->len;