Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Dax25.h47 } ax25_address; typedef
51 ax25_address sax25_call;
60 ax25_address fsa_digipeater[AX25_MAX_DIGIS];
64 ax25_address port_addr;
65 ax25_address dest_addr;
67 ax25_address digi_addr[AX25_MAX_DIGIS];
71 ax25_address port_addr;
72 ax25_address dest_addr;
78 ax25_address port_addr;
79 ax25_address source_addr;
[all …]
Drose.h52 ax25_address srose_call;
54 ax25_address srose_digi;
60 ax25_address srose_call;
62 ax25_address srose_digis[ROSE_MAX_DIGIS];
68 ax25_address neighbour;
71 ax25_address digipeaters[AX25_MAX_DIGIS];
81 ax25_address source_call, dest_call;
83 ax25_address source_digis[ROSE_MAX_DIGIS];
84 ax25_address dest_digis[ROSE_MAX_DIGIS];
87 ax25_address fail_call;
Dnetrom.h26 ax25_address callsign;
30 ax25_address neighbour;
33 ax25_address digipeaters[AX25_MAX_DIGIS];
/linux-3.4.99/include/net/
Dax25.h161 ax25_address call;
178 ax25_address calls[AX25_MAX_DIGIS];
187 ax25_address callsign;
227 ax25_address source_addr, dest_addr;
276 struct sock *ax25_find_listener(ax25_address *, int, struct net_device *, int);
277 struct sock *ax25_get_socket(ax25_address *, ax25_address *, int);
278 extern ax25_cb *ax25_find_cb(ax25_address *, ax25_address *, ax25_digi *, struct net_device *);
279 extern void ax25_send_to_raw(ax25_address *, struct sk_buff *, int);
286 extern const ax25_address ax25_bcast;
287 extern const ax25_address ax25_defaddr;
[all …]
Drose.h92 ax25_address callsign;
120 ax25_address src_call, dest_call;
128 ax25_address source_call, dest_call;
130 ax25_address source_digis[ROSE_MAX_DIGIS];
131 ax25_address dest_digis[ROSE_MAX_DIGIS];
152 extern ax25_address rose_callsign;
Dnetrom.h65 ax25_address user_addr, source_addr, dest_addr;
87 ax25_address callsign;
107 ax25_address callsign;
213 extern struct net_device *nr_dev_get(ax25_address *);
/linux-3.4.99/net/ax25/
Dax25_addr.c35 const ax25_address ax25_bcast =
37 const ax25_address ax25_defaddr =
39 const ax25_address null_ax25_address =
49 char *ax2asc(char *buf, const ax25_address *a) in ax2asc()
82 void asc2ax(ax25_address *addr, const char *callsign) in asc2ax()
117 int ax25cmp(const ax25_address *a, const ax25_address *b) in ax25cmp()
160 ax25_address *src, ax25_address *dest, ax25_digi *digi, int *flags, in ax25_addr_parse()
216 int ax25_addr_build(unsigned char *buf, const ax25_address *src, in ax25_addr_build()
217 const ax25_address *dest, const ax25_digi *d, int flag, int modulus) in ax25_addr_build()
Dax25_ip.c109 ax25_address *src, *dst; in ax25_rebuild_header()
115 dst = (ax25_address *)(bp + 1); in ax25_rebuild_header()
116 src = (ax25_address *)(bp + 8); in ax25_rebuild_header()
153 ax25_address src_c; in ax25_rebuild_header()
154 ax25_address dst_c; in ax25_rebuild_header()
172 dst_c = *(ax25_address *)(bp + 1); in ax25_rebuild_header()
173 src_c = *(ax25_address *)(bp + 8); in ax25_rebuild_header()
Dax25_iface.c39 ax25_address callsign;
104 int ax25_listen_register(ax25_address *callsign, struct net_device *dev) in ax25_listen_register()
127 void ax25_listen_release(ax25_address *callsign, struct net_device *dev) in ax25_listen_release()
177 int ax25_listen_mine(ax25_address *callsign, struct net_device *dev) in ax25_listen_mine()
Dax25_route.c353 ax25_route *ax25_get_route(ax25_address *addr, struct net_device *dev) in ax25_get_route()
395 static inline void ax25_adjust_path(ax25_address *addr, ax25_digi *digipeat) in ax25_adjust_path()
411 int ax25_rt_autobind(ax25_cb *ax25, ax25_address *addr) in ax25_rt_autobind()
434 ax25->source_addr = *(ax25_address *)ax25->ax25_dev->dev->dev_addr; in ax25_rt_autobind()
459 struct sk_buff *ax25_rt_build_path(struct sk_buff *skb, ax25_address *src, in ax25_rt_build_path()
460 ax25_address *dest, ax25_digi *digi) in ax25_rt_build_path()
Dax25_in.c188 ax25_address *dev_addr, struct packet_type *ptype) in ax25_rcv()
190 ax25_address src, dest, *next_digi = NULL; in ax25_rcv()
238 if (!mine && ax25cmp(&dest, (ax25_address *)dev->broadcast) != 0) in ax25_rcv()
454 return ax25_rcv(skb, dev, (ax25_address *)dev->dev_addr, ptype); in ax25_kiss_rcv()
Dax25_dev.c35 ax25_dev *ax25_addr_ax25dev(ax25_address *addr) in ax25_addr_ax25dev()
41 if (ax25cmp(addr, (ax25_address *)ax25_dev->dev->dev_addr) == 0) { in ax25_addr_ax25dev()
Daf_ax25.c157 struct sock *ax25_find_listener(ax25_address *addr, int digi, in ax25_find_listener()
185 struct sock *ax25_get_socket(ax25_address *my_addr, ax25_address *dest_addr, in ax25_get_socket()
212 ax25_cb *ax25_find_cb(ax25_address *src_addr, ax25_address *dest_addr, in ax25_find_cb()
247 void ax25_send_to_raw(ax25_address *addr, struct sk_buff *skb, int proto) in ax25_send_to_raw()
1045 ax25_address call; in ax25_bind()
1054 if ((addr_len < sizeof(struct sockaddr_ax25) + sizeof(ax25_address) * 6) || in ax25_bind()
1139 if ((addr_len < sizeof(struct sockaddr_ax25) + sizeof(ax25_address) * 6) || in ax25_connect()
1492 if ((addr_len < sizeof(struct sockaddr_ax25) + sizeof(ax25_address) * 6) || in ax25_sendmsg()
1645 ax25_address src; in ax25_recvmsg()
Dax25_subr.c190 void ax25_return_dm(struct net_device *dev, ax25_address *src, ax25_address *dest, ax25_digi *digi) in ax25_return_dm()
Dax25_out.c36 ax25_cb *ax25_send_frame(struct sk_buff *skb, int paclen, ax25_address *src, ax25_address *dest, ax… in ax25_send_frame()
/linux-3.4.99/net/netrom/
Dnr_route.c48 static struct nr_node *nr_node_get(ax25_address *callsign) in nr_node_get()
65 static struct nr_neigh *nr_neigh_get_dev(ax25_address *callsign, in nr_neigh_get_dev()
90 static int __must_check nr_add_node(ax25_address *nr, const char *mnemonic, in nr_add_node()
91 ax25_address *ax25, ax25_digi *ax25_digi, struct net_device *dev, in nr_add_node()
355 static int nr_del_node(ax25_address *callsign, ax25_address *neighbour, struct net_device *dev) in nr_del_node()
413 static int __must_check nr_add_neigh(ax25_address *callsign, in nr_add_neigh()
461 static int nr_del_neigh(ax25_address *callsign, struct net_device *dev, unsigned int quality) in nr_del_neigh()
621 struct net_device *nr_dev_get(ax25_address *addr) in nr_dev_get()
628 ax25cmp(addr, (ax25_address *)dev->dev_addr) == 0) { in nr_dev_get()
640 ax25_address *digipeaters) in nr_call_to_digi()
[all …]
Dnr_dev.c140 err = ax25_listen_register((ax25_address *)sa->sa_data, NULL); in nr_set_mac_address()
144 ax25_listen_release((ax25_address *)dev->dev_addr, NULL); in nr_set_mac_address()
156 err = ax25_listen_register((ax25_address *)dev->dev_addr, NULL); in nr_open()
167 ax25_listen_release((ax25_address *)dev->dev_addr, NULL); in nr_close()
Dnr_loopback.c54 ax25_address *nr_dest; in nr_loopback_timer()
58 nr_dest = (ax25_address *)(skb->data + 7); in nr_loopback_timer()
Daf_netrom.c149 static struct sock *nr_find_listener(ax25_address *addr) in nr_find_listener()
194 ax25_address *dest) in nr_find_peer()
573 ax25_address *source; in nr_bind()
584 …if (addr_len < (addr->fsa_ax25.sax25_ndigis * sizeof(ax25_address) + sizeof(struct sockaddr_ax25))… in nr_bind()
643 ax25_address *source = NULL; in nr_connect()
683 source = (ax25_address *)dev->dev_addr; in nr_connect()
869 ax25_address *src, *dest, *user; in nr_rx_frame()
881 src = (ax25_address *)(skb->data + 0); in nr_rx_frame()
882 dest = (ax25_address *)(skb->data + 7); in nr_rx_frame()
957 user = (ax25_address *)(skb->data + 21); in nr_rx_frame()
/linux-3.4.99/net/rose/
Drose_link.c103 ax25_address *rose_call; in rose_send_frame()
107 rose_call = (ax25_address *)neigh->dev->dev_addr; in rose_send_frame()
126 ax25_address *rose_call; in rose_link_up()
130 rose_call = (ax25_address *)neigh->dev->dev_addr; in rose_link_up()
Daf_rose.c68 ax25_address rose_callsign;
246 static struct sock *rose_find_listener(rose_address *addr, ax25_address *call) in rose_find_listener()
665 ax25_address *source; in rose_bind()
1349 if (copy_from_user(&rose_callsign, argp, sizeof(ax25_address))) in rose_ioctl()
1357 return copy_to_user(argp, &rose_callsign, sizeof(ax25_address)) ? -EFAULT : 0; in rose_ioctl()
/linux-3.4.99/net/ipv4/
Darp.c1291 static char *ax2asc2(ax25_address *a, char *buf) in ax2asc2()
1335 ax2asc2((ax25_address *)n->ha, hbuffer); in arp_format_neigh_entry()