taglinefilesource code
nr_neigh76include/net/netrom.hstruct nr_neigh *next;
nr_neigh58net/netrom/nr_route.cstatic struct nr_neigh *nr_neigh_list = NULL;
nr_neigh68net/netrom/nr_route.cstruct nr_neigh *nr_neigh;
nr_neigh77net/netrom/nr_route.cfor (nr_neigh = nr_neigh_list; nr_neigh != NULL; nr_neigh = nr_neigh->next)
nr_neigh78net/netrom/nr_route.cif (ax25cmp(ax25, &nr_neigh->callsign) == 0 && nr_neigh->dev == dev)
nr_neigh81net/netrom/nr_route.cif (quality == 0 && nr_neigh != NULL && nr_node != NULL)
nr_neigh84net/netrom/nr_route.cif (nr_neigh == NULL) {
nr_neigh85net/netrom/nr_route.cif ((nr_neigh = (struct nr_neigh *)kmalloc(sizeof(*nr_neigh), GFP_ATOMIC)) == NULL)
nr_neigh88net/netrom/nr_route.cmemcpy(&nr_neigh->callsign, ax25, sizeof(ax25_address));
nr_neigh90net/netrom/nr_route.cnr_neigh->digipeat= NULL;
nr_neigh91net/netrom/nr_route.cnr_neigh->dev     = dev;
nr_neigh92net/netrom/nr_route.cnr_neigh->quality = nr_default.quality;
nr_neigh93net/netrom/nr_route.cnr_neigh->locked  = 0;
nr_neigh94net/netrom/nr_route.cnr_neigh->count   = 0;
nr_neigh95net/netrom/nr_route.cnr_neigh->number  = nr_neigh_no++;
nr_neigh98net/netrom/nr_route.cif ((nr_neigh->digipeat = kmalloc(sizeof(*ax25_digi), GFP_KERNEL)) == NULL) {
nr_neigh99net/netrom/nr_route.ckfree_s(nr_neigh, sizeof(*nr_neigh));
nr_neigh102net/netrom/nr_route.cmemcpy(nr_neigh->digipeat, ax25_digi, sizeof(*ax25_digi));
nr_neigh108net/netrom/nr_route.cnr_neigh->next = nr_neigh_list;
nr_neigh109net/netrom/nr_route.cnr_neigh_list  = nr_neigh;
nr_neigh126net/netrom/nr_route.cnr_node->routes[0].neighbour = nr_neigh->number;
nr_neigh136net/netrom/nr_route.cnr_neigh->count++;
nr_neigh142net/netrom/nr_route.cif (nr_node->routes[i].neighbour == nr_neigh->number) {
nr_neigh158net/netrom/nr_route.cnr_node->routes[0].neighbour = nr_neigh->number;
nr_neigh161net/netrom/nr_route.cnr_neigh->count++;
nr_neigh167net/netrom/nr_route.cnr_node->routes[2].neighbour = nr_neigh->number;
nr_neigh169net/netrom/nr_route.cnr_neigh->count++;
nr_neigh213net/netrom/nr_route.cif (nr_node->routes[i].neighbour == nr_neigh->number) {
nr_neigh252net/netrom/nr_route.cstatic void nr_remove_neigh(struct nr_neigh *nr_neigh)
nr_neigh254net/netrom/nr_route.cstruct nr_neigh *s;
nr_neigh260net/netrom/nr_route.cif ((s = nr_neigh_list) == nr_neigh) {
nr_neigh261net/netrom/nr_route.cnr_neigh_list = nr_neigh->next;
nr_neigh263net/netrom/nr_route.cif (nr_neigh->digipeat != NULL)
nr_neigh264net/netrom/nr_route.ckfree_s(nr_neigh->digipeat, sizeof(ax25_digi));
nr_neigh265net/netrom/nr_route.ckfree_s(nr_neigh, sizeof(struct nr_neigh));
nr_neigh270net/netrom/nr_route.cif (s->next == nr_neigh) {
nr_neigh271net/netrom/nr_route.cs->next = nr_neigh->next;
nr_neigh273net/netrom/nr_route.cif (nr_neigh->digipeat != NULL)
nr_neigh274net/netrom/nr_route.ckfree_s(nr_neigh->digipeat, sizeof(ax25_digi));
nr_neigh275net/netrom/nr_route.ckfree_s(nr_neigh, sizeof(struct nr_neigh));
nr_neigh292net/netrom/nr_route.cstruct nr_neigh *nr_neigh;
nr_neigh301net/netrom/nr_route.cfor (nr_neigh = nr_neigh_list; nr_neigh != NULL; nr_neigh = nr_neigh->next)
nr_neigh302net/netrom/nr_route.cif (ax25cmp(neighbour, &nr_neigh->callsign) == 0 && nr_neigh->dev == dev)
nr_neigh305net/netrom/nr_route.cif (nr_neigh == NULL) return -EINVAL;
nr_neigh308net/netrom/nr_route.cif (nr_node->routes[i].neighbour == nr_neigh->number) {
nr_neigh309net/netrom/nr_route.cnr_neigh->count--;
nr_neigh311net/netrom/nr_route.cif (nr_neigh->count == 0 && !nr_neigh->locked)
nr_neigh312net/netrom/nr_route.cnr_remove_neigh(nr_neigh);
nr_neigh341net/netrom/nr_route.cstruct nr_neigh *nr_neigh;
nr_neigh344net/netrom/nr_route.cfor (nr_neigh = nr_neigh_list; nr_neigh != NULL; nr_neigh = nr_neigh->next) {
nr_neigh345net/netrom/nr_route.cif (ax25cmp(callsign, &nr_neigh->callsign) == 0 && nr_neigh->dev == dev) {
nr_neigh346net/netrom/nr_route.cnr_neigh->quality = quality;
nr_neigh347net/netrom/nr_route.cnr_neigh->locked  = 1;
nr_neigh352net/netrom/nr_route.cif ((nr_neigh = (struct nr_neigh *)kmalloc(sizeof(*nr_neigh), GFP_ATOMIC)) == NULL)
nr_neigh355net/netrom/nr_route.cmemcpy(&nr_neigh->callsign, callsign, sizeof(ax25_address));
nr_neigh357net/netrom/nr_route.cnr_neigh->digipeat= NULL;
nr_neigh358net/netrom/nr_route.cnr_neigh->dev     = dev;
nr_neigh359net/netrom/nr_route.cnr_neigh->quality = quality;
nr_neigh360net/netrom/nr_route.cnr_neigh->locked  = 1;
nr_neigh361net/netrom/nr_route.cnr_neigh->count   = 0;
nr_neigh362net/netrom/nr_route.cnr_neigh->number  = nr_neigh_no++;
nr_neigh367net/netrom/nr_route.cnr_neigh->next = nr_neigh_list;
nr_neigh368net/netrom/nr_route.cnr_neigh_list  = nr_neigh;
nr_neigh381net/netrom/nr_route.cstruct nr_neigh *nr_neigh;
nr_neigh383net/netrom/nr_route.cfor (nr_neigh = nr_neigh_list; nr_neigh != NULL; nr_neigh = nr_neigh->next)
nr_neigh384net/netrom/nr_route.cif (ax25cmp(callsign, &nr_neigh->callsign) == 0 && nr_neigh->dev == dev)
nr_neigh387net/netrom/nr_route.cif (nr_neigh == NULL) return -EINVAL;
nr_neigh389net/netrom/nr_route.cnr_neigh->quality = quality;
nr_neigh390net/netrom/nr_route.cnr_neigh->locked  = 0;
nr_neigh392net/netrom/nr_route.cif (nr_neigh->count == 0)
nr_neigh393net/netrom/nr_route.cnr_remove_neigh(nr_neigh);
nr_neigh405net/netrom/nr_route.cstruct nr_neigh *t, *nr_neigh;
nr_neigh422net/netrom/nr_route.cnr_neigh = nr_neigh_list;
nr_neigh424net/netrom/nr_route.cwhile (nr_neigh != NULL) {
nr_neigh425net/netrom/nr_route.ct        = nr_neigh;
nr_neigh426net/netrom/nr_route.cnr_neigh = nr_neigh->next;
nr_neigh469net/netrom/nr_route.cstruct nr_neigh *s, *nr_neigh = nr_neigh_list;
nr_neigh473net/netrom/nr_route.cwhile (nr_neigh != NULL) {
nr_neigh474net/netrom/nr_route.cs        = nr_neigh;
nr_neigh475net/netrom/nr_route.cnr_neigh = nr_neigh->next;
nr_neigh620net/netrom/nr_route.cstruct nr_neigh *nr_neigh;
nr_neigh623net/netrom/nr_route.cfor (nr_neigh = nr_neigh_list; nr_neigh != NULL; nr_neigh = nr_neigh->next)
nr_neigh624net/netrom/nr_route.cif (ax25cmp(&nr_neigh->callsign, callsign) == 0 && nr_neigh->dev == dev)
nr_neigh627net/netrom/nr_route.cif (nr_neigh == NULL) return;
nr_neigh630net/netrom/nr_route.cif (nr_node->which >= nr_node->count && nr_node->routes[nr_node->which].neighbour == nr_neigh->number)
nr_neigh641net/netrom/nr_route.cstruct nr_neigh *nr_neigh;
nr_neigh666net/netrom/nr_route.cfor (nr_neigh = nr_neigh_list; nr_neigh != NULL; nr_neigh = nr_neigh->next)
nr_neigh667net/netrom/nr_route.cif (nr_neigh->number == nr_node->routes[nr_node->which].neighbour)
nr_neigh670net/netrom/nr_route.cif (nr_neigh == NULL)
nr_neigh679net/netrom/nr_route.cax25_send_frame(skb, (ax25_address *)dev->dev_addr, &nr_neigh->callsign, nr_neigh->digipeat, nr_neigh->dev);
nr_neigh735net/netrom/nr_route.cstruct nr_neigh *nr_neigh;
nr_neigh744net/netrom/nr_route.cfor (nr_neigh = nr_neigh_list; nr_neigh != NULL; nr_neigh = nr_neigh->next) {
nr_neigh746net/netrom/nr_route.cnr_neigh->number,
nr_neigh747net/netrom/nr_route.cax2asc(&nr_neigh->callsign),
nr_neigh748net/netrom/nr_route.cnr_neigh->dev ? nr_neigh->dev->name : "???",
nr_neigh749net/netrom/nr_route.cnr_neigh->quality,
nr_neigh750net/netrom/nr_route.cnr_neigh->locked,
nr_neigh751net/netrom/nr_route.cnr_neigh->count);