/linux/net/ax25/ |
H A 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 …]
|
H A D | ax25_ip.c | 65 buff += AX25_ADDR_LEN; in ax25_hard_header() 75 buff += AX25_ADDR_LEN; in ax25_hard_header()
|
H A D | ax25_route.c | 455 len = digi->ndigi * AX25_ADDR_LEN; in ax25_rt_build_path()
|
H A D | af_ax25.c | 1485 ax25->ax25_dev->dev->dev_addr, AX25_ADDR_LEN); in ax25_getname()
|
/linux/net/rose/ |
H A 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 …]
|
H A D | af_rose.c | 528 memset(&rose->dest_call, 0, AX25_ADDR_LEN); in rose_listen() 529 memset(rose->dest_digis, 0, AX25_ADDR_LEN * ROSE_MAX_DIGIS); in rose_listen()
|
/linux/net/netrom/ |
H A D | nr_subr.c | 164 memcpy(dptr, &nr->user_addr, AX25_ADDR_LEN); in nr_write_internal() 168 dptr += AX25_ADDR_LEN; in nr_write_internal() 169 memcpy(dptr, &nr->source_addr, AX25_ADDR_LEN); in nr_write_internal() 173 dptr += AX25_ADDR_LEN; in nr_write_internal() 228 skb_copy_from_linear_data_offset(skb, 7, dptr, AX25_ADDR_LEN); in __nr_transmit_reply() 232 dptr += AX25_ADDR_LEN; in __nr_transmit_reply() 234 skb_copy_from_linear_data(skb, dptr, AX25_ADDR_LEN); in __nr_transmit_reply() 238 dptr += AX25_ADDR_LEN; in __nr_transmit_reply()
|
H A 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()
|
H A 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()
|
H A D | af_netrom.c | 409 memset(&nr_sk(sk)->user_addr, 0, AX25_ADDR_LEN); in nr_listen() 1197 AX25_ADDR_LEN); in nr_recvmsg()
|
/linux/drivers/net/hamradio/ |
H A 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()
|
H A D | 6pack.c | 286 __dev_addr_set(dev, &sa->sax25_call, AX25_ADDR_LEN); in sp_set_mac_address() 308 dev->addr_len = AX25_ADDR_LEN; in sp_setup() 313 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in sp_setup() 701 dev->addr_len = AX25_ADDR_LEN; in sixpack_ioctl() 710 char addr[AX25_ADDR_LEN]; in sixpack_ioctl() 713 (void __user *)arg, AX25_ADDR_LEN)) { in sixpack_ioctl() 719 __dev_addr_set(dev, &addr, AX25_ADDR_LEN); in sixpack_ioctl()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | baycom_epp.c | 1154 dev->addr_len = AX25_ADDR_LEN; /* sizeof an ax.25 address */ in baycom_probe() 1155 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in baycom_probe()
|
/linux/include/net/ |
H A D | ax25.h | 27 #define AX25_ADDR_LEN 7 macro 28 #define AX25_DIGI_HEADER_LEN (AX25_MAX_DIGIS * AX25_ADDR_LEN)
|
/linux/drivers/net/ |
H A D | tun.c | 3073 return AX25_ADDR_LEN; in tun_get_addr_len()
|