Home
last modified time | relevance | path

Searched refs:ax25_address (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/include/uapi/linux/
Dax25.h48 } ax25_address; typedef
52 ax25_address sax25_call;
61 ax25_address fsa_digipeater[AX25_MAX_DIGIS];
65 ax25_address port_addr;
66 ax25_address dest_addr;
68 ax25_address digi_addr[AX25_MAX_DIGIS];
72 ax25_address port_addr;
73 ax25_address dest_addr;
79 ax25_address port_addr;
80 ax25_address source_addr;
[all …]
Drose.h53 ax25_address srose_call;
55 ax25_address srose_digi;
61 ax25_address srose_call;
63 ax25_address srose_digis[ROSE_MAX_DIGIS];
69 ax25_address neighbour;
72 ax25_address digipeaters[AX25_MAX_DIGIS];
82 ax25_address source_call, dest_call;
84 ax25_address source_digis[ROSE_MAX_DIGIS];
85 ax25_address dest_digis[ROSE_MAX_DIGIS];
88 ax25_address fail_call;
Dnetrom.h27 ax25_address callsign;
31 ax25_address neighbour;
34 ax25_address digipeaters[AX25_MAX_DIGIS];
/linux-6.1.9/include/net/
Dax25.h165 ax25_address call;
182 ax25_address calls[AX25_MAX_DIGIS];
190 ax25_address callsign;
236 ax25_address source_addr, dest_addr;
310 struct sock *ax25_find_listener(ax25_address *, int, struct net_device *, int);
311 struct sock *ax25_get_socket(ax25_address *, ax25_address *, int);
312 ax25_cb *ax25_find_cb(const ax25_address *, ax25_address *, ax25_digi *,
314 void ax25_send_to_raw(ax25_address *, struct sk_buff *, int);
321 extern const ax25_address ax25_bcast;
322 extern const ax25_address ax25_defaddr;
[all …]
Drose.h94 ax25_address callsign;
122 ax25_address src_call, dest_call;
130 ax25_address source_call, dest_call;
132 ax25_address source_digis[ROSE_MAX_DIGIS];
133 ax25_address dest_digis[ROSE_MAX_DIGIS];
155 extern ax25_address rose_callsign;
Dnetrom.h69 ax25_address user_addr, source_addr, dest_addr;
91 ax25_address callsign;
111 ax25_address callsign;
217 struct net_device *nr_dev_get(ax25_address *);
/linux-6.1.9/net/ax25/
Dax25_addr.c32 const ax25_address ax25_bcast =
34 const ax25_address ax25_defaddr =
36 const ax25_address null_ax25_address =
46 char *ax2asc(char *buf, const ax25_address *a) in ax2asc()
79 void asc2ax(ax25_address *addr, const char *callsign) in asc2ax()
114 int ax25cmp(const ax25_address *a, const ax25_address *b) in ax25cmp()
157 ax25_address *src, ax25_address *dest, ax25_digi *digi, int *flags, in ax25_addr_parse()
215 int ax25_addr_build(unsigned char *buf, const ax25_address *src, in ax25_addr_build()
216 const ax25_address *dest, const ax25_digi *d, int flag, int modulus) in ax25_addr_build()
Dax25_ip.c105 ax25_address *src, *dst; in ax25_ip_xmit()
111 dst = (ax25_address *)(bp + 1); in ax25_ip_xmit()
112 src = (ax25_address *)(bp + 8); in ax25_ip_xmit()
148 ax25_address src_c; in ax25_ip_xmit()
149 ax25_address dst_c; in ax25_ip_xmit()
167 dst_c = *(ax25_address *)(bp + 1); in ax25_ip_xmit()
168 src_c = *(ax25_address *)(bp + 8); in ax25_ip_xmit()
Dax25_iface.c36 ax25_address callsign;
101 int ax25_listen_register(const ax25_address *callsign, struct net_device *dev) in ax25_listen_register()
124 void ax25_listen_release(const ax25_address *callsign, struct net_device *dev) in ax25_listen_release()
174 int ax25_listen_mine(const ax25_address *callsign, struct net_device *dev) in ax25_listen_mine()
Dax25_route.c345 ax25_route *ax25_get_route(ax25_address *addr, struct net_device *dev) in ax25_get_route()
381 static inline void ax25_adjust_path(ax25_address *addr, ax25_digi *digipeat) in ax25_adjust_path()
397 int ax25_rt_autobind(ax25_cb *ax25, ax25_address *addr) in ax25_rt_autobind()
423 ax25->source_addr = *(ax25_address *)ax25->ax25_dev->dev->dev_addr; in ax25_rt_autobind()
449 struct sk_buff *ax25_rt_build_path(struct sk_buff *skb, ax25_address *src, in ax25_rt_build_path()
450 ax25_address *dest, ax25_digi *digi) in ax25_rt_build_path()
Dax25_in.c184 const ax25_address *dev_addr, struct packet_type *ptype) in ax25_rcv()
186 ax25_address src, dest, *next_digi = NULL; in ax25_rcv()
234 if (!mine && ax25cmp(&dest, (ax25_address *)dev->broadcast) != 0) in ax25_rcv()
450 return ax25_rcv(skb, dev, (const ax25_address *)dev->dev_addr, ptype); in ax25_kiss_rcv()
Dax25_dev.c32 ax25_dev *ax25_addr_ax25dev(ax25_address *addr) in ax25_addr_ax25dev()
38 if (ax25cmp(addr, (const ax25_address *)ax25_dev->dev->dev_addr) == 0) { in ax25_addr_ax25dev()
Daf_ax25.c172 struct sock *ax25_find_listener(ax25_address *addr, int digi, in ax25_find_listener()
199 struct sock *ax25_get_socket(ax25_address *my_addr, ax25_address *dest_addr, in ax25_get_socket()
225 ax25_cb *ax25_find_cb(const ax25_address *src_addr, ax25_address *dest_addr, in ax25_find_cb()
259 void ax25_send_to_raw(ax25_address *addr, struct sk_buff *skb, int proto) in ax25_send_to_raw()
1092 ax25_address call; in ax25_bind()
1101 if ((addr_len < sizeof(struct sockaddr_ax25) + sizeof(ax25_address) * 6) || in ax25_bind()
1188 if ((addr_len < sizeof(struct sockaddr_ax25) + sizeof(ax25_address) * 6) || in ax25_connect()
1236 sizeof(ax25_address) * fsa->fsa_ax25.sax25_ndigis) { in ax25_connect()
1544 if ((addr_len < sizeof(struct sockaddr_ax25) + sizeof(ax25_address) * 6) || in ax25_sendmsg()
1559 sizeof(ax25_address) * usax->sax25_ndigis) { in ax25_sendmsg()
[all …]
Dax25_subr.c187 void ax25_return_dm(struct net_device *dev, ax25_address *src, ax25_address *dest, ax25_digi *digi) in ax25_return_dm()
Dax25_out.c32 ax25_cb *ax25_send_frame(struct sk_buff *skb, int paclen, const ax25_address *src, ax25_address *de… in ax25_send_frame()
/linux-6.1.9/net/netrom/
Dnr_dev.c107 err = ax25_listen_register((ax25_address *)sa->sa_data, NULL); in nr_set_mac_address()
111 ax25_listen_release((const ax25_address *)dev->dev_addr, NULL); in nr_set_mac_address()
123 err = ax25_listen_register((const ax25_address *)dev->dev_addr, NULL); in nr_open()
134 ax25_listen_release((const ax25_address *)dev->dev_addr, NULL); in nr_close()
Dnr_route.c44 static struct nr_node *nr_node_get(ax25_address *callsign) in nr_node_get()
60 static struct nr_neigh *nr_neigh_get_dev(ax25_address *callsign, in nr_neigh_get_dev()
97 static int __must_check nr_add_node(ax25_address *nr, const char *mnemonic, in nr_add_node()
98 ax25_address *ax25, ax25_digi *ax25_digi, struct net_device *dev, in nr_add_node()
324 static int nr_del_node(ax25_address *callsign, ax25_address *neighbour, struct net_device *dev) in nr_del_node()
384 static int __must_check nr_add_neigh(ax25_address *callsign, in nr_add_neigh()
432 static int nr_del_neigh(ax25_address *callsign, struct net_device *dev, unsigned int quality) in nr_del_neigh()
594 struct net_device *nr_dev_get(ax25_address *addr) in nr_dev_get()
601 ax25cmp(addr, (const ax25_address *)dev->dev_addr) == 0) { in nr_dev_get()
613 ax25_address *digipeaters) in nr_call_to_digi()
[all …]
Dnr_loopback.c51 ax25_address *nr_dest; in nr_loopback_timer()
55 nr_dest = (ax25_address *)(skb->data + 7); in nr_loopback_timer()
Daf_netrom.c145 static struct sock *nr_find_listener(ax25_address *addr) in nr_find_listener()
188 ax25_address *dest) in nr_find_peer()
566 ax25_address *source; in nr_bind()
577 …if (addr_len < (addr->fsa_ax25.sax25_ndigis * sizeof(ax25_address) + sizeof(struct sockaddr_ax25))… in nr_bind()
636 const ax25_address *source = NULL; in nr_connect()
676 source = (const ax25_address *)dev->dev_addr; in nr_connect()
866 ax25_address *src, *dest, *user; in nr_rx_frame()
878 src = (ax25_address *)(skb->data + 0); in nr_rx_frame()
879 dest = (ax25_address *)(skb->data + 7); in nr_rx_frame()
956 user = (ax25_address *)(skb->data + 21); in nr_rx_frame()
/linux-6.1.9/net/rose/
Drose_link.c97 const ax25_address *rose_call; in rose_send_frame()
101 rose_call = (const ax25_address *)neigh->dev->dev_addr; in rose_send_frame()
120 const ax25_address *rose_call; in rose_link_up()
124 rose_call = (const ax25_address *)neigh->dev->dev_addr; in rose_link_up()
Daf_rose.c65 ax25_address rose_callsign;
244 static struct sock *rose_find_listener(rose_address *addr, ax25_address *call) in rose_find_listener()
665 ax25_address *source; in rose_bind()
1355 if (copy_from_user(&rose_callsign, argp, sizeof(ax25_address))) in rose_ioctl()
1363 return copy_to_user(argp, &rose_callsign, sizeof(ax25_address)) ? -EFAULT : 0; in rose_ioctl()
/linux-6.1.9/net/ipv4/
Darp.c1334 static void ax2asc2(ax25_address *a, char *buf) in ax2asc2()
1378 ax2asc2((ax25_address *)n->ha, hbuffer); in arp_format_neigh_entry()