tag | line | file | source code |
digipeat | 159 | include/net/ax25.h | ax25_digi *digipeat; |
digipeat | 84 | include/net/netrom.h | ax25_digi *digipeat; |
digipeat | 445 | net/ax25/af_ax25.c | if (ax25->digipeat != NULL) { |
digipeat | 446 | net/ax25/af_ax25.c | kfree_s(ax25->digipeat, sizeof(ax25_digi)); |
digipeat | 447 | net/ax25/af_ax25.c | ax25->digipeat = NULL; |
digipeat | 454 | net/ax25/af_ax25.c | if (ax25->digipeat != NULL) { |
digipeat | 455 | net/ax25/af_ax25.c | kfree_s(ax25->digipeat, sizeof(ax25_digi)); |
digipeat | 456 | net/ax25/af_ax25.c | ax25->digipeat = NULL; |
digipeat | 704 | net/ax25/af_ax25.c | ax25->digipeat = NULL; |
digipeat | 801 | net/ax25/af_ax25.c | if ((ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
digipeat | 805 | net/ax25/af_ax25.c | *ax25->digipeat = *digi; |
digipeat | 1222 | net/ax25/af_ax25.c | if (osk->ax25->digipeat != NULL) { |
digipeat | 1223 | net/ax25/af_ax25.c | if ((ax25->digipeat = (ax25_digi *)kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
digipeat | 1230 | net/ax25/af_ax25.c | *ax25->digipeat = *osk->ax25->digipeat; |
digipeat | 1421 | net/ax25/af_ax25.c | if (sk->ax25->digipeat == NULL) { |
digipeat | 1422 | net/ax25/af_ax25.c | if ((sk->ax25->digipeat = (ax25_digi *)kmalloc(sizeof(ax25_digi), GFP_KERNEL)) == NULL) |
digipeat | 1426 | net/ax25/af_ax25.c | sk->ax25->digipeat->ndigi = addr->sax25_ndigis; |
digipeat | 1429 | net/ax25/af_ax25.c | sk->ax25->digipeat->repeated[ct] = 0; |
digipeat | 1430 | net/ax25/af_ax25.c | sk->ax25->digipeat->calls[ct] = fsa->fsa_digipeater[ct]; |
digipeat | 1434 | net/ax25/af_ax25.c | sk->ax25->digipeat->lastrepeat = 0; |
digipeat | 1590 | net/ax25/af_ax25.c | if (sk->ax25->digipeat != NULL) { |
digipeat | 1591 | net/ax25/af_ax25.c | ndigi = sk->ax25->digipeat->ndigi; |
digipeat | 1595 | net/ax25/af_ax25.c | sax->fsa_digipeater[i] = sk->ax25->digipeat->calls[i]; |
digipeat | 1863 | net/ax25/af_ax25.c | if (dp.ndigi != 0 && ax25->digipeat == NULL && (ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { |
digipeat | 1870 | net/ax25/af_ax25.c | if (ax25->digipeat != NULL) { |
digipeat | 1871 | net/ax25/af_ax25.c | kfree_s(ax25->digipeat, sizeof(ax25_digi)); |
digipeat | 1872 | net/ax25/af_ax25.c | ax25->digipeat = NULL; |
digipeat | 1876 | net/ax25/af_ax25.c | ax25_digi_invert(&dp, ax25->digipeat); |
digipeat | 2016 | net/ax25/af_ax25.c | dp = sk->ax25->digipeat; |
digipeat | 280 | net/ax25/ax25_out.c | if (skb_headroom(skb) < size_ax25_addr(ax25->digipeat)) { |
digipeat | 287 | net/ax25/ax25_out.c | ptr = skb_push(skb, size_ax25_addr(ax25->digipeat)); |
digipeat | 288 | 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 | 591 | net/ax25/ax25_route.c | if (ax25_rt == NULL || ax25_rt->digipeat == NULL) |
digipeat | 594 | net/ax25/ax25_route.c | digipeat = *ax25_rt->digipeat; |
digipeat | 596 | net/ax25/ax25_route.c | ax25_adjust_path(addr, &digipeat); |
digipeat | 598 | net/ax25/ax25_route.c | len = ax25_rt->digipeat->ndigi * AX25_ADDR_LEN; |
digipeat | 610 | net/ax25/ax25_route.c | build_ax25_addr(bp, &src, &dest, ax25_rt->digipeat, C_COMMAND, MODULUS); |
digipeat | 213 | net/ax25/ax25_subr.c | if ((skb = alloc_skb(AX25_BPQ_HEADER_LEN + size_ax25_addr(ax25->digipeat) + 2, GFP_ATOMIC)) == NULL) |
digipeat | 216 | 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); |