akaros/scripts/spatch/route.cocci
<<
>>
Prefs
   1@@
   2identifier route;
   3@@
   4route
   5- ->ifcid
   6+->routeTree.ifcid
   7
   8@@
   9identifier route;
  10@@
  11route
  12- ->tag
  13+->routeTree.tag
  14
  15@@
  16identifier route;
  17@@
  18route
  19- ->ipifc
  20+->routeTree.ipifc
  21
  22@@
  23identifier route;
  24@@
  25route
  26- ->type
  27+->routeTree.type
  28
  29@@
  30identifier route;
  31@@
  32route
  33- ->ifc
  34+->routeTree.ifc
  35
  36@@
  37identifier route;
  38@@
  39route
  40- ->left
  41+->routeTree.left
  42
  43@@
  44identifier route;
  45@@
  46route
  47- ->right
  48+->routeTree.right
  49
  50@@
  51identifier route;
  52@@
  53route
  54- ->mid
  55+->routeTree.mid
  56
  57@@
  58identifier route;
  59@@
  60route
  61- ->depth
  62+->routeTree.depth
  63
  64@@
  65identifier route;
  66@@
  67route
  68- ->ref
  69+->routeTree.ref
  70
  71@@
  72typedef RouteTree;
  73@@
  74-RouteTree
  75+struct routeTree
  76
  77@@
  78typedef V4route;
  79@@
  80-V4route
  81+struct V4route
  82
  83@@
  84typedef V6route;
  85@@
  86-V6route
  87+struct V6route
  88
  89
  90
  91