Home
last modified time | relevance | path

Searched refs:ax25 (Results 1 – 25 of 35) sorted by relevance

12

/linux/net/ax25/
A Dax25_std_in.c44 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_std_state1_machine()
50 ax25->window = ax25->ax25_dev->values[AX25_VALUES_EWINDOW]; in ax25_std_state1_machine()
74 ax25->sk->sk_state_change(ax25->sk); in ax25_std_state1_machine()
86 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_std_state1_machine()
150 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_std_state3_machine()
153 ax25->window = ax25->ax25_dev->values[AX25_VALUES_EWINDOW]; in ax25_std_state3_machine()
224 ax25->vr = (ax25->vr + 1) % ax25->modulus; in ax25_std_state3_machine()
275 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_std_state4_machine()
314 if (ax25->vs == ax25->va) { in ax25_std_state4_machine()
343 if (ax25->vs == ax25->va) { in ax25_std_state4_machine()
[all …]
A Dax25_ds_in.c37 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_ds_state1_machine()
43 ax25->window = ax25->ax25_dev->values[AX25_VALUES_EWINDOW]; in ax25_ds_state1_machine()
56 ax25->vs = 0; in ax25_ds_state1_machine()
57 ax25->va = 0; in ax25_ds_state1_machine()
58 ax25->vr = 0; in ax25_ds_state1_machine()
60 ax25->n2count = 0; in ax25_ds_state1_machine()
69 ax25->sk->sk_state_change(ax25->sk); in ax25_ds_state1_machine()
72 ax25_dama_on(ax25); in ax25_ds_state1_machine()
154 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_ds_state3_machine()
157 ax25->window = ax25->ax25_dev->values[AX25_VALUES_EWINDOW]; in ax25_ds_state3_machine()
[all …]
A Dax25_std_timer.c36 switch (ax25->state) { in ax25_std_heartbeat_expiry()
89 ax25->n2count = 0; in ax25_std_t3timer_expiry()
98 ax25->n2count = 0; in ax25_std_idletimer_expiry()
113 ax25->sk->sk_state_change(ax25->sk); in ax25_std_idletimer_expiry()
124 if (ax25->n2count == ax25->n2) { in ax25_std_t1timer_expiry()
130 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_std_t1timer_expiry()
135 ax25->n2count++; in ax25_std_t1timer_expiry()
144 if (ax25->n2count == ax25->n2) { in ax25_std_t1timer_expiry()
150 ax25->n2count++; in ax25_std_t1timer_expiry()
162 if (ax25->n2count == ax25->n2) { in ax25_std_t1timer_expiry()
[all …]
A Dax25_timer.c55 mod_timer(&ax25->t1timer, jiffies + ax25->t1); in ax25_start_t1timer()
60 mod_timer(&ax25->t2timer, jiffies + ax25->t2); in ax25_start_t2timer()
65 if (ax25->t3 > 0) in ax25_start_t3timer()
66 mod_timer(&ax25->t3timer, jiffies + ax25->t3); in ax25_start_t3timer()
73 if (ax25->idle > 0) in ax25_start_idletimer()
74 mod_timer(&ax25->idletimer, jiffies + ax25->idle); in ax25_start_idletimer()
122 ax25_cb *ax25 = from_timer(ax25, t, timer); in ax25_heartbeat_expiry() local
146 ax25_cb *ax25 = from_timer(ax25, t, t1timer); in ax25_t1timer_expiry() local
165 ax25_cb *ax25 = from_timer(ax25, t, t2timer); in ax25_t2timer_expiry() local
184 ax25_cb *ax25 = from_timer(ax25, t, t3timer); in ax25_t3timer_expiry() local
[all …]
A Dax25_ds_timer.c68 ax25_cb *ax25; in ax25_ds_timeout() local
148 ax25_dama_off(ax25); in ax25_ds_t3timer_expiry()
160 ax25->n2count = 0; in ax25_ds_idletimer_expiry()
173 ax25->sk->sk_state_change(ax25->sk); in ax25_ds_idletimer_expiry()
192 if (ax25->n2count == ax25->n2) { in ax25_ds_t1_timeout()
198 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_ds_t1_timeout()
203 ax25->n2count++; in ax25_ds_t1_timeout()
212 if (ax25->n2count == ax25->n2) { in ax25_ds_t1_timeout()
218 ax25->n2count++; in ax25_ds_t1_timeout()
223 if (ax25->n2count == ax25->n2) { in ax25_ds_t1_timeout()
[all …]
A Dax25_subr.c53 if (ax25->va != nr) { in ax25_frames_acked()
54 while (skb_peek(&ax25->ack_queue) != NULL && ax25->va != nr) { in ax25_frames_acked()
57 ax25->va = (ax25->va + 1) % ax25->modulus; in ax25_frames_acked()
83 while (vc != ax25->vs) { in ax25_validate_nr()
239 ax25->t1 = t * ax25->rtt; in ax25_calculate_t1()
247 if (ax25->backoff == 0) in ax25_calculate_rtt()
250 if (ax25_t1timer_running(ax25) && ax25->n2count == 0) in ax25_calculate_rtt()
251 ax25->rtt = (9 * ax25->rtt + ax25->t1 - ax25_display_timer(&ax25->t1timer)) / 10; in ax25_calculate_rtt()
264 if (!ax25->sk || !sock_flag(ax25->sk, SOCK_DESTROY)) in ax25_disconnect()
275 if (ax25->sk != NULL) { in ax25_disconnect()
[all …]
A Dax25_out.c35 ax25_cb *ax25; in ax25_send_frame() local
95 ax25_cb_hold(ax25); in ax25_send_frame()
97 ax25_cb_add(ax25); in ax25_send_frame()
192 ax25_kick(ax25); in ax25_output()
201 if (!ax25->ax25_dev->dama.slave) ax25_kick(ax25); in ax25_output()
247 if (ax25->state != AX25_STATE_3 && ax25->state != AX25_STATE_4) in ax25_kick()
256 start = (skb_peek(&ax25->ack_queue) == NULL) ? ax25->va : ax25->vs; in ax25_kick()
257 end = (ax25->va + ax25->window) % ax25->modulus; in ax25_kick()
276 ax25->vs = start; in ax25_kick()
287 next = (ax25->vs + 1) % ax25->modulus; in ax25_kick()
[all …]
A Daf_ax25.c272 ax25_cb *ax25 = from_timer(ax25, t, dtimer); in ax25_destroy_timer() local
275 sk=ax25->sk; in ax25_destroy_timer()
508 if ((ax25 = kzalloc(sizeof(*ax25), GFP_ATOMIC)) == NULL) in ax25_create_cb()
524 return ax25; in ax25_create_cb()
671 ax25_fillin_cb(ax25, ax25->ax25_dev); in ax25_setsockopt()
875 if (!ax25) { in ax25_create()
1236 ax25_fillin_cb(ax25, ax25->ax25_dev); in ax25_connect()
1592 ax25_output(ax25, ax25->paclen, skb); in ax25_sendmsg()
1894 ax25, in ax25_info_show()
1908 ax25->vs, ax25->vr, ax25->va, in ax25_info_show()
[all …]
A Dax25_std_subr.c32 ax25_std_establish_data_link(ax25); in ax25_std_nr_error_recovery()
37 ax25->condition = 0x00; in ax25_std_establish_data_link()
38 ax25->n2count = 0; in ax25_std_establish_data_link()
40 if (ax25->modulus == AX25_MODULUS) in ax25_std_establish_data_link()
45 ax25_calculate_t1(ax25); in ax25_std_establish_data_link()
46 ax25_stop_idletimer(ax25); in ax25_std_establish_data_link()
47 ax25_stop_t3timer(ax25); in ax25_std_establish_data_link()
48 ax25_stop_t2timer(ax25); in ax25_std_establish_data_link()
49 ax25_start_t1timer(ax25); in ax25_std_establish_data_link()
61 ax25_calculate_t1(ax25); in ax25_std_transmit_enquiry()
[all …]
A Dax25_in.c38 if (ax25->fragno != 0) { in ax25_rx_fragment()
50 ax25->fraglen, in ax25_rx_fragment()
71 ax25->fraglen = 0; in ax25_rx_fragment()
141 if (ax25->sk != NULL && ax25->ax25_dev->values[AX25_VALUES_CONMODE] == 2) { in ax25_rx_iframe()
142 if ((!ax25->pidincl && ax25->sk->sk_protocol == pid) || in ax25_rx_iframe()
143 ax25->pidincl) { in ax25_rx_iframe()
190 ax25_cb *ax25; in ax25_rcv() local
313 ax25_cb_put(ax25); in ax25_rcv()
389 kfree(ax25->digipeat); in ax25_rcv()
408 ax25_dama_on(ax25); in ax25_rcv()
[all …]
A Dax25_ds_subr.c67 ax25_kick(ax25); in ax25_ds_enquiry_response()
70 …if (ax25->state == AX25_STATE_1 || ax25->state == AX25_STATE_2 || skb_peek(&ax25->ack_queue) != NU… in ax25_ds_enquiry_response()
73 ax25->n2count = 0; in ax25_ds_enquiry_response()
75 ax25_start_t3timer(ax25); in ax25_ds_enquiry_response()
80 if (ax25o == ax25) in ax25_ds_enquiry_response()
110 ax25->n2count = 0; in ax25_ds_establish_data_link()
111 ax25_calculate_t1(ax25); in ax25_ds_establish_data_link()
112 ax25_start_t1timer(ax25); in ax25_ds_establish_data_link()
113 ax25_stop_t2timer(ax25); in ax25_ds_establish_data_link()
156 ax25_cb *ax25; in ax25_check_dama_slave() local
[all …]
A Dax25_route.c389 int ax25_rt_autobind(ax25_cb *ax25, ax25_address *addr) in ax25_rt_autobind() argument
401 if ((ax25->ax25_dev = ax25_dev_ax25dev(ax25_rt->dev)) == NULL) { in ax25_rt_autobind()
408 ax25->source_addr = user->call; in ax25_rt_autobind()
415 ax25->source_addr = *(ax25_address *)ax25->ax25_dev->dev->dev_addr; in ax25_rt_autobind()
419 ax25->digipeat = kmemdup(ax25_rt->digipeat, sizeof(ax25_digi), in ax25_rt_autobind()
421 if (ax25->digipeat == NULL) { in ax25_rt_autobind()
425 ax25_adjust_path(addr, ax25->digipeat); in ax25_rt_autobind()
428 if (ax25->sk != NULL) { in ax25_rt_autobind()
430 bh_lock_sock(ax25->sk); in ax25_rt_autobind()
431 sock_reset_flag(ax25->sk, SOCK_ZAPPED); in ax25_rt_autobind()
[all …]
A DMakefile6 obj-$(CONFIG_AX25) += ax25.o
8 ax25-y := ax25_addr.o ax25_dev.o ax25_iface.o ax25_in.o ax25_ip.o ax25_out.o \
11 ax25-$(CONFIG_AX25_DAMA_SLAVE) += ax25_ds_in.o ax25_ds_subr.o ax25_ds_timer.o
12 ax25-$(CONFIG_SYSCTL) += sysctl_net_ax25.o
A Dax25_ip.c108 ax25_cb *ax25; in ax25_ip_xmit() local
173 ax25=ax25_send_frame( in ax25_ip_xmit()
178 if (ax25) { in ax25_ip_xmit()
179 ax25_cb_put(ax25); in ax25_ip_xmit()
A DKconfig13 <http://www.linux-ax25.org/>.
43 check out the file <file:Documentation/networking/ax25.rst> in the
49 module will be called ax25.
64 <http://www.linux-ax25.org>. If unsure, say Y.
90 <http://www.linux-ax25.org>. You also might want to check out the
91 file <file:Documentation/networking/ax25.rst>. More information about
109 <http://www.linux-ax25.org>. You also might want to check out the
110 file <file:Documentation/networking/ax25.rst>. More information about
A Dax25_iface.c190 void ax25_link_failed(ax25_cb *ax25, int reason) in ax25_link_failed() argument
196 lf->func(ax25, reason); in ax25_link_failed()
/linux/net/netrom/
A Dnr_route.c152 nr_neigh->callsign = *ax25; in nr_add_node()
154 nr_neigh->ax25 = NULL; in nr_add_node()
402 nr_neigh->ax25 = NULL; in nr_add_neigh()
717 if (s->ax25 == ax25) { in nr_link_failed()
728 nr_neigh->ax25 = NULL; in nr_link_failed()
729 ax25_cb_put(ax25); in nr_link_failed()
766 if (ax25 != NULL) { in nr_route_frame()
767 ret = nr_add_node(nr_src, "", &ax25->dest_addr, ax25->digipeat, in nr_route_frame()
768 ax25->ax25_dev->dev, 0, in nr_route_frame()
826 ax25s = nr_neigh->ax25; in nr_route_frame()
[all …]
/linux/net/rose/
A Drose_link.c105 ax25s = neigh->ax25; in rose_send_frame()
106 neigh->ax25 = ax25_send_frame(skb, 260, rose_call, &neigh->callsign, neigh->digipeat, neigh->dev); in rose_send_frame()
110 return neigh->ax25 != NULL; in rose_send_frame()
128 ax25s = neigh->ax25; in rose_link_up()
129 neigh->ax25 = ax25_find_cb(rose_call, &neigh->callsign, neigh->digipeat, neigh->dev); in rose_link_up()
133 return neigh->ax25 != NULL; in rose_link_up()
A Drose_route.c93 rose_neigh->ax25 = NULL; in rose_add_node()
237 if (rose_neigh->ax25) in rose_remove_neigh()
238 ax25_cb_put(rose_neigh->ax25); in rose_remove_neigh()
247 if (rose_neigh->ax25) in rose_remove_neigh()
248 ax25_cb_put(rose_neigh->ax25); in rose_remove_neigh()
381 sn->ax25 = NULL; in rose_add_loopback_neigh()
820 if (rose_neigh->ax25 == ax25) in rose_link_failed()
826 rose_neigh->ax25 = NULL; in rose_link_failed()
827 ax25_cb_put(ax25); in rose_link_failed()
872 if (!ax25) in rose_route_frame()
[all …]
/linux/include/net/
A Dax25.h171 #define ax25_uid_hold(ax25) \ argument
172 refcount_inc(&((ax25)->refcount))
285 static __inline__ void ax25_cb_put(ax25_cb *ax25) in ax25_cb_put() argument
287 if (refcount_dec_and_test(&ax25->refcount)) { in ax25_cb_put()
288 kfree(ax25->digipeat); in ax25_cb_put()
289 kfree(ax25); in ax25_cb_put()
A Dnetrom.h92 ax25_cb *ax25; member
139 if (nr_neigh->ax25) in nr_neigh_put()
140 ax25_cb_put(nr_neigh->ax25); in nr_neigh_put()
/linux/drivers/net/hamradio/
A DKconfig78 <http://www.linux-ax25.org/wiki/Ax25-tools>. Please be sure to
131 utility available in the standard ax25 utilities package. For
148 the driver, use the sethdlc utility available in the standard ax25
164 available in the standard ax25 utilities package. For information on
179 in the standard ax25 utilities package. For information on the
/linux/Documentation/networking/
A Dax25.rst10 found on http://www.linux-ax25.org.
A Dindex.rst44 ax25
/linux/Documentation/networking/device_drivers/hamradio/
A Dz8530drv.rst16 2. ftp://ftp.pspt.fi/pub/ham/linux/ax25/z8530drv-utils_3.0-3.tar.gz
321 ifconfig scc0 44.128.1.1 hw ax25 dl0tha-7
328 ax25-utils and the AX.25-HOWTO to learn how to set the parameters of
337 you actually use it or not. First setup your /etc/ax25/axports,
345 ifconfig scc3 44.128.1.1 hw ax25 dl0tha-9
361 ifconfig scc3 hw ax25 dl0tha-9
435 the kissparms program from the ax25-utils package or use the program

Completed in 32 milliseconds

12