rose_route        111 include/net/rose.h 	struct rose_route	*next;
rose_route        203 include/net/rose.h extern struct rose_route *rose_route_free_lci(unsigned int, struct rose_neigh *);
rose_route         45 net/rose/rose_route.c static struct rose_route *rose_route_list;
rose_route         66 net/rose/rose_route.c 		if ((rose_node->mask == rose_route->mask) &&
rose_route         67 net/rose/rose_route.c 		    (rosecmpm(&rose_route->address, &rose_node->address,
rose_route         68 net/rose/rose_route.c 			      rose_route->mask) == 0))
rose_route         80 net/rose/rose_route.c 		if (ax25cmp(&rose_route->neighbour, &rose_neigh->callsign) == 0
rose_route         93 net/rose/rose_route.c 		rose_neigh->callsign  = rose_route->neighbour;
rose_route        109 net/rose/rose_route.c 		if (rose_route->ndigis != 0) {
rose_route        116 net/rose/rose_route.c 			rose_neigh->digipeat->ndigi      = rose_route->ndigis;
rose_route        119 net/rose/rose_route.c 			for (i = 0; i < rose_route->ndigis; i++) {
rose_route        121 net/rose/rose_route.c 					rose_route->digipeaters[i];
rose_route        142 net/rose/rose_route.c 			if (rose_tmpn->mask > rose_route->mask) {
rose_route        157 net/rose/rose_route.c 		rose_node->address      = rose_route->address;
rose_route        158 net/rose/rose_route.c 		rose_node->mask         = rose_route->mask;
rose_route        259 net/rose/rose_route.c 	struct rose_route *s;
rose_route        261 net/rose/rose_route.c 	if (rose_route->neigh1 != NULL)
rose_route        262 net/rose/rose_route.c 		rose_route->neigh1->use--;
rose_route        264 net/rose/rose_route.c 	if (rose_route->neigh2 != NULL)
rose_route        265 net/rose/rose_route.c 		rose_route->neigh2->use--;
rose_route        267 net/rose/rose_route.c 	if ((s = rose_route_list) == rose_route) {
rose_route        268 net/rose/rose_route.c 		rose_route_list = rose_route->next;
rose_route        269 net/rose/rose_route.c 		kfree(rose_route);
rose_route        274 net/rose/rose_route.c 		if (s->next == rose_route) {
rose_route        275 net/rose/rose_route.c 			s->next = rose_route->next;
rose_route        276 net/rose/rose_route.c 			kfree(rose_route);
rose_route        300 net/rose/rose_route.c 		if ((rose_node->mask == rose_route->mask) &&
rose_route        301 net/rose/rose_route.c 		    (rosecmpm(&rose_route->address, &rose_node->address,
rose_route        302 net/rose/rose_route.c 			      rose_route->mask) == 0))
rose_route        314 net/rose/rose_route.c 		if (ax25cmp(&rose_route->neighbour, &rose_neigh->callsign) == 0
rose_route        525 net/rose/rose_route.c 	struct rose_route *s, *rose_route;
rose_route        528 net/rose/rose_route.c 	rose_route = rose_route_list;
rose_route        529 net/rose/rose_route.c 	while (rose_route != NULL) {
rose_route        530 net/rose/rose_route.c 		s          = rose_route;
rose_route        531 net/rose/rose_route.c 		rose_route = rose_route->next;
rose_route        652 net/rose/rose_route.c struct rose_route *rose_route_free_lci(unsigned int lci, struct rose_neigh *neigh)
rose_route        654 net/rose/rose_route.c 	struct rose_route *rose_route;
rose_route        656 net/rose/rose_route.c 	for (rose_route = rose_route_list; rose_route != NULL; rose_route = rose_route->next)
rose_route        657 net/rose/rose_route.c 		if ((rose_route->neigh1 == neigh && rose_route->lci1 == lci) ||
rose_route        658 net/rose/rose_route.c 		    (rose_route->neigh2 == neigh && rose_route->lci2 == lci))
rose_route        659 net/rose/rose_route.c 			return rose_route;
rose_route        715 net/rose/rose_route.c 	struct rose_route_struct rose_route;
rose_route        721 net/rose/rose_route.c 		if (copy_from_user(&rose_route, arg, sizeof(struct rose_route_struct)))
rose_route        723 net/rose/rose_route.c 		if ((dev = rose_ax25_dev_get(rose_route.device)) == NULL)
rose_route        725 net/rose/rose_route.c 		if (rose_dev_exists(&rose_route.address)) { /* Can't add routes to ourself */
rose_route        729 net/rose/rose_route.c 		if (rose_route.mask > 10) /* Mask can't be more than 10 digits */
rose_route        731 net/rose/rose_route.c 		if (rose_route.ndigis > AX25_MAX_DIGIS)
rose_route        733 net/rose/rose_route.c 		err = rose_add_node(&rose_route, dev);
rose_route        738 net/rose/rose_route.c 		if (copy_from_user(&rose_route, arg, sizeof(struct rose_route_struct)))
rose_route        740 net/rose/rose_route.c 		if ((dev = rose_ax25_dev_get(rose_route.device)) == NULL)
rose_route        742 net/rose/rose_route.c 		err = rose_del_node(&rose_route, dev);
rose_route        758 net/rose/rose_route.c 	struct rose_route *rose_route, *s;
rose_route        769 net/rose/rose_route.c 	rose_route = rose_route_list;
rose_route        771 net/rose/rose_route.c 	while (rose_route != NULL) {
rose_route        772 net/rose/rose_route.c 		if ((rose_route->neigh1 == rose_neigh && rose_route->neigh2 == rose_neigh) ||
rose_route        773 net/rose/rose_route.c 		    (rose_route->neigh1 == rose_neigh && rose_route->neigh2 == NULL)       ||
rose_route        774 net/rose/rose_route.c 		    (rose_route->neigh2 == rose_neigh && rose_route->neigh1 == NULL)) {
rose_route        775 net/rose/rose_route.c 			s = rose_route->next;
rose_route        776 net/rose/rose_route.c 			rose_remove_route(rose_route);
rose_route        777 net/rose/rose_route.c 			rose_route = s;
rose_route        781 net/rose/rose_route.c 		if (rose_route->neigh1 == rose_neigh) {
rose_route        782 net/rose/rose_route.c 			rose_route->neigh1->use--;
rose_route        783 net/rose/rose_route.c 			rose_route->neigh1 = NULL;
rose_route        784 net/rose/rose_route.c 			rose_transmit_clear_request(rose_route->neigh2, rose_route->lci2, ROSE_OUT_OF_ORDER, 0);
rose_route        787 net/rose/rose_route.c 		if (rose_route->neigh2 == rose_neigh) {
rose_route        788 net/rose/rose_route.c 			rose_route->neigh2->use--;
rose_route        789 net/rose/rose_route.c 			rose_route->neigh2 = NULL;
rose_route        790 net/rose/rose_route.c 			rose_transmit_clear_request(rose_route->neigh1, rose_route->lci1, ROSE_OUT_OF_ORDER, 0);
rose_route        793 net/rose/rose_route.c 		rose_route = rose_route->next;
rose_route        846 net/rose/rose_route.c 	struct rose_route *rose_route;
rose_route        946 net/rose/rose_route.c 	rose_route = rose_route_list;
rose_route        947 net/rose/rose_route.c 	while (rose_route != NULL) {
rose_route        948 net/rose/rose_route.c 		if (rose_route->lci1 == lci &&
rose_route        949 net/rose/rose_route.c 		    rose_route->neigh1 == rose_neigh) {
rose_route        952 net/rose/rose_route.c 				rose_remove_route(rose_route);
rose_route        954 net/rose/rose_route.c 			} else if (rose_route->neigh2 != NULL) {
rose_route        956 net/rose/rose_route.c 				skb->data[0] |= (rose_route->lci2 >> 8) & 0x0F;
rose_route        957 net/rose/rose_route.c 				skb->data[1]  = (rose_route->lci2 >> 0) & 0xFF;
rose_route        958 net/rose/rose_route.c 				rose_transmit_link(skb, rose_route->neigh2);
rose_route        960 net/rose/rose_route.c 					rose_remove_route(rose_route);
rose_route        965 net/rose/rose_route.c 					rose_remove_route(rose_route);
rose_route        969 net/rose/rose_route.c 		if (rose_route->lci2 == lci &&
rose_route        970 net/rose/rose_route.c 		    rose_route->neigh2 == rose_neigh) {
rose_route        973 net/rose/rose_route.c 				rose_remove_route(rose_route);
rose_route        975 net/rose/rose_route.c 			} else if (rose_route->neigh1 != NULL) {
rose_route        977 net/rose/rose_route.c 				skb->data[0] |= (rose_route->lci1 >> 8) & 0x0F;
rose_route        978 net/rose/rose_route.c 				skb->data[1]  = (rose_route->lci1 >> 0) & 0xFF;
rose_route        979 net/rose/rose_route.c 				rose_transmit_link(skb, rose_route->neigh1);
rose_route        981 net/rose/rose_route.c 					rose_remove_route(rose_route);
rose_route        986 net/rose/rose_route.c 					rose_remove_route(rose_route);
rose_route        990 net/rose/rose_route.c 		rose_route = rose_route->next;
rose_route       1016 net/rose/rose_route.c 	rose_route = rose_route_list;
rose_route       1017 net/rose/rose_route.c 	while (rose_route != NULL) {
rose_route       1018 net/rose/rose_route.c 		if (rose_route->rand == facilities.rand &&
rose_route       1019 net/rose/rose_route.c 		    rosecmp(src_addr, &rose_route->src_addr) == 0 &&
rose_route       1020 net/rose/rose_route.c 		    ax25cmp(&facilities.dest_call, &rose_route->src_call) == 0 &&
rose_route       1021 net/rose/rose_route.c 		    ax25cmp(&facilities.source_call, &rose_route->dest_call) == 0) {
rose_route       1025 net/rose/rose_route.c 		rose_route = rose_route->next;
rose_route       1038 net/rose/rose_route.c 	if ((rose_route = kmalloc(sizeof(*rose_route), GFP_ATOMIC)) == NULL) {
rose_route       1043 net/rose/rose_route.c 	rose_route->lci1      = lci;
rose_route       1044 net/rose/rose_route.c 	rose_route->src_addr  = *src_addr;
rose_route       1045 net/rose/rose_route.c 	rose_route->dest_addr = *dest_addr;
rose_route       1046 net/rose/rose_route.c 	rose_route->src_call  = facilities.dest_call;
rose_route       1047 net/rose/rose_route.c 	rose_route->dest_call = facilities.source_call;
rose_route       1048 net/rose/rose_route.c 	rose_route->rand      = facilities.rand;
rose_route       1049 net/rose/rose_route.c 	rose_route->neigh1    = rose_neigh;
rose_route       1050 net/rose/rose_route.c 	rose_route->lci2      = new_lci;
rose_route       1051 net/rose/rose_route.c 	rose_route->neigh2    = new_neigh;
rose_route       1053 net/rose/rose_route.c 	rose_route->neigh1->use++;
rose_route       1054 net/rose/rose_route.c 	rose_route->neigh2->use++;
rose_route       1056 net/rose/rose_route.c 	rose_route->next = rose_route_list;
rose_route       1057 net/rose/rose_route.c 	rose_route_list  = rose_route;
rose_route       1060 net/rose/rose_route.c 	skb->data[0] |= (rose_route->lci2 >> 8) & 0x0F;
rose_route       1061 net/rose/rose_route.c 	skb->data[1]  = (rose_route->lci2 >> 0) & 0xFF;
rose_route       1063 net/rose/rose_route.c 	rose_transmit_link(skb, rose_route->neigh2);
rose_route       1241 net/rose/rose_route.c 	struct rose_route *rose_route;
rose_route       1248 net/rose/rose_route.c 	for (rose_route = rose_route_list; rose_route && i < *pos;
rose_route       1249 net/rose/rose_route.c 	     rose_route = rose_route->next, ++i);
rose_route       1251 net/rose/rose_route.c 	return (i == *pos) ? rose_route : NULL;
rose_route       1259 net/rose/rose_route.c 		: ((struct rose_route *)v)->next;
rose_route       1276 net/rose/rose_route.c 		struct rose_route *rose_route = v;
rose_route       1278 net/rose/rose_route.c 		if (rose_route->neigh1)
rose_route       1281 net/rose/rose_route.c 				   rose_route->lci1,
rose_route       1282 net/rose/rose_route.c 				   rose2asc(&rose_route->src_addr),
rose_route       1283 net/rose/rose_route.c 				   ax2asc(buf, &rose_route->src_call),
rose_route       1284 net/rose/rose_route.c 				   rose_route->neigh1->number);
rose_route       1289 net/rose/rose_route.c 		if (rose_route->neigh2)
rose_route       1292 net/rose/rose_route.c 				rose_route->lci2,
rose_route       1293 net/rose/rose_route.c 				rose2asc(&rose_route->dest_addr),
rose_route       1294 net/rose/rose_route.c 				ax2asc(buf, &rose_route->dest_call),
rose_route       1295 net/rose/rose_route.c 				rose_route->neigh2->number);
rose_route       1332 net/rose/rose_route.c 	struct rose_route *u, *rose_route = rose_route_list;
rose_route       1348 net/rose/rose_route.c 	while (rose_route != NULL) {
rose_route       1349 net/rose/rose_route.c 		u          = rose_route;
rose_route       1350 net/rose/rose_route.c 		rose_route = rose_route->next;