taglinefilesource code
vif430net/ipv4/ipmr.cstruct vifctl vif;
vif461net/ipv4/ipmr.cif(optlen!=sizeof(vif))
vif463net/ipv4/ipmr.cif((err=verify_area(VERIFY_READ, optval, sizeof(vif)))<0)
vif465net/ipv4/ipmr.cmemcpy_fromfs(&vif,optval,sizeof(vif));
vif466net/ipv4/ipmr.cif(vif.vifc_vifi > MAXVIFS)
vif470net/ipv4/ipmr.cstruct vif_device *v=&vif_table[vif.vifc_vifi];
vif473net/ipv4/ipmr.cif(vifc_map&(1<<vif.vifc_vifi))
vif476net/ipv4/ipmr.cdev=ip_dev_find(vif.vifc_lcl_addr.s_addr);
vif480net/ipv4/ipmr.cif(vif.vifc_flags&VIFF_TUNNEL)
vif482net/ipv4/ipmr.cif(vif.vifc_flags&VIFF_SRCRT)
vif505net/ipv4/ipmr.cv->rate_limit=vif.vifc_rate_limit;
vif506net/ipv4/ipmr.cv->local=vif.vifc_lcl_addr.s_addr;
vif507net/ipv4/ipmr.cv->remote=vif.vifc_rmt_addr.s_addr;
vif508net/ipv4/ipmr.cv->flags=vif.vifc_flags;
vif509net/ipv4/ipmr.cv->threshold=vif.vifc_threshold;
vif515net/ipv4/ipmr.cvifc_map|=(1<<vif.vifc_vifi);
vif524net/ipv4/ipmr.cstruct vif_device *v=&vif_table[vif.vifc_vifi];
vif525net/ipv4/ipmr.cif(vifc_map&(1<<vif.vifc_vifi))
vif528net/ipv4/ipmr.cvifc_map&=~(1<<vif.vifc_vifi);
vif601net/ipv4/ipmr.cstruct vif_device *vif;
vif612net/ipv4/ipmr.cvif=&vif_table[vr.vifi];
vif615net/ipv4/ipmr.cvr.icount=vif->pkt_in;
vif616net/ipv4/ipmr.cvr.ocount=vif->pkt_out;
vif617net/ipv4/ipmr.cvr.ibytes=vif->bytes_in;
vif618net/ipv4/ipmr.cvr.obytes=vif->bytes_out;
vif702net/ipv4/ipmr.cstatic void ipmr_queue_xmit(struct sk_buff *skb, struct vif_device *vif, struct device *in_dev, int frag)
vif706net/ipv4/ipmr.cif(vif->flags&VIFF_TUNNEL)
vif709net/ipv4/ipmr.craddr=vif->remote;
vif711net/ipv4/ipmr.cvif->pkt_out++;
vif712net/ipv4/ipmr.cvif->bytes_out+=skb->len;
vif713net/ipv4/ipmr.cskb->dev=vif->dev;
vif719net/ipv4/ipmr.cif(vif->dev==NULL || ip_forward(skb, in_dev, frag|IPFWD_MULTICASTING|tunnel, raddr)==-1)
vif732net/ipv4/ipmr.cint vif=ipmr_vifi_find(skb->dev);
vif733net/ipv4/ipmr.cif(vif==-1)
vif739net/ipv4/ipmr.cvif_table[vif].pkt_in++;
vif740net/ipv4/ipmr.cvif_table[vif].bytes_in+=skb->len;
vif749net/ipv4/ipmr.cipmr_cache_unresolved(cache,vif,skb, is_frag);
vif798net/ipv4/ipmr.cstruct vif_device *vif;
vif811net/ipv4/ipmr.cvif=&vif_table[ct];
vif814net/ipv4/ipmr.cif(vif->dev==NULL)
vif817net/ipv4/ipmr.cvif->dev->name,vif->bytes_in, vif->pkt_in, vif->bytes_out,vif->pkt_out,
vif818net/ipv4/ipmr.cvif->flags, vif->local, vif->remote);