Home
last modified time | relevance | path

Searched refs:digipeat (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/net/ax25/
Dax25_route.c55 kfree(s->digipeat); in ax25_rt_device_down()
61 kfree(s->digipeat); in ax25_rt_device_down()
91 kfree(ax25_rt->digipeat); in ax25_rt_add()
92 ax25_rt->digipeat = NULL; in ax25_rt_add()
94 if ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { in ax25_rt_add()
99 ax25_rt->digipeat->lastrepeat = -1; in ax25_rt_add()
100 ax25_rt->digipeat->ndigi = route->digi_count; in ax25_rt_add()
102 ax25_rt->digipeat->repeated[i] = 0; in ax25_rt_add()
103 ax25_rt->digipeat->calls[i] = route->digi_addr[i]; in ax25_rt_add()
121 ax25_rt->digipeat = NULL; in ax25_rt_add()
[all …]
Dax25_ip.c106 ax25_digi *digipeat = NULL; in ax25_ip_xmit() local
117 digipeat = route->digipeat; in ax25_ip_xmit()
177 &dst_c, digipeat, dev); in ax25_ip_xmit()
195 if (digipeat != NULL) { in ax25_ip_xmit()
196 if ((ourskb = ax25_rt_build_path(skb, src, dst, route->digipeat)) == NULL) in ax25_ip_xmit()
Dax25_in.c379 if (dp.ndigi && !ax25->digipeat && in ax25_rcv()
380 (ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { in ax25_rcv()
389 kfree(ax25->digipeat); in ax25_rcv()
390 ax25->digipeat = NULL; in ax25_rcv()
393 memcpy(ax25->digipeat, &reverse_dp, sizeof(ax25_digi)); in ax25_rcv()
Daf_ax25.c238 if (s->digipeat == NULL) in ax25_find_cb()
240 if (ax25digicmp(s->digipeat, digi) != 0) in ax25_find_cb()
243 if (s->digipeat != NULL && s->digipeat->ndigi != 0) in ax25_find_cb()
967 if (oax25->digipeat != NULL) { in ax25_make_new()
968 ax25->digipeat = kmemdup(oax25->digipeat, sizeof(ax25_digi), in ax25_make_new()
970 if (ax25->digipeat == NULL) { in ax25_make_new()
1224 kfree(ax25->digipeat); in ax25_connect()
1225 ax25->digipeat = NULL; in ax25_connect()
1296 ax25->digipeat = digi; in ax25_connect()
1466 if (ax25->digipeat != NULL) { in ax25_getname()
[all …]
Dax25_out.c68 ax25->digipeat = kmemdup(digi, sizeof(*digi), GFP_ATOMIC); in ax25_send_frame()
69 if (ax25->digipeat == NULL) { in ax25_send_frame()
336 headroom = ax25_addr_size(ax25->digipeat); in ax25_transmit_buffer()
348 ax25_addr_build(ptr, &ax25->source_addr, &ax25->dest_addr, ax25->digipeat, type, ax25->modulus); in ax25_transmit_buffer()
/linux-6.1.9/net/netrom/
Dnr_route.c153 nr_neigh->digipeat = NULL; in nr_add_node()
164 nr_neigh->digipeat = kmemdup(ax25_digi, in nr_add_node()
167 if (nr_neigh->digipeat == NULL) { in nr_add_node()
401 nr_neigh->digipeat = NULL; in nr_add_neigh()
412 nr_neigh->digipeat = kmemdup(ax25_digi, sizeof(*ax25_digi), in nr_add_neigh()
414 if (nr_neigh->digipeat == NULL) { in nr_add_neigh()
767 ret = nr_add_node(nr_src, "", &ax25->dest_addr, ax25->digipeat, in nr_route_frame()
830 nr_neigh->digipeat, nr_neigh->dev); in nr_route_frame()
939 if (nr_neigh->digipeat != NULL) { in nr_neigh_show()
940 for (i = 0; i < nr_neigh->digipeat->ndigi; i++) in nr_neigh_show()
[all …]
/linux-6.1.9/net/rose/
Drose_route.c92 rose_neigh->digipeat = NULL; in rose_add_node()
108 rose_neigh->digipeat = in rose_add_node()
110 if (rose_neigh->digipeat == NULL) { in rose_add_node()
116 rose_neigh->digipeat->ndigi = rose_route->ndigis; in rose_add_node()
117 rose_neigh->digipeat->lastrepeat = -1; in rose_add_node()
120 rose_neigh->digipeat->calls[i] = in rose_add_node()
122 rose_neigh->digipeat->repeated[i] = 0; in rose_add_node()
239 kfree(rose_neigh->digipeat); in rose_remove_neigh()
249 kfree(rose_neigh->digipeat); in rose_remove_neigh()
380 sn->digipeat = NULL; in rose_add_loopback_neigh()
[all …]
Drose_link.c106 neigh->ax25 = ax25_send_frame(skb, 260, rose_call, &neigh->callsign, neigh->digipeat, neigh->dev); in rose_send_frame()
129 neigh->ax25 = ax25_find_cb(rose_call, &neigh->callsign, neigh->digipeat, neigh->dev); in rose_link_up()
/linux-6.1.9/include/net/
Dnetrom.h92 ax25_digi *digipeat; member
142 kfree(nr_neigh->digipeat); in nr_neigh_put()
Dax25.h192 ax25_digi *digipeat; member
237 ax25_digi *digipeat; member
282 kfree(ax25->digipeat); in ax25_cb_put()
Drose.h95 ax25_digi *digipeat; member