/linux-3.4.99/net/ax25/ |
D | ax25_addr.c | 181 memcpy(dest, buf + 0, AX25_ADDR_LEN); in ax25_addr_parse() 183 memcpy(src, buf + 7, AX25_ADDR_LEN); in ax25_addr_parse() 185 buf += 2 * AX25_ADDR_LEN; in ax25_addr_parse() 186 len -= 2 * AX25_ADDR_LEN; in ax25_addr_parse() 195 memcpy(&digi->calls[d], buf, AX25_ADDR_LEN); in ax25_addr_parse() 205 buf += AX25_ADDR_LEN; in ax25_addr_parse() 206 len -= AX25_ADDR_LEN; in ax25_addr_parse() 222 memcpy(buf, dest, AX25_ADDR_LEN); in ax25_addr_build() 228 buf += AX25_ADDR_LEN; in ax25_addr_build() 229 len += AX25_ADDR_LEN; in ax25_addr_build() [all …]
|
D | ax25_ip.c | 69 buff += AX25_ADDR_LEN; in ax25_hard_header() 79 buff += AX25_ADDR_LEN; in ax25_hard_header()
|
D | ax25_route.c | 466 len = digi->ndigi * AX25_ADDR_LEN; in ax25_rt_build_path()
|
D | af_ax25.c | 1426 ax25->ax25_dev->dev->dev_addr, AX25_ADDR_LEN); in ax25_getname()
|
/linux-3.4.99/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 | 499 memset(&rose->dest_call, 0, AX25_ADDR_LEN); in rose_listen() 500 memset(rose->dest_digis, 0, AX25_ADDR_LEN * ROSE_MAX_DIGIS); in rose_listen()
|
/linux-3.4.99/net/netrom/ |
D | nr_subr.c | 166 memcpy(dptr, &nr->user_addr, AX25_ADDR_LEN); in nr_write_internal() 170 dptr += AX25_ADDR_LEN; in nr_write_internal() 171 memcpy(dptr, &nr->source_addr, AX25_ADDR_LEN); in nr_write_internal() 175 dptr += AX25_ADDR_LEN; in nr_write_internal() 229 skb_copy_from_linear_data_offset(skb, 7, dptr, AX25_ADDR_LEN); in __nr_transmit_reply() 233 dptr += AX25_ADDR_LEN; in __nr_transmit_reply() 235 skb_copy_from_linear_data(skb, dptr, AX25_ADDR_LEN); in __nr_transmit_reply() 239 dptr += AX25_ADDR_LEN; in __nr_transmit_reply()
|
D | nr_dev.c | 80 bp += AX25_ADDR_LEN; in nr_rebuild_header() 108 buff += AX25_ADDR_LEN; in nr_header() 115 buff += AX25_ADDR_LEN; in nr_header() 207 dev->addr_len = AX25_ADDR_LEN; in nr_setup()
|
D | nr_out.c | 198 memcpy(dptr, &nr->source_addr, AX25_ADDR_LEN); in nr_transmit_buffer() 202 dptr += AX25_ADDR_LEN; in nr_transmit_buffer() 204 memcpy(dptr, &nr->dest_addr, AX25_ADDR_LEN); in nr_transmit_buffer() 208 dptr += AX25_ADDR_LEN; in nr_transmit_buffer()
|
D | af_netrom.c | 411 memset(&nr_sk(sk)->user_addr, 0, AX25_ADDR_LEN); in nr_listen() 1183 AX25_ADDR_LEN); in nr_recvmsg()
|
/linux-3.4.99/drivers/net/hamradio/ |
D | 6pack.c | 305 memcpy(dev->dev_addr, &sa->sax25_call, AX25_ADDR_LEN); in sp_set_mac_address() 342 dev->addr_len = AX25_ADDR_LEN; in sp_setup() 347 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in sp_setup() 348 memcpy(dev->dev_addr, &ax25_defaddr, AX25_ADDR_LEN); in sp_setup() 747 dev->addr_len = AX25_ADDR_LEN; in sixpack_ioctl() 756 char addr[AX25_ADDR_LEN]; in sixpack_ioctl() 759 (void __user *) arg, AX25_ADDR_LEN)) { in sixpack_ioctl() 765 memcpy(dev->dev_addr, &addr, AX25_ADDR_LEN); in sixpack_ioctl()
|
D | mkiss.c | 358 memcpy(dev->dev_addr, &sa->sax25_call, AX25_ADDR_LEN); in ax_set_mac_address() 690 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in ax_setup() 691 memcpy(dev->dev_addr, &ax25_defaddr, AX25_ADDR_LEN); in ax_setup() 869 dev->addr_len = AX25_ADDR_LEN; in mkiss_ioctl() 878 char addr[AX25_ADDR_LEN]; in mkiss_ioctl() 881 (void __user *) arg, AX25_ADDR_LEN)) { in mkiss_ioctl() 887 memcpy(dev->dev_addr, addr, AX25_ADDR_LEN); in mkiss_ioctl()
|
D | bpqether.c | 479 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in bpq_setup() 480 memcpy(dev->dev_addr, &ax25_defaddr, AX25_ADDR_LEN); in bpq_setup() 491 dev->addr_len = AX25_ADDR_LEN; in bpq_setup()
|
D | hdlcdrv.c | 681 dev->addr_len = AX25_ADDR_LEN; /* sizeof an ax.25 address */ in hdlcdrv_setup() 682 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in hdlcdrv_setup() 683 memcpy(dev->dev_addr, &ax25_defaddr, AX25_ADDR_LEN); in hdlcdrv_setup()
|
D | yam.c | 1134 dev->addr_len = AX25_ADDR_LEN; in yam_setup() 1135 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in yam_setup() 1136 memcpy(dev->dev_addr, &ax25_defaddr, AX25_ADDR_LEN); in yam_setup()
|
D | baycom_epp.c | 1151 dev->addr_len = AX25_ADDR_LEN; /* sizeof an ax.25 address */ in baycom_probe() 1152 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in baycom_probe() 1153 memcpy(dev->dev_addr, &null_ax25_address, AX25_ADDR_LEN); in baycom_probe()
|
D | dmascc.c | 438 dev->addr_len = AX25_ADDR_LEN; in dev_setup() 440 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in dev_setup() 441 memcpy(dev->dev_addr, &ax25_defaddr, AX25_ADDR_LEN); in dev_setup()
|
D | scc.c | 1564 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in scc_net_setup() 1565 memcpy(dev->dev_addr, &ax25_defaddr, AX25_ADDR_LEN); in scc_net_setup() 1572 dev->addr_len = AX25_ADDR_LEN; in scc_net_setup()
|
/linux-3.4.99/include/net/ |
D | ax25.h | 23 #define AX25_ADDR_LEN 7 macro 24 #define AX25_DIGI_HEADER_LEN (AX25_MAX_DIGIS * AX25_ADDR_LEN)
|