Home
last modified time | relevance | path

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

/linux-3.4.99/net/ax25/
Dax25_addr.c181 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 …]
Dax25_ip.c69 buff += AX25_ADDR_LEN; in ax25_hard_header()
79 buff += AX25_ADDR_LEN; in ax25_hard_header()
Dax25_route.c466 len = digi->ndigi * AX25_ADDR_LEN; in ax25_rt_build_path()
Daf_ax25.c1426 ax25->ax25_dev->dev->dev_addr, AX25_ADDR_LEN); in ax25_getname()
/linux-3.4.99/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.c499 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/
Dnr_subr.c166 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()
Dnr_dev.c80 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()
Dnr_out.c198 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()
Daf_netrom.c411 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/
D6pack.c305 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()
Dmkiss.c358 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()
Dbpqether.c479 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()
Dhdlcdrv.c681 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()
Dyam.c1134 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()
Dbaycom_epp.c1151 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()
Ddmascc.c438 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()
Dscc.c1564 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/
Dax25.h23 #define AX25_ADDR_LEN 7 macro
24 #define AX25_DIGI_HEADER_LEN (AX25_MAX_DIGIS * AX25_ADDR_LEN)