/linux-6.1.9/net/ax25/ |
D | ax25_addr.c | 178 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 …]
|
D | ax25_ip.c | 65 buff += AX25_ADDR_LEN; in ax25_hard_header() 75 buff += AX25_ADDR_LEN; in ax25_hard_header()
|
D | ax25_route.c | 455 len = digi->ndigi * AX25_ADDR_LEN; in ax25_rt_build_path()
|
D | af_ax25.c | 1479 ax25->ax25_dev->dev->dev_addr, AX25_ADDR_LEN); in ax25_getname()
|
/linux-6.1.9/net/rose/ |
D | rose_subr.c | 281 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 …]
|
D | af_rose.c | 496 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/ |
D | nr_subr.c | 163 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()
|
D | nr_out.c | 195 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()
|
D | nr_dev.c | 75 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()
|
D | af_netrom.c | 404 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/ |
D | mkiss.c | 349 __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()
|
D | 6pack.c | 292 __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()
|
D | bpqether.c | 470 dev->addr_len = AX25_ADDR_LEN; in bpq_setup() 472 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in bpq_setup()
|
D | hdlcdrv.c | 677 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()
|
D | yam.c | 1106 dev->addr_len = AX25_ADDR_LEN; in yam_setup() 1107 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in yam_setup()
|
D | baycom_epp.c | 1160 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()
|
D | scc.c | 1572 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/ |
D | ax25.h | 27 #define AX25_ADDR_LEN 7 macro 28 #define AX25_DIGI_HEADER_LEN (AX25_MAX_DIGIS * AX25_ADDR_LEN)
|
/linux-6.1.9/drivers/net/ |
D | tun.c | 3036 return AX25_ADDR_LEN; in tun_get_addr_len()
|