Home
last modified time | relevance | path

Searched refs:AX25_ADDR_LEN (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/net/ax25/
Dax25_addr.c178 memcpy(dest, buf + 0, AX25_ADDR_LEN); in ax25_addr_parse()
180 memcpy(src, buf + 7, AX25_ADDR_LEN); in ax25_addr_parse()
182 buf += 2 * AX25_ADDR_LEN; in ax25_addr_parse()
183 len -= 2 * AX25_ADDR_LEN; in ax25_addr_parse()
191 if (len < AX25_ADDR_LEN) in ax25_addr_parse()
194 memcpy(&digi->calls[d], buf, AX25_ADDR_LEN); in ax25_addr_parse()
204 buf += AX25_ADDR_LEN; in ax25_addr_parse()
205 len -= AX25_ADDR_LEN; in ax25_addr_parse()
221 memcpy(buf, dest, AX25_ADDR_LEN); in ax25_addr_build()
227 buf += AX25_ADDR_LEN; in ax25_addr_build()
[all …]
Dax25_ip.c65 buff += AX25_ADDR_LEN; in ax25_hard_header()
75 buff += AX25_ADDR_LEN; in ax25_hard_header()
Dax25_route.c455 len = digi->ndigi * AX25_ADDR_LEN; in ax25_rt_build_path()
Daf_ax25.c1479 ax25->ax25_dev->dev->dev_addr, AX25_ADDR_LEN); in ax25_getname()
/linux-6.1.9/net/rose/
Drose_subr.c281 if (l < AX25_ADDR_LEN) in rose_parse_national()
283 memcpy(&facilities->source_digis[0], p + 2, AX25_ADDR_LEN); in rose_parse_national()
289 if (l < AX25_ADDR_LEN) in rose_parse_national()
291 memcpy(&facilities->dest_digis[0], p + 2, AX25_ADDR_LEN); in rose_parse_national()
296 if (l < AX25_ADDR_LEN) in rose_parse_national()
298 memcpy(&facilities->fail_call, p + 2, AX25_ADDR_LEN); in rose_parse_national()
306 if (l % AX25_ADDR_LEN) in rose_parse_national()
311 for (pt = p + 2, lg = 0 ; lg < l ; pt += AX25_ADDR_LEN, lg += AX25_ADDR_LEN) { in rose_parse_national()
315 memcpy(&facilities->dest_digis[facilities->dest_ndigis++], pt, AX25_ADDR_LEN); in rose_parse_national()
319 memcpy(&facilities->source_digis[facilities->source_ndigis++], pt, AX25_ADDR_LEN); in rose_parse_national()
[all …]
Daf_rose.c496 memset(&rose->dest_call, 0, AX25_ADDR_LEN); in rose_listen()
497 memset(rose->dest_digis, 0, AX25_ADDR_LEN * ROSE_MAX_DIGIS); in rose_listen()
/linux-6.1.9/net/netrom/
Dnr_subr.c163 memcpy(dptr, &nr->user_addr, AX25_ADDR_LEN); in nr_write_internal()
167 dptr += AX25_ADDR_LEN; in nr_write_internal()
168 memcpy(dptr, &nr->source_addr, AX25_ADDR_LEN); in nr_write_internal()
172 dptr += AX25_ADDR_LEN; in nr_write_internal()
226 skb_copy_from_linear_data_offset(skb, 7, dptr, AX25_ADDR_LEN); in __nr_transmit_reply()
230 dptr += AX25_ADDR_LEN; in __nr_transmit_reply()
232 skb_copy_from_linear_data(skb, dptr, AX25_ADDR_LEN); in __nr_transmit_reply()
236 dptr += AX25_ADDR_LEN; in __nr_transmit_reply()
Dnr_out.c195 memcpy(dptr, &nr->source_addr, AX25_ADDR_LEN); in nr_transmit_buffer()
199 dptr += AX25_ADDR_LEN; in nr_transmit_buffer()
201 memcpy(dptr, &nr->dest_addr, AX25_ADDR_LEN); in nr_transmit_buffer()
205 dptr += AX25_ADDR_LEN; in nr_transmit_buffer()
Dnr_dev.c75 buff += AX25_ADDR_LEN; in nr_header()
82 buff += AX25_ADDR_LEN; in nr_header()
173 dev->addr_len = AX25_ADDR_LEN; in nr_setup()
Daf_netrom.c404 memset(&nr_sk(sk)->user_addr, 0, AX25_ADDR_LEN); in nr_listen()
1187 AX25_ADDR_LEN); in nr_recvmsg()
/linux-6.1.9/drivers/net/hamradio/
Dmkiss.c349 __dev_addr_set(dev, &sa->sax25_call, AX25_ADDR_LEN); in ax_set_mac_address()
644 dev->addr_len = AX25_ADDR_LEN; in ax_setup()
651 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in ax_setup()
838 dev->addr_len = AX25_ADDR_LEN; in mkiss_ioctl()
847 char addr[AX25_ADDR_LEN]; in mkiss_ioctl()
850 (void __user *) arg, AX25_ADDR_LEN)) { in mkiss_ioctl()
856 __dev_addr_set(dev, addr, AX25_ADDR_LEN); in mkiss_ioctl()
D6pack.c292 __dev_addr_set(dev, &sa->sax25_call, AX25_ADDR_LEN); in sp_set_mac_address()
314 dev->addr_len = AX25_ADDR_LEN; in sp_setup()
319 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in sp_setup()
714 dev->addr_len = AX25_ADDR_LEN; in sixpack_ioctl()
723 char addr[AX25_ADDR_LEN]; in sixpack_ioctl()
726 (void __user *)arg, AX25_ADDR_LEN)) { in sixpack_ioctl()
732 __dev_addr_set(dev, &addr, AX25_ADDR_LEN); in sixpack_ioctl()
Dbpqether.c470 dev->addr_len = AX25_ADDR_LEN; in bpq_setup()
472 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in bpq_setup()
Dhdlcdrv.c677 dev->addr_len = AX25_ADDR_LEN; /* sizeof an ax.25 address */ in hdlcdrv_setup()
678 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in hdlcdrv_setup()
Dyam.c1106 dev->addr_len = AX25_ADDR_LEN; in yam_setup()
1107 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in yam_setup()
Dbaycom_epp.c1160 dev->addr_len = AX25_ADDR_LEN; /* sizeof an ax.25 address */ in baycom_probe()
1161 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in baycom_probe()
Dscc.c1572 dev->addr_len = AX25_ADDR_LEN; in scc_net_setup()
1574 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in scc_net_setup()
/linux-6.1.9/include/net/
Dax25.h27 #define AX25_ADDR_LEN 7 macro
28 #define AX25_DIGI_HEADER_LEN (AX25_MAX_DIGIS * AX25_ADDR_LEN)
/linux-6.1.9/drivers/net/
Dtun.c3036 return AX25_ADDR_LEN; in tun_get_addr_len()