Home
last modified time | relevance | path

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

/linux/net/ax25/
H A 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 …]
H A Dax25_ip.c65 buff += AX25_ADDR_LEN; in ax25_hard_header()
75 buff += AX25_ADDR_LEN; in ax25_hard_header()
H A Dax25_route.c455 len = digi->ndigi * AX25_ADDR_LEN; in ax25_rt_build_path()
H A Daf_ax25.c1485 ax25->ax25_dev->dev->dev_addr, AX25_ADDR_LEN); in ax25_getname()
/linux/net/rose/
H A 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 …]
H A Daf_rose.c528 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 Dnr_subr.c164 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 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()
H A 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()
H A Daf_netrom.c409 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 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()
H A D6pack.c286 __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 Dbpqether.c470 dev->addr_len = AX25_ADDR_LEN; in bpq_setup()
472 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in bpq_setup()
H A 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()
H A Dyam.c1106 dev->addr_len = AX25_ADDR_LEN; in yam_setup()
1107 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); in yam_setup()
H A Dbaycom_epp.c1154 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 Dax25.h27 #define AX25_ADDR_LEN 7 macro
28 #define AX25_DIGI_HEADER_LEN (AX25_MAX_DIGIS * AX25_ADDR_LEN)
/linux/drivers/net/
H A Dtun.c3073 return AX25_ADDR_LEN; in tun_get_addr_len()