taglinefilesource code
ax25_rt121net/ax25/ax25_route.cstruct ax25_route *ax25_rt;
ax25_rt128net/ax25/ax25_route.cfor (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) {
ax25_rt129net/ax25/ax25_route.cif (count == 0 || oldest->stamp.tv_sec == 0 || (ax25_rt->stamp.tv_sec != 0 && ax25_rt->stamp.tv_sec < oldest->stamp.tv_sec))
ax25_rt130net/ax25/ax25_route.coldest = ax25_rt;
ax25_rt132net/ax25/ax25_route.cif (ax25cmp(&ax25_rt->callsign, src) == 0) {
ax25_rt133net/ax25/ax25_route.cif (ax25_rt->stamp.tv_sec != 0)
ax25_rt134net/ax25/ax25_route.cax25_rt->stamp = xtime;
ax25_rt136net/ax25/ax25_route.cif (ax25_rt->perm == AX25_RT_PERMANENT) {
ax25_rt137net/ax25/ax25_route.cax25_rt->n++;
ax25_rt141net/ax25/ax25_route.cax25_rt->dev = dev;
ax25_rt144net/ax25/ax25_route.cif (ax25_rt->digipeat != NULL) {
ax25_rt145net/ax25/ax25_route.ckfree_s(ax25_rt->digipeat, sizeof(ax25_digi));
ax25_rt146net/ax25/ax25_route.cax25_rt->digipeat = NULL;
ax25_rt151net/ax25/ax25_route.cif (ax25_rt->digipeat == NULL && (ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL)
ax25_rt154net/ax25/ax25_route.cax25_route_invert(digi, ax25_rt->digipeat);
ax25_rt166net/ax25/ax25_route.cax25_rt = oldest;
ax25_rt168net/ax25/ax25_route.cif ((ax25_rt = (struct ax25_route *)kmalloc(sizeof(struct ax25_route), GFP_ATOMIC)) == NULL)
ax25_rt172net/ax25/ax25_route.cax25_rt->callsign = *src;
ax25_rt173net/ax25/ax25_route.cax25_rt->dev      = dev;
ax25_rt174net/ax25/ax25_route.cax25_rt->digipeat = NULL;
ax25_rt175net/ax25/ax25_route.cax25_rt->stamp    = xtime;
ax25_rt176net/ax25/ax25_route.cax25_rt->n        = 1;
ax25_rt177net/ax25/ax25_route.cax25_rt->ip_mode  = ' ';
ax25_rt178net/ax25/ax25_route.cax25_rt->perm    = AX25_RT_DYNAMIC;
ax25_rt181net/ax25/ax25_route.cif ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) {
ax25_rt182net/ax25/ax25_route.ckfree_s(ax25_rt, sizeof(struct ax25_route));
ax25_rt186net/ax25/ax25_route.cax25_route_invert(digi, ax25_rt->digipeat);
ax25_rt190net/ax25/ax25_route.cif (ax25_rt != oldest) {
ax25_rt194net/ax25/ax25_route.cax25_rt->next = ax25_route;
ax25_rt195net/ax25/ax25_route.cax25_route    = ax25_rt;
ax25_rt203net/ax25/ax25_route.cstruct ax25_route *s, *t, *ax25_rt = ax25_route;
ax25_rt205net/ax25/ax25_route.cwhile (ax25_rt != NULL) {
ax25_rt206net/ax25/ax25_route.cs       = ax25_rt;
ax25_rt207net/ax25/ax25_route.cax25_rt = ax25_rt->next;
ax25_rt233net/ax25/ax25_route.cstruct ax25_route *s, *t, *ax25_rt;
ax25_rt248net/ax25/ax25_route.cfor (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) {
ax25_rt249net/ax25/ax25_route.cif (ax25cmp(&ax25_rt->callsign, &route.dest_addr) == 0 && ax25_rt->dev == dev) {
ax25_rt250net/ax25/ax25_route.cif (ax25_rt->digipeat != NULL) {
ax25_rt251net/ax25/ax25_route.ckfree_s(ax25_rt->digipeat, sizeof(ax25_digi));
ax25_rt252net/ax25/ax25_route.cax25_rt->digipeat = NULL;
ax25_rt255net/ax25/ax25_route.cif ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL)
ax25_rt257net/ax25/ax25_route.cax25_rt->digipeat->lastrepeat = 0;
ax25_rt258net/ax25/ax25_route.cax25_rt->digipeat->ndigi      = route.digi_count;
ax25_rt260net/ax25/ax25_route.cax25_rt->digipeat->repeated[i] = 0;
ax25_rt261net/ax25/ax25_route.cax25_rt->digipeat->calls[i]    = route.digi_addr[i];
ax25_rt264net/ax25/ax25_route.cax25_rt->stamp.tv_sec = 0;
ax25_rt268net/ax25/ax25_route.cif ((ax25_rt = (struct ax25_route *)kmalloc(sizeof(struct ax25_route), GFP_ATOMIC)) == NULL)
ax25_rt270net/ax25/ax25_route.cax25_rt->callsign     = route.dest_addr;
ax25_rt271net/ax25/ax25_route.cax25_rt->dev          = dev;
ax25_rt272net/ax25/ax25_route.cax25_rt->digipeat     = NULL;
ax25_rt273net/ax25/ax25_route.cax25_rt->stamp.tv_sec = 0;
ax25_rt274net/ax25/ax25_route.cax25_rt->n            = 0;
ax25_rt275net/ax25/ax25_route.cax25_rt->ip_mode      = ' ';
ax25_rt276net/ax25/ax25_route.cax25_rt->perm        = AX25_RT_DYNAMIC;
ax25_rt278net/ax25/ax25_route.cif ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) {
ax25_rt279net/ax25/ax25_route.ckfree_s(ax25_rt, sizeof(struct ax25_route));
ax25_rt282net/ax25/ax25_route.cax25_rt->digipeat->lastrepeat = 0;
ax25_rt283net/ax25/ax25_route.cax25_rt->digipeat->ndigi      = route.digi_count;
ax25_rt285net/ax25/ax25_route.cax25_rt->digipeat->repeated[i] = 0;
ax25_rt286net/ax25/ax25_route.cax25_rt->digipeat->calls[i]    = route.digi_addr[i];
ax25_rt291net/ax25/ax25_route.cax25_rt->next = ax25_route;
ax25_rt292net/ax25/ax25_route.cax25_route    = ax25_rt;
ax25_rt302net/ax25/ax25_route.cax25_rt = ax25_route;
ax25_rt303net/ax25/ax25_route.cwhile (ax25_rt != NULL) {
ax25_rt304net/ax25/ax25_route.cs       = ax25_rt;
ax25_rt305net/ax25/ax25_route.cax25_rt = ax25_rt->next;
ax25_rt332net/ax25/ax25_route.cax25_rt = ax25_route;
ax25_rt333net/ax25/ax25_route.cwhile (ax25_rt != NULL) {
ax25_rt334net/ax25/ax25_route.cif (ax25_rt->dev == dev && ax25cmp(&rt_option.dest_addr, &ax25_rt->callsign) == 0) {
ax25_rt337net/ax25/ax25_route.cax25_rt->perm = (char) rt_option.arg;
ax25_rt338net/ax25/ax25_route.cax25_rt->stamp.tv_sec = 0;
ax25_rt343net/ax25/ax25_route.cax25_rt->ip_mode = ' ';
ax25_rt346net/ax25/ax25_route.cax25_rt->ip_mode = 'D';
ax25_rt349net/ax25/ax25_route.cax25_rt->ip_mode = 'V';
ax25_rt357net/ax25/ax25_route.cax25_rt = ax25_rt->next;
ax25_rt367net/ax25/ax25_route.cstruct ax25_route *ax25_rt;
ax25_rt378net/ax25/ax25_route.cfor (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) {
ax25_rt379net/ax25/ax25_route.cif (ax25cmp(&ax25_rt->callsign, &null_ax25_address) == 0)
ax25_rt382net/ax25/ax25_route.ccallsign = ax2asc(&ax25_rt->callsign);
ax25_rt385net/ax25/ax25_route.cax25_rt->dev ? ax25_rt->dev->name : "???",
ax25_rt386net/ax25/ax25_route.cax25_rt->n,
ax25_rt387net/ax25/ax25_route.cax25_rt->stamp.tv_sec);
ax25_rt389net/ax25/ax25_route.cswitch (ax25_rt->ip_mode) {
ax25_rt403net/ax25/ax25_route.cswitch (ax25_rt->perm) {
ax25_rt405net/ax25/ax25_route.cif (ax25_rt->stamp.tv_sec == 0)
ax25_rt417net/ax25/ax25_route.cif (ax25_rt->digipeat != NULL)
ax25_rt418net/ax25/ax25_route.cfor (i = 0; i < ax25_rt->digipeat->ndigi; i++)
ax25_rt419net/ax25/ax25_route.clen += sprintf(buffer + len, " %s", ax2asc(&ax25_rt->digipeat->calls[i]));
ax25_rt487net/ax25/ax25_route.cstruct ax25_route *ax25_rt;
ax25_rt493net/ax25/ax25_route.cfor (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) {
ax25_rt494net/ax25/ax25_route.cif (ax25cmp(&ax25_rt->callsign, addr) == 0 && ax25_rt->dev != NULL)
ax25_rt495net/ax25/ax25_route.cax25_spe_rt = ax25_rt;
ax25_rt496net/ax25/ax25_route.cif (ax25cmp(&ax25_rt->callsign, &null_ax25_address) == 0 && ax25_rt->dev != NULL)
ax25_rt497net/ax25/ax25_route.cax25_def_rt = ax25_rt;
ax25_rt530net/ax25/ax25_route.cstruct ax25_route *ax25_rt;
ax25_rt533net/ax25/ax25_route.cif ((ax25_rt = ax25_find_route(addr)) == NULL)
ax25_rt546net/ax25/ax25_route.cif (ax25_rt->digipeat != NULL) {
ax25_rt549net/ax25/ax25_route.c*ax25->digipeat = *ax25_rt->digipeat;
ax25_rt565net/ax25/ax25_route.cstruct ax25_route *ax25_rt;
ax25_rt567net/ax25/ax25_route.cax25_rt = ax25_find_route(addr);
ax25_rt569net/ax25/ax25_route.cif (ax25_rt == NULL || ax25_rt->digipeat == NULL)
ax25_rt575net/ax25/ax25_route.cax25->device = ax25_rt->dev;
ax25_rt576net/ax25/ax25_route.c*ax25->digipeat = *ax25_rt->digipeat;
ax25_rt582net/ax25/ax25_route.cstruct ax25_route *ax25_rt;
ax25_rt590net/ax25/ax25_route.cax25_rt = ax25_find_route(addr);
ax25_rt591net/ax25/ax25_route.cif (ax25_rt == NULL || ax25_rt->digipeat == NULL)
ax25_rt594net/ax25/ax25_route.cdigipeat = *ax25_rt->digipeat;
ax25_rt598net/ax25/ax25_route.clen = ax25_rt->digipeat->ndigi * AX25_ADDR_LEN;
ax25_rt610net/ax25/ax25_route.cbuild_ax25_addr(bp, &src, &dest, ax25_rt->digipeat, C_COMMAND, MODULUS);
ax25_rt619net/ax25/ax25_route.cstruct ax25_route *ax25_rt;
ax25_rt621net/ax25/ax25_route.cfor (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next) {
ax25_rt622net/ax25/ax25_route.cif (ax25cmp(&ax25_rt->callsign, callsign) == 0 && ax25_rt->dev == dev) {
ax25_rt623net/ax25/ax25_route.cax25_rt->ip_mode = ip_mode;
ax25_rt634net/ax25/ax25_route.cstruct ax25_route *ax25_rt;
ax25_rt636net/ax25/ax25_route.cfor (ax25_rt = ax25_route; ax25_rt != NULL; ax25_rt = ax25_rt->next)
ax25_rt637net/ax25/ax25_route.cif (ax25cmp(&ax25_rt->callsign, callsign) == 0 && ax25_rt->dev == dev)
ax25_rt638net/ax25/ax25_route.creturn ax25_rt->ip_mode;