taglinefilesource code
vif429net/ipv4/ipmr.cstruct vifctl vif;
vif460net/ipv4/ipmr.cif(optlen!=sizeof(vif))
vif462net/ipv4/ipmr.cif((err=verify_area(VERIFY_READ, optval, sizeof(vif)))<0)
vif464net/ipv4/ipmr.cmemcpy_fromfs(&vif,optval,sizeof(vif));
vif465net/ipv4/ipmr.cif(vif.vifc_vifi > MAXVIFS)
vif469net/ipv4/ipmr.cstruct vif_device *v=&vif_table[vif.vifc_vifi];
vif472net/ipv4/ipmr.cif(vifc_map&(1<<vif.vifc_vifi))
vif475net/ipv4/ipmr.cdev=ip_dev_find(vif.vifc_lcl_addr.s_addr);
vif479net/ipv4/ipmr.cif(vif.vifc_flags&VIFF_TUNNEL)
vif481net/ipv4/ipmr.cif(vif.vifc_flags&VIFF_SRCRT)
vif504net/ipv4/ipmr.cv->rate_limit=vif.vifc_rate_limit;
vif505net/ipv4/ipmr.cv->local=vif.vifc_lcl_addr.s_addr;
vif506net/ipv4/ipmr.cv->remote=vif.vifc_rmt_addr.s_addr;
vif507net/ipv4/ipmr.cv->flags=vif.vifc_flags;
vif508net/ipv4/ipmr.cv->threshold=vif.vifc_threshold;
vif514net/ipv4/ipmr.cvifc_map|=(1<<vif.vifc_vifi);
vif523net/ipv4/ipmr.cstruct vif_device *v=&vif_table[vif.vifc_vifi];
vif524net/ipv4/ipmr.cif(vifc_map&(1<<vif.vifc_vifi))
vif527net/ipv4/ipmr.cvifc_map&=~(1<<vif.vifc_vifi);
vif600net/ipv4/ipmr.cstruct vif_device *vif;
vif611net/ipv4/ipmr.cvif=&vif_table[vr.vifi];
vif614net/ipv4/ipmr.cvr.icount=vif->pkt_in;
vif615net/ipv4/ipmr.cvr.ocount=vif->pkt_out;
vif616net/ipv4/ipmr.cvr.ibytes=vif->bytes_in;
vif617net/ipv4/ipmr.cvr.obytes=vif->bytes_out;
vif701net/ipv4/ipmr.cstatic void ipmr_queue_xmit(struct sk_buff *skb, struct vif_device *vif, struct device *in_dev, int frag)
vif705net/ipv4/ipmr.cif(vif->flags&VIFF_TUNNEL)
vif708net/ipv4/ipmr.craddr=vif->remote;
vif710net/ipv4/ipmr.cvif->pkt_out++;
vif711net/ipv4/ipmr.cvif->bytes_out+=skb->len;
vif712net/ipv4/ipmr.cskb->dev=vif->dev;
vif727net/ipv4/ipmr.cint vif=ipmr_vifi_find(skb->dev);
vif728net/ipv4/ipmr.cif(vif==-1)
vif734net/ipv4/ipmr.cvif_table[vif].pkt_in++;
vif735net/ipv4/ipmr.cvif_table[vif].bytes_in+=skb->len;
vif744net/ipv4/ipmr.cipmr_cache_unresolved(cache,vif,skb, is_frag);
vif789net/ipv4/ipmr.cstruct vif_device *vif;
vif802net/ipv4/ipmr.cvif=&vif_table[ct];
vif805net/ipv4/ipmr.cif(vif->dev==NULL)
vif808net/ipv4/ipmr.cvif->dev->name,vif->bytes_in, vif->pkt_in, vif->bytes_out,vif->pkt_out,
vif809net/ipv4/ipmr.cvif->flags, vif->local, vif->remote);