tag | line | file | source code |
digipeat | 157 | include/net/ax25.h | ax25_digi *digipeat; |
digipeat | 84 | include/net/netrom.h | ax25_digi *digipeat; |
digipeat | 442 | net/ax25/af_ax25.c | if (ax25->digipeat != NULL) { |
digipeat | 443 | net/ax25/af_ax25.c | kfree_s(ax25->digipeat, sizeof(ax25_digi)); |
digipeat | 444 | net/ax25/af_ax25.c | ax25->digipeat = NULL; |
digipeat | 451 | net/ax25/af_ax25.c | if (ax25->digipeat != NULL) { |
digipeat | 452 | net/ax25/af_ax25.c | kfree_s(ax25->digipeat, sizeof(ax25_digi)); |
digipeat | 453 | net/ax25/af_ax25.c | ax25->digipeat = NULL; |
digipeat | 694 | net/ax25/af_ax25.c | ax25->digipeat = NULL; |
digipeat | 786 | net/ax25/af_ax25.c | if ((ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
digipeat | 790 | net/ax25/af_ax25.c | *ax25->digipeat = *digi; |
digipeat | 1207 | net/ax25/af_ax25.c | if (osk->ax25->digipeat != NULL) { |
digipeat | 1208 | net/ax25/af_ax25.c | if ((ax25->digipeat = (ax25_digi *)kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
digipeat | 1215 | net/ax25/af_ax25.c | *ax25->digipeat = *osk->ax25->digipeat; |
digipeat | 1403 | net/ax25/af_ax25.c | if (sk->ax25->digipeat == NULL) { |
digipeat | 1404 | net/ax25/af_ax25.c | if ((sk->ax25->digipeat = (ax25_digi *)kmalloc(sizeof(ax25_digi), GFP_KERNEL)) == NULL) |
digipeat | 1408 | net/ax25/af_ax25.c | sk->ax25->digipeat->ndigi = addr->sax25_ndigis; |
digipeat | 1411 | net/ax25/af_ax25.c | sk->ax25->digipeat->repeated[ct] = 0; |
digipeat | 1412 | net/ax25/af_ax25.c | sk->ax25->digipeat->calls[ct] = fsa->fsa_digipeater[ct]; |
digipeat | 1416 | net/ax25/af_ax25.c | sk->ax25->digipeat->lastrepeat = 0; |
digipeat | 1572 | net/ax25/af_ax25.c | if (sk->ax25->digipeat != NULL) { |
digipeat | 1573 | net/ax25/af_ax25.c | ndigi = sk->ax25->digipeat->ndigi; |
digipeat | 1577 | net/ax25/af_ax25.c | sax->fsa_digipeater[i] = sk->ax25->digipeat->calls[i]; |
digipeat | 1845 | net/ax25/af_ax25.c | if (dp.ndigi != 0 && ax25->digipeat == NULL && (ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
digipeat | 1852 | net/ax25/af_ax25.c | if (ax25->digipeat != NULL) { |
digipeat | 1853 | net/ax25/af_ax25.c | kfree_s(ax25->digipeat, sizeof(ax25_digi)); |
digipeat | 1854 | net/ax25/af_ax25.c | ax25->digipeat = NULL; |
digipeat | 1858 | net/ax25/af_ax25.c | ax25_digi_invert(&dp, ax25->digipeat); |
digipeat | 1998 | net/ax25/af_ax25.c | dp = sk->ax25->digipeat; |
digipeat | 264 | net/ax25/ax25_out.c | if (skb_headroom(skb) < size_ax25_addr(ax25->digipeat)) { |
digipeat | 271 | net/ax25/ax25_out.c | ptr = skb_push(skb, size_ax25_addr(ax25->digipeat)); |
digipeat | 272 | net/ax25/ax25_out.c | build_ax25_addr(ptr, &ax25->source_addr, &ax25->dest_addr, ax25->digipeat, type, ax25->modulus); |
digipeat | 72 | net/ax25/ax25_route.c | ax25_digi *digipeat; |
digipeat | 144 | net/ax25/ax25_route.c | if (ax25_rt->digipeat != NULL) { |
digipeat | 145 | net/ax25/ax25_route.c | kfree_s(ax25_rt->digipeat, sizeof(ax25_digi)); |
digipeat | 146 | net/ax25/ax25_route.c | ax25_rt->digipeat = NULL; |
digipeat | 151 | net/ax25/ax25_route.c | if (ax25_rt->digipeat == NULL && (ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) |
digipeat | 154 | net/ax25/ax25_route.c | ax25_route_invert(digi, ax25_rt->digipeat); |
digipeat | 164 | net/ax25/ax25_route.c | if (oldest->digipeat != NULL) |
digipeat | 165 | net/ax25/ax25_route.c | kfree_s(oldest->digipeat, sizeof(ax25_digi)); |
digipeat | 174 | net/ax25/ax25_route.c | ax25_rt->digipeat = NULL; |
digipeat | 181 | net/ax25/ax25_route.c | if ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
digipeat | 186 | net/ax25/ax25_route.c | ax25_route_invert(digi, ax25_rt->digipeat); |
digipeat | 212 | net/ax25/ax25_route.c | if (s->digipeat != NULL) |
digipeat | 213 | net/ax25/ax25_route.c | kfree_s((void *)s->digipeat, sizeof(ax25_digi)); |
digipeat | 219 | net/ax25/ax25_route.c | if (s->digipeat != NULL) |
digipeat | 220 | net/ax25/ax25_route.c | kfree_s((void *)s->digipeat, sizeof(ax25_digi)); |
digipeat | 250 | net/ax25/ax25_route.c | if (ax25_rt->digipeat != NULL) { |
digipeat | 251 | net/ax25/ax25_route.c | kfree_s(ax25_rt->digipeat, sizeof(ax25_digi)); |
digipeat | 252 | net/ax25/ax25_route.c | ax25_rt->digipeat = NULL; |
digipeat | 255 | net/ax25/ax25_route.c | if ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) |
digipeat | 257 | net/ax25/ax25_route.c | ax25_rt->digipeat->lastrepeat = 0; |
digipeat | 258 | net/ax25/ax25_route.c | ax25_rt->digipeat->ndigi = route.digi_count; |
digipeat | 260 | net/ax25/ax25_route.c | ax25_rt->digipeat->repeated[i] = 0; |
digipeat | 261 | net/ax25/ax25_route.c | ax25_rt->digipeat->calls[i] = route.digi_addr[i]; |
digipeat | 272 | net/ax25/ax25_route.c | ax25_rt->digipeat = NULL; |
digipeat | 278 | net/ax25/ax25_route.c | if ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
digipeat | 282 | net/ax25/ax25_route.c | ax25_rt->digipeat->lastrepeat = 0; |
digipeat | 283 | net/ax25/ax25_route.c | ax25_rt->digipeat->ndigi = route.digi_count; |
digipeat | 285 | net/ax25/ax25_route.c | ax25_rt->digipeat->repeated[i] = 0; |
digipeat | 286 | net/ax25/ax25_route.c | ax25_rt->digipeat->calls[i] = route.digi_addr[i]; |
digipeat | 309 | net/ax25/ax25_route.c | if (s->digipeat != NULL) |
digipeat | 310 | net/ax25/ax25_route.c | kfree_s((void *)s->digipeat, sizeof(ax25_digi)); |
digipeat | 316 | net/ax25/ax25_route.c | if (s->digipeat != NULL) |
digipeat | 317 | net/ax25/ax25_route.c | kfree_s((void *)s->digipeat, sizeof(ax25_digi)); |
digipeat | 417 | net/ax25/ax25_route.c | if (ax25_rt->digipeat != NULL) |
digipeat | 418 | net/ax25/ax25_route.c | for (i = 0; i < ax25_rt->digipeat->ndigi; i++) |
digipeat | 419 | net/ax25/ax25_route.c | len += sprintf(buffer + len, " %s", ax2asc(&ax25_rt->digipeat->calls[i])); |
digipeat | 512 | net/ax25/ax25_route.c | static inline void ax25_adjust_path(ax25_address *addr, ax25_digi *digipeat) |
digipeat | 516 | net/ax25/ax25_route.c | for (k = 0; k < digipeat->ndigi; k++) { |
digipeat | 517 | net/ax25/ax25_route.c | if (ax25cmp(addr, &digipeat->calls[k]) == 0) |
digipeat | 521 | net/ax25/ax25_route.c | digipeat->ndigi = k; |
digipeat | 546 | net/ax25/ax25_route.c | if (ax25_rt->digipeat != NULL) { |
digipeat | 547 | net/ax25/ax25_route.c | if ((ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) |
digipeat | 549 | net/ax25/ax25_route.c | *ax25->digipeat = *ax25_rt->digipeat; |
digipeat | 550 | net/ax25/ax25_route.c | ax25_adjust_path(addr, ax25->digipeat); |
digipeat | 569 | net/ax25/ax25_route.c | if (ax25_rt == NULL || ax25_rt->digipeat == NULL) |
digipeat | 572 | net/ax25/ax25_route.c | if ((ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) |
digipeat | 576 | net/ax25/ax25_route.c | *ax25->digipeat = *ax25_rt->digipeat; |
digipeat | 577 | net/ax25/ax25_route.c | ax25_adjust_path(addr, ax25->digipeat); |
digipeat | 583 | net/ax25/ax25_route.c | ax25_digi digipeat; |
digipeat | 590 | net/ax25/ax25_route.c | if (ax25_rt == NULL || ax25_rt->digipeat == NULL) |
digipeat | 593 | net/ax25/ax25_route.c | digipeat = *ax25_rt->digipeat; |
digipeat | 595 | net/ax25/ax25_route.c | ax25_adjust_path(addr, &digipeat); |
digipeat | 597 | net/ax25/ax25_route.c | len = ax25_rt->digipeat->ndigi * AX25_ADDR_LEN; |
digipeat | 611 | net/ax25/ax25_route.c | build_ax25_addr(bp, &src, &dest, ax25_rt->digipeat, C_COMMAND, MODULUS); |
digipeat | 211 | net/ax25/ax25_subr.c | if ((skb = alloc_skb(AX25_BPQ_HEADER_LEN + size_ax25_addr(ax25->digipeat) + 2, GFP_ATOMIC)) == NULL) |
digipeat | 214 | net/ax25/ax25_subr.c | skb_reserve(skb, AX25_BPQ_HEADER_LEN + size_ax25_addr(ax25->digipeat)); |
digipeat | 92 | net/netrom/nr_route.c | nr_neigh->digipeat = NULL; |
digipeat | 100 | net/netrom/nr_route.c | if ((nr_neigh->digipeat = kmalloc(sizeof(*ax25_digi), GFP_KERNEL)) == NULL) { |
digipeat | 104 | net/netrom/nr_route.c | *nr_neigh->digipeat = *ax25_digi; |
digipeat | 265 | net/netrom/nr_route.c | if (nr_neigh->digipeat != NULL) |
digipeat | 266 | net/netrom/nr_route.c | kfree_s(nr_neigh->digipeat, sizeof(ax25_digi)); |
digipeat | 275 | net/netrom/nr_route.c | if (nr_neigh->digipeat != NULL) |
digipeat | 276 | net/netrom/nr_route.c | kfree_s(nr_neigh->digipeat, sizeof(ax25_digi)); |
digipeat | 358 | net/netrom/nr_route.c | nr_neigh->digipeat = NULL; |
digipeat | 668 | net/netrom/nr_route.c | nr_add_node(nr_src, "", &ax25->dest_addr, ax25->digipeat, ax25->device, 0, nr_default.obs_count); |
digipeat | 705 | net/netrom/nr_route.c | ax25_send_frame(skb, (ax25_address *)dev->dev_addr, &nr_neigh->callsign, nr_neigh->digipeat, nr_neigh->dev); |