tag | line | file | source code |
vif | 430 | net/ipv4/ipmr.c | struct vifctl vif; |
vif | 461 | net/ipv4/ipmr.c | if(optlen!=sizeof(vif)) |
vif | 463 | net/ipv4/ipmr.c | if((err=verify_area(VERIFY_READ, optval, sizeof(vif)))<0) |
vif | 465 | net/ipv4/ipmr.c | memcpy_fromfs(&vif,optval,sizeof(vif)); |
vif | 466 | net/ipv4/ipmr.c | if(vif.vifc_vifi > MAXVIFS) |
vif | 470 | net/ipv4/ipmr.c | struct vif_device *v=&vif_table[vif.vifc_vifi]; |
vif | 473 | net/ipv4/ipmr.c | if(vifc_map&(1<<vif.vifc_vifi)) |
vif | 476 | net/ipv4/ipmr.c | dev=ip_dev_find(vif.vifc_lcl_addr.s_addr); |
vif | 480 | net/ipv4/ipmr.c | if(vif.vifc_flags&VIFF_TUNNEL) |
vif | 482 | net/ipv4/ipmr.c | if(vif.vifc_flags&VIFF_SRCRT) |
vif | 505 | net/ipv4/ipmr.c | v->rate_limit=vif.vifc_rate_limit; |
vif | 506 | net/ipv4/ipmr.c | v->local=vif.vifc_lcl_addr.s_addr; |
vif | 507 | net/ipv4/ipmr.c | v->remote=vif.vifc_rmt_addr.s_addr; |
vif | 508 | net/ipv4/ipmr.c | v->flags=vif.vifc_flags; |
vif | 509 | net/ipv4/ipmr.c | v->threshold=vif.vifc_threshold; |
vif | 515 | net/ipv4/ipmr.c | vifc_map|=(1<<vif.vifc_vifi); |
vif | 524 | net/ipv4/ipmr.c | struct vif_device *v=&vif_table[vif.vifc_vifi]; |
vif | 525 | net/ipv4/ipmr.c | if(vifc_map&(1<<vif.vifc_vifi)) |
vif | 528 | net/ipv4/ipmr.c | vifc_map&=~(1<<vif.vifc_vifi); |
vif | 601 | net/ipv4/ipmr.c | struct vif_device *vif; |
vif | 612 | net/ipv4/ipmr.c | vif=&vif_table[vr.vifi]; |
vif | 615 | net/ipv4/ipmr.c | vr.icount=vif->pkt_in; |
vif | 616 | net/ipv4/ipmr.c | vr.ocount=vif->pkt_out; |
vif | 617 | net/ipv4/ipmr.c | vr.ibytes=vif->bytes_in; |
vif | 618 | net/ipv4/ipmr.c | vr.obytes=vif->bytes_out; |
vif | 702 | net/ipv4/ipmr.c | static void ipmr_queue_xmit(struct sk_buff *skb, struct vif_device *vif, struct device *in_dev, int frag) |
vif | 706 | net/ipv4/ipmr.c | if(vif->flags&VIFF_TUNNEL) |
vif | 709 | net/ipv4/ipmr.c | raddr=vif->remote; |
vif | 711 | net/ipv4/ipmr.c | vif->pkt_out++; |
vif | 712 | net/ipv4/ipmr.c | vif->bytes_out+=skb->len; |
vif | 713 | net/ipv4/ipmr.c | skb->dev=vif->dev; |
vif | 719 | net/ipv4/ipmr.c | if(vif->dev==NULL || ip_forward(skb, in_dev, frag|IPFWD_MULTICASTING|tunnel, raddr)==-1) |
vif | 732 | net/ipv4/ipmr.c | int vif=ipmr_vifi_find(skb->dev); |
vif | 733 | net/ipv4/ipmr.c | if(vif==-1) |
vif | 739 | net/ipv4/ipmr.c | vif_table[vif].pkt_in++; |
vif | 740 | net/ipv4/ipmr.c | vif_table[vif].bytes_in+=skb->len; |
vif | 749 | net/ipv4/ipmr.c | ipmr_cache_unresolved(cache,vif,skb, is_frag); |
vif | 798 | net/ipv4/ipmr.c | struct vif_device *vif; |
vif | 811 | net/ipv4/ipmr.c | vif=&vif_table[ct]; |
vif | 814 | net/ipv4/ipmr.c | if(vif->dev==NULL) |
vif | 817 | net/ipv4/ipmr.c | vif->dev->name,vif->bytes_in, vif->pkt_in, vif->bytes_out,vif->pkt_out, |
vif | 818 | net/ipv4/ipmr.c | vif->flags, vif->local, vif->remote); |