taglinefilesource code
ax25_rt77net/ax25/ax25_route.cstruct ax25_route *ax25_rt;
ax25_rt84net/ax25/ax25_route.cfor (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) {
ax25_rt85net/ax25/ax25_route.cif (count == 0 || (ax25_rt->stamp.tv_sec != 0 && ax25_rt->stamp.tv_sec < oldest->stamp.tv_sec))
ax25_rt86net/ax25/ax25_route.coldest = ax25_rt;
ax25_rt88net/ax25/ax25_route.cif (ax25cmp(&ax25_rt->callsign, src) == 0 && ax25_rt->dev == dev) {
ax25_rt89net/ax25/ax25_route.cif (ax25_rt->stamp.tv_sec != 0)
ax25_rt90net/ax25/ax25_route.cax25_rt->stamp = xtime;
ax25_rt91net/ax25/ax25_route.cax25_rt->n++;
ax25_rt111net/ax25/ax25_route.cif ((ax25_rt = (struct ax25_route *)kmalloc(sizeof(struct ax25_route), GFP_ATOMIC)) == NULL)
ax25_rt114net/ax25/ax25_route.cax25_rt->callsign = *src;
ax25_rt115net/ax25/ax25_route.cax25_rt->dev      = dev;
ax25_rt116net/ax25/ax25_route.cax25_rt->digipeat = NULL;
ax25_rt117net/ax25/ax25_route.cax25_rt->stamp    = xtime;
ax25_rt118net/ax25/ax25_route.cax25_rt->n        = 1;
ax25_rt119net/ax25/ax25_route.cax25_rt->ip_mode  = ' ';
ax25_rt122net/ax25/ax25_route.cif ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) {
ax25_rt123net/ax25/ax25_route.ckfree_s(ax25_rt, sizeof(struct ax25_route));
ax25_rt126net/ax25/ax25_route.cmemcpy(ax25_rt->digipeat, digi, sizeof(ax25_digi));
ax25_rt132net/ax25/ax25_route.cax25_rt->next = ax25_route;
ax25_rt133net/ax25/ax25_route.cax25_route    = ax25_rt;
ax25_rt140net/ax25/ax25_route.cstruct ax25_route *s, *t, *ax25_rt = ax25_route;
ax25_rt142net/ax25/ax25_route.cwhile (ax25_rt != NULL) {
ax25_rt143net/ax25/ax25_route.cs       = ax25_rt;
ax25_rt144net/ax25/ax25_route.cax25_rt = ax25_rt->next;
ax25_rt170net/ax25/ax25_route.cstruct ax25_route *s, *t, *ax25_rt;
ax25_rt184net/ax25/ax25_route.cfor (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) {
ax25_rt185net/ax25/ax25_route.cif (ax25cmp(&ax25_rt->callsign, &route.dest_addr) == 0 && ax25_rt->dev == dev) {
ax25_rt186net/ax25/ax25_route.cif (ax25_rt->digipeat != NULL) {
ax25_rt187net/ax25/ax25_route.ckfree_s(ax25_rt->digipeat, sizeof(ax25_digi));
ax25_rt188net/ax25/ax25_route.cax25_rt->digipeat = NULL;
ax25_rt191net/ax25/ax25_route.cif ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL)
ax25_rt193net/ax25/ax25_route.cax25_rt->digipeat->lastrepeat = 0;
ax25_rt194net/ax25/ax25_route.cax25_rt->digipeat->ndigi      = route.digi_count;
ax25_rt196net/ax25/ax25_route.cax25_rt->digipeat->repeated[i] = 0;
ax25_rt197net/ax25/ax25_route.cax25_rt->digipeat->calls[i]    = route.digi_addr[i];
ax25_rt200net/ax25/ax25_route.cax25_rt->stamp.tv_sec = 0;
ax25_rt204net/ax25/ax25_route.cif ((ax25_rt = (struct ax25_route *)kmalloc(sizeof(struct ax25_route), GFP_ATOMIC)) == NULL)
ax25_rt206net/ax25/ax25_route.cax25_rt->callsign     = route.dest_addr;
ax25_rt207net/ax25/ax25_route.cax25_rt->dev          = dev;
ax25_rt208net/ax25/ax25_route.cax25_rt->digipeat     = NULL;
ax25_rt209net/ax25/ax25_route.cax25_rt->stamp.tv_sec = 0;
ax25_rt210net/ax25/ax25_route.cax25_rt->n            = 0;
ax25_rt211net/ax25/ax25_route.cax25_rt->ip_mode      = ' ';
ax25_rt213net/ax25/ax25_route.cif ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) {
ax25_rt214net/ax25/ax25_route.ckfree_s(ax25_rt, sizeof(struct ax25_route));
ax25_rt217net/ax25/ax25_route.cax25_rt->digipeat->lastrepeat = 0;
ax25_rt218net/ax25/ax25_route.cax25_rt->digipeat->ndigi      = route.digi_count;
ax25_rt220net/ax25/ax25_route.cax25_rt->digipeat->repeated[i] = 0;
ax25_rt221net/ax25/ax25_route.cax25_rt->digipeat->calls[i]    = route.digi_addr[i];
ax25_rt226net/ax25/ax25_route.cax25_rt->next = ax25_route;
ax25_rt227net/ax25/ax25_route.cax25_route    = ax25_rt;
ax25_rt237net/ax25/ax25_route.cax25_rt = ax25_route;
ax25_rt238net/ax25/ax25_route.cwhile (ax25_rt != NULL) {
ax25_rt239net/ax25/ax25_route.cs       = ax25_rt;
ax25_rt240net/ax25/ax25_route.cax25_rt = ax25_rt->next;
ax25_rt268net/ax25/ax25_route.cstruct ax25_route *ax25_rt;
ax25_rt278net/ax25/ax25_route.cfor (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) {
ax25_rt280net/ax25/ax25_route.cax2asc(&ax25_rt->callsign),
ax25_rt281net/ax25/ax25_route.cax25_rt->dev ? ax25_rt->dev->name : "???",
ax25_rt282net/ax25/ax25_route.cax25_rt->n,
ax25_rt283net/ax25/ax25_route.cax25_rt->stamp.tv_sec);
ax25_rt285net/ax25/ax25_route.cswitch (ax25_rt->ip_mode) {
ax25_rt299net/ax25/ax25_route.cif (ax25_rt->digipeat != NULL)
ax25_rt300net/ax25/ax25_route.cfor (i = 0; i < ax25_rt->digipeat->ndigi; i++)
ax25_rt301net/ax25/ax25_route.clen += sprintf(buffer + len, " %s", ax2asc(&ax25_rt->digipeat->calls[i]));
ax25_rt366net/ax25/ax25_route.cstruct ax25_route *ax25_rt;
ax25_rt369net/ax25/ax25_route.cfor (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) {
ax25_rt370net/ax25/ax25_route.cif (ax25cmp(&ax25_rt->callsign, addr) == 0) {
ax25_rt374net/ax25/ax25_route.cif ((ax25->device = ax25_rt->dev) == NULL)
ax25_rt382net/ax25/ax25_route.cif (ax25_rt->digipeat != NULL) {
ax25_rt385net/ax25/ax25_route.cmemcpy(ax25->digipeat, ax25_rt->digipeat, sizeof(ax25_digi));
ax25_rt403net/ax25/ax25_route.cstruct ax25_route *ax25_rt;
ax25_rt405net/ax25/ax25_route.cfor (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) {
ax25_rt406net/ax25/ax25_route.cif (ax25cmp(&ax25_rt->callsign, callsign) == 0 && ax25_rt->dev == dev) {
ax25_rt407net/ax25/ax25_route.cax25_rt->ip_mode = ip_mode;
ax25_rt418net/ax25/ax25_route.cstruct ax25_route *ax25_rt;
ax25_rt420net/ax25/ax25_route.cfor (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next)
ax25_rt421net/ax25/ax25_route.cif (ax25cmp(&ax25_rt->callsign, callsign) == 0 && ax25_rt->dev == dev)
ax25_rt422net/ax25/ax25_route.creturn ax25_rt->ip_mode;