tag | line | file | source code |
vif | 429 | net/ipv4/ipmr.c | struct vifctl vif; |
vif | 460 | net/ipv4/ipmr.c | if(optlen!=sizeof(vif)) |
vif | 462 | net/ipv4/ipmr.c | if((err=verify_area(VERIFY_READ, optval, sizeof(vif)))<0) |
vif | 464 | net/ipv4/ipmr.c | memcpy_fromfs(&vif,optval,sizeof(vif)); |
vif | 465 | net/ipv4/ipmr.c | if(vif.vifc_vifi > MAXVIFS) |
vif | 469 | net/ipv4/ipmr.c | struct vif_device *v=&vif_table[vif.vifc_vifi]; |
vif | 472 | net/ipv4/ipmr.c | if(vifc_map&(1<<vif.vifc_vifi)) |
vif | 475 | net/ipv4/ipmr.c | dev=ip_dev_find(vif.vifc_lcl_addr.s_addr); |
vif | 479 | net/ipv4/ipmr.c | if(vif.vifc_flags&VIFF_TUNNEL) |
vif | 481 | net/ipv4/ipmr.c | if(vif.vifc_flags&VIFF_SRCRT) |
vif | 504 | net/ipv4/ipmr.c | v->rate_limit=vif.vifc_rate_limit; |
vif | 505 | net/ipv4/ipmr.c | v->local=vif.vifc_lcl_addr.s_addr; |
vif | 506 | net/ipv4/ipmr.c | v->remote=vif.vifc_rmt_addr.s_addr; |
vif | 507 | net/ipv4/ipmr.c | v->flags=vif.vifc_flags; |
vif | 508 | net/ipv4/ipmr.c | v->threshold=vif.vifc_threshold; |
vif | 514 | net/ipv4/ipmr.c | vifc_map|=(1<<vif.vifc_vifi); |
vif | 523 | net/ipv4/ipmr.c | struct vif_device *v=&vif_table[vif.vifc_vifi]; |
vif | 524 | net/ipv4/ipmr.c | if(vifc_map&(1<<vif.vifc_vifi)) |
vif | 527 | net/ipv4/ipmr.c | vifc_map&=~(1<<vif.vifc_vifi); |
vif | 600 | net/ipv4/ipmr.c | struct vif_device *vif; |
vif | 611 | net/ipv4/ipmr.c | vif=&vif_table[vr.vifi]; |
vif | 614 | net/ipv4/ipmr.c | vr.icount=vif->pkt_in; |
vif | 615 | net/ipv4/ipmr.c | vr.ocount=vif->pkt_out; |
vif | 616 | net/ipv4/ipmr.c | vr.ibytes=vif->bytes_in; |
vif | 617 | net/ipv4/ipmr.c | vr.obytes=vif->bytes_out; |
vif | 701 | net/ipv4/ipmr.c | static void ipmr_queue_xmit(struct sk_buff *skb, struct vif_device *vif, struct device *in_dev, int frag) |
vif | 705 | net/ipv4/ipmr.c | if(vif->flags&VIFF_TUNNEL) |
vif | 708 | net/ipv4/ipmr.c | raddr=vif->remote; |
vif | 710 | net/ipv4/ipmr.c | vif->pkt_out++; |
vif | 711 | net/ipv4/ipmr.c | vif->bytes_out+=skb->len; |
vif | 712 | net/ipv4/ipmr.c | skb->dev=vif->dev; |
vif | 727 | net/ipv4/ipmr.c | int vif=ipmr_vifi_find(skb->dev); |
vif | 728 | net/ipv4/ipmr.c | if(vif==-1) |
vif | 734 | net/ipv4/ipmr.c | vif_table[vif].pkt_in++; |
vif | 735 | net/ipv4/ipmr.c | vif_table[vif].bytes_in+=skb->len; |
vif | 744 | net/ipv4/ipmr.c | ipmr_cache_unresolved(cache,vif,skb, is_frag); |
vif | 789 | net/ipv4/ipmr.c | struct vif_device *vif; |
vif | 802 | net/ipv4/ipmr.c | vif=&vif_table[ct]; |
vif | 805 | net/ipv4/ipmr.c | if(vif->dev==NULL) |
vif | 808 | net/ipv4/ipmr.c | vif->dev->name,vif->bytes_in, vif->pkt_in, vif->bytes_out,vif->pkt_out, |
vif | 809 | net/ipv4/ipmr.c | vif->flags, vif->local, vif->remote); |