tag | line | file | source code |
ax25_rt | 77 | net/ax25/ax25_route.c | struct ax25_route *ax25_rt; |
ax25_rt | 84 | net/ax25/ax25_route.c | for (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) { |
ax25_rt | 85 | net/ax25/ax25_route.c | if (count == 0 || (ax25_rt->stamp.tv_sec != 0 && ax25_rt->stamp.tv_sec < oldest->stamp.tv_sec)) |
ax25_rt | 86 | net/ax25/ax25_route.c | oldest = ax25_rt; |
ax25_rt | 88 | net/ax25/ax25_route.c | if (ax25cmp(&ax25_rt->callsign, src) == 0 && ax25_rt->dev == dev) { |
ax25_rt | 89 | net/ax25/ax25_route.c | if (ax25_rt->stamp.tv_sec != 0) |
ax25_rt | 90 | net/ax25/ax25_route.c | ax25_rt->stamp = xtime; |
ax25_rt | 91 | net/ax25/ax25_route.c | ax25_rt->n++; |
ax25_rt | 111 | net/ax25/ax25_route.c | if ((ax25_rt = (struct ax25_route *)kmalloc(sizeof(struct ax25_route), GFP_ATOMIC)) == NULL) |
ax25_rt | 114 | net/ax25/ax25_route.c | ax25_rt->callsign = *src; |
ax25_rt | 115 | net/ax25/ax25_route.c | ax25_rt->dev = dev; |
ax25_rt | 116 | net/ax25/ax25_route.c | ax25_rt->digipeat = NULL; |
ax25_rt | 117 | net/ax25/ax25_route.c | ax25_rt->stamp = xtime; |
ax25_rt | 118 | net/ax25/ax25_route.c | ax25_rt->n = 1; |
ax25_rt | 119 | net/ax25/ax25_route.c | ax25_rt->ip_mode = ' '; |
ax25_rt | 122 | net/ax25/ax25_route.c | if ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
ax25_rt | 123 | net/ax25/ax25_route.c | kfree_s(ax25_rt, sizeof(struct ax25_route)); |
ax25_rt | 126 | net/ax25/ax25_route.c | memcpy(ax25_rt->digipeat, digi, sizeof(ax25_digi)); |
ax25_rt | 132 | net/ax25/ax25_route.c | ax25_rt->next = ax25_route; |
ax25_rt | 133 | net/ax25/ax25_route.c | ax25_route = ax25_rt; |
ax25_rt | 140 | net/ax25/ax25_route.c | struct ax25_route *s, *t, *ax25_rt = ax25_route; |
ax25_rt | 142 | net/ax25/ax25_route.c | while (ax25_rt != NULL) { |
ax25_rt | 143 | net/ax25/ax25_route.c | s = ax25_rt; |
ax25_rt | 144 | net/ax25/ax25_route.c | ax25_rt = ax25_rt->next; |
ax25_rt | 170 | net/ax25/ax25_route.c | struct ax25_route *s, *t, *ax25_rt; |
ax25_rt | 184 | net/ax25/ax25_route.c | for (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) { |
ax25_rt | 185 | net/ax25/ax25_route.c | if (ax25cmp(&ax25_rt->callsign, &route.dest_addr) == 0 && ax25_rt->dev == dev) { |
ax25_rt | 186 | net/ax25/ax25_route.c | if (ax25_rt->digipeat != NULL) { |
ax25_rt | 187 | net/ax25/ax25_route.c | kfree_s(ax25_rt->digipeat, sizeof(ax25_digi)); |
ax25_rt | 188 | net/ax25/ax25_route.c | ax25_rt->digipeat = NULL; |
ax25_rt | 191 | net/ax25/ax25_route.c | if ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) |
ax25_rt | 193 | net/ax25/ax25_route.c | ax25_rt->digipeat->lastrepeat = 0; |
ax25_rt | 194 | net/ax25/ax25_route.c | ax25_rt->digipeat->ndigi = route.digi_count; |
ax25_rt | 196 | net/ax25/ax25_route.c | ax25_rt->digipeat->repeated[i] = 0; |
ax25_rt | 197 | net/ax25/ax25_route.c | ax25_rt->digipeat->calls[i] = route.digi_addr[i]; |
ax25_rt | 200 | net/ax25/ax25_route.c | ax25_rt->stamp.tv_sec = 0; |
ax25_rt | 204 | net/ax25/ax25_route.c | if ((ax25_rt = (struct ax25_route *)kmalloc(sizeof(struct ax25_route), GFP_ATOMIC)) == NULL) |
ax25_rt | 206 | net/ax25/ax25_route.c | ax25_rt->callsign = route.dest_addr; |
ax25_rt | 207 | net/ax25/ax25_route.c | ax25_rt->dev = dev; |
ax25_rt | 208 | net/ax25/ax25_route.c | ax25_rt->digipeat = NULL; |
ax25_rt | 209 | net/ax25/ax25_route.c | ax25_rt->stamp.tv_sec = 0; |
ax25_rt | 210 | net/ax25/ax25_route.c | ax25_rt->n = 0; |
ax25_rt | 211 | net/ax25/ax25_route.c | ax25_rt->ip_mode = ' '; |
ax25_rt | 213 | net/ax25/ax25_route.c | if ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
ax25_rt | 214 | net/ax25/ax25_route.c | kfree_s(ax25_rt, sizeof(struct ax25_route)); |
ax25_rt | 217 | net/ax25/ax25_route.c | ax25_rt->digipeat->lastrepeat = 0; |
ax25_rt | 218 | net/ax25/ax25_route.c | ax25_rt->digipeat->ndigi = route.digi_count; |
ax25_rt | 220 | net/ax25/ax25_route.c | ax25_rt->digipeat->repeated[i] = 0; |
ax25_rt | 221 | net/ax25/ax25_route.c | ax25_rt->digipeat->calls[i] = route.digi_addr[i]; |
ax25_rt | 226 | net/ax25/ax25_route.c | ax25_rt->next = ax25_route; |
ax25_rt | 227 | net/ax25/ax25_route.c | ax25_route = ax25_rt; |
ax25_rt | 237 | net/ax25/ax25_route.c | ax25_rt = ax25_route; |
ax25_rt | 238 | net/ax25/ax25_route.c | while (ax25_rt != NULL) { |
ax25_rt | 239 | net/ax25/ax25_route.c | s = ax25_rt; |
ax25_rt | 240 | net/ax25/ax25_route.c | ax25_rt = ax25_rt->next; |
ax25_rt | 268 | net/ax25/ax25_route.c | struct ax25_route *ax25_rt; |
ax25_rt | 278 | net/ax25/ax25_route.c | for (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) { |
ax25_rt | 280 | net/ax25/ax25_route.c | ax2asc(&ax25_rt->callsign), |
ax25_rt | 281 | net/ax25/ax25_route.c | ax25_rt->dev ? ax25_rt->dev->name : "???", |
ax25_rt | 282 | net/ax25/ax25_route.c | ax25_rt->n, |
ax25_rt | 283 | net/ax25/ax25_route.c | ax25_rt->stamp.tv_sec); |
ax25_rt | 285 | net/ax25/ax25_route.c | switch (ax25_rt->ip_mode) { |
ax25_rt | 299 | net/ax25/ax25_route.c | if (ax25_rt->digipeat != NULL) |
ax25_rt | 300 | net/ax25/ax25_route.c | for (i = 0; i < ax25_rt->digipeat->ndigi; i++) |
ax25_rt | 301 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " %s", ax2asc(&ax25_rt->digipeat->calls[i])); |
ax25_rt | 366 | net/ax25/ax25_route.c | struct ax25_route *ax25_rt; |
ax25_rt | 369 | net/ax25/ax25_route.c | for (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) { |
ax25_rt | 370 | net/ax25/ax25_route.c | if (ax25cmp(&ax25_rt->callsign, addr) == 0) { |
ax25_rt | 374 | net/ax25/ax25_route.c | if ((ax25->device = ax25_rt->dev) == NULL) |
ax25_rt | 382 | net/ax25/ax25_route.c | if (ax25_rt->digipeat != NULL) { |
ax25_rt | 385 | net/ax25/ax25_route.c | memcpy(ax25->digipeat, ax25_rt->digipeat, sizeof(ax25_digi)); |
ax25_rt | 403 | net/ax25/ax25_route.c | struct ax25_route *ax25_rt; |
ax25_rt | 405 | net/ax25/ax25_route.c | for (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) { |
ax25_rt | 406 | net/ax25/ax25_route.c | if (ax25cmp(&ax25_rt->callsign, callsign) == 0 && ax25_rt->dev == dev) { |
ax25_rt | 407 | net/ax25/ax25_route.c | ax25_rt->ip_mode = ip_mode; |
ax25_rt | 418 | net/ax25/ax25_route.c | struct ax25_route *ax25_rt; |
ax25_rt | 420 | net/ax25/ax25_route.c | for (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) |
ax25_rt | 421 | net/ax25/ax25_route.c | if (ax25cmp(&ax25_rt->callsign, callsign) == 0 && ax25_rt->dev == dev) |
ax25_rt | 422 | net/ax25/ax25_route.c | return ax25_rt->ip_mode; |