Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/ax25/
Dax25_route.c98 if (s->digipeat != NULL) in ax25_rt_device_down()
99 kfree(s->digipeat); in ax25_rt_device_down()
105 if (s->digipeat != NULL) in ax25_rt_device_down()
106 kfree(s->digipeat); in ax25_rt_device_down()
135 if (ax25_rt->digipeat != NULL) { in ax25_rt_ioctl()
136 kfree(ax25_rt->digipeat); in ax25_rt_ioctl()
137 ax25_rt->digipeat = NULL; in ax25_rt_ioctl()
140 if ((ax25_rt->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) in ax25_rt_ioctl()
142 ax25_rt->digipeat->lastrepeat = -1; in ax25_rt_ioctl()
143 ax25_rt->digipeat->ndigi = route.digi_count; in ax25_rt_ioctl()
[all …]
Daf_ax25.c153 if (ax25->digipeat != NULL) { in ax25_free_cb()
154 kfree(ax25->digipeat); in ax25_free_cb()
155 ax25->digipeat = NULL; in ax25_free_cb()
329 if (s->digipeat == NULL) in ax25_find_cb()
331 if (ax25digicmp(s->digipeat, digi) != 0) in ax25_find_cb()
334 if (s->digipeat != NULL && s->digipeat->ndigi != 0) in ax25_find_cb()
962 if (osk->protinfo.ax25->digipeat != NULL) { in ax25_make_new()
963 if ((ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { in ax25_make_new()
968 memcpy(ax25->digipeat, osk->protinfo.ax25->digipeat, sizeof(ax25_digi)); in ax25_make_new()
1161 if (sk->protinfo.ax25->digipeat != NULL) { in ax25_connect()
[all …]
Dax25_ip.c177 &dst_c, route->digipeat, dev); in ax25_rebuild_header()
193 if (route->digipeat != NULL) { in ax25_rebuild_header()
194 if ((ourskb = ax25_rt_build_path(skb, src, dst, route->digipeat)) == NULL) { in ax25_rebuild_header()
Dax25_in.c420 if (dp.ndigi && !ax25->digipeat && in ax25_rcv()
421 (ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { in ax25_rcv()
428 if (ax25->digipeat != NULL) { in ax25_rcv()
429 kfree(ax25->digipeat); in ax25_rcv()
430 ax25->digipeat = NULL; in ax25_rcv()
434 memcpy(ax25->digipeat, &reverse_dp, sizeof(ax25_digi)); in ax25_rcv()
Dax25_out.c96 if ((ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) { in ax25_send_frame()
100 memcpy(ax25->digipeat, digi, sizeof(ax25_digi)); in ax25_send_frame()
349 headroom = ax25_addr_size(ax25->digipeat); in ax25_transmit_buffer()
367 ax25_addr_build(ptr, &ax25->source_addr, &ax25->dest_addr, ax25->digipeat, type, ax25->modulus); in ax25_transmit_buffer()
Dax25_subr.c184 …if ((skb = alloc_skb(AX25_BPQ_HEADER_LEN + ax25_addr_size(ax25->digipeat) + 2, GFP_ATOMIC)) == NUL… in ax25_send_control()
187 skb_reserve(skb, AX25_BPQ_HEADER_LEN + ax25_addr_size(ax25->digipeat)); in ax25_send_control()
/linux-2.4.37.9/net/netrom/
Dnr_route.c115 nr_neigh->digipeat = NULL; in nr_add_node()
125 if ((nr_neigh->digipeat = kmalloc(sizeof(*ax25_digi), GFP_KERNEL)) == NULL) { in nr_add_node()
129 memcpy(nr_neigh->digipeat, ax25_digi, sizeof(ax25_digi)); in nr_add_node()
305 if (nr_neigh->digipeat != NULL) in nr_remove_neigh()
306 kfree(nr_neigh->digipeat); in nr_remove_neigh()
316 if (nr_neigh->digipeat != NULL) in nr_remove_neigh()
317 kfree(nr_neigh->digipeat); in nr_remove_neigh()
399 nr_neigh->digipeat = NULL; in nr_add_neigh()
409 if ((nr_neigh->digipeat = kmalloc(sizeof(*ax25_digi), GFP_KERNEL)) == NULL) { in nr_add_neigh()
413 memcpy(nr_neigh->digipeat, ax25_digi, sizeof(ax25_digi)); in nr_add_neigh()
[all …]
/linux-2.4.37.9/net/rose/
Drose_route.c88 rose_neigh->digipeat = NULL; in rose_add_node()
104 if ((rose_neigh->digipeat = kmalloc(sizeof(ax25_digi), GFP_KERNEL)) == NULL) { in rose_add_node()
109 rose_neigh->digipeat->ndigi = rose_route->ndigis; in rose_add_node()
110 rose_neigh->digipeat->lastrepeat = -1; in rose_add_node()
113 rose_neigh->digipeat->calls[i] = rose_route->digipeaters[i]; in rose_add_node()
114 rose_neigh->digipeat->repeated[i] = 0; in rose_add_node()
235 if (rose_neigh->digipeat != NULL) in rose_remove_neigh()
236 kfree(rose_neigh->digipeat); in rose_remove_neigh()
245 if (rose_neigh->digipeat != NULL) in rose_remove_neigh()
246 kfree(rose_neigh->digipeat); in rose_remove_neigh()
[all …]
Drose_link.c114 neigh->ax25 = ax25_send_frame(skb, 260, rose_call, &neigh->callsign, neigh->digipeat, neigh->dev); in rose_send_frame()
133 neigh->ax25 = ax25_find_cb(rose_call, &neigh->callsign, neigh->digipeat, neigh->dev); in rose_link_up()
/linux-2.4.37.9/include/net/
Dax25.h152 ax25_digi *digipeat; member
178 ax25_digi *digipeat; member
Dnetrom.h80 ax25_digi *digipeat; member
Drose.h85 ax25_digi *digipeat; member