/linux-6.3-rc2/net/ax25/ |
A D | ax25_std_in.c | 44 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 D | ax25_ds_in.c | 37 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 D | ax25_std_timer.c | 36 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 D | ax25_timer.c | 55 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() 124 ax25_cb *ax25 = from_timer(ax25, t, timer); in ax25_heartbeat_expiry() local 148 ax25_cb *ax25 = from_timer(ax25, t, t1timer); in ax25_t1timer_expiry() local 167 ax25_cb *ax25 = from_timer(ax25, t, t2timer); in ax25_t2timer_expiry() local 186 ax25_cb *ax25 = from_timer(ax25, t, t3timer); in ax25_t3timer_expiry() local [all …]
|
A D | ax25_ds_timer.c | 68 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 D | ax25_subr.c | 53 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() 271 if (ax25->sk && !sock_flag(ax25->sk, SOCK_DESTROY)) in ax25_disconnect() 283 if (ax25->sk != NULL) { in ax25_disconnect() [all …]
|
A D | ax25_out.c | 35 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 D | ax25_std_subr.c | 32 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 D | af_ax25.c | 290 ax25_cb *ax25 = from_timer(ax25, t, dtimer); in ax25_destroy_timer() local 293 sk=ax25->sk; in ax25_destroy_timer() 391 if (!ax25) { in ax25_ctl_ioctl() 531 if ((ax25 = kzalloc(sizeof(*ax25), GFP_ATOMIC)) == NULL) in ax25_create_cb() 547 return ax25; in ax25_create_cb() 694 ax25_fillin_cb(ax25, ax25->ax25_dev); in ax25_setsockopt() 1276 ax25_fillin_cb(ax25, ax25->ax25_dev); in ax25_connect() 1632 ax25_output(ax25, ax25->paclen, skb); in ax25_sendmsg() 1956 ax25, in ax25_info_show() 1970 ax25->vs, ax25->vr, ax25->va, in ax25_info_show() [all …]
|
A D | ax25_ds_subr.c | 67 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 D | ax25_in.c | 38 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 D | Makefile | 6 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 D | ax25_route.c | 397 int ax25_rt_autobind(ax25_cb *ax25, ax25_address *addr) in ax25_rt_autobind() argument 409 if ((ax25->ax25_dev = ax25_dev_ax25dev(ax25_rt->dev)) == NULL) { in ax25_rt_autobind() 416 ax25->source_addr = user->call; in ax25_rt_autobind() 423 ax25->source_addr = *(ax25_address *)ax25->ax25_dev->dev->dev_addr; in ax25_rt_autobind() 427 ax25->digipeat = kmemdup(ax25_rt->digipeat, sizeof(ax25_digi), in ax25_rt_autobind() 429 if (ax25->digipeat == NULL) { in ax25_rt_autobind() 433 ax25_adjust_path(addr, ax25->digipeat); in ax25_rt_autobind() 436 if (ax25->sk != NULL) { in ax25_rt_autobind() 438 bh_lock_sock(ax25->sk); in ax25_rt_autobind() 439 sock_reset_flag(ax25->sk, SOCK_ZAPPED); in ax25_rt_autobind() [all …]
|
A D | ax25_ip.c | 108 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 D | Kconfig | 13 <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 D | ax25_iface.c | 190 void ax25_link_failed(ax25_cb *ax25, int reason) in ax25_link_failed() argument 196 lf->func(ax25, reason); in ax25_link_failed()
|
/linux-6.3-rc2/net/netrom/ |
A D | nr_route.c | 152 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-6.3-rc2/net/rose/ |
A D | rose_link.c | 105 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 D | rose_route.c | 93 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() 822 if (rose_neigh->ax25 == ax25) in rose_link_failed() 828 rose_neigh->ax25 = NULL; in rose_link_failed() 829 ax25_cb_put(ax25); in rose_link_failed() 874 if (!ax25) in rose_route_frame() [all …]
|
/linux-6.3-rc2/include/net/ |
A D | ax25.h | 171 #define ax25_uid_hold(ax25) \ argument 172 refcount_inc(&((ax25)->refcount)) 279 static __inline__ void ax25_cb_put(ax25_cb *ax25) in ax25_cb_put() argument 281 if (refcount_dec_and_test(&ax25->refcount)) { in ax25_cb_put() 282 kfree(ax25->digipeat); in ax25_cb_put() 283 kfree(ax25); in ax25_cb_put()
|
A D | netrom.h | 93 ax25_cb *ax25; member 140 if (nr_neigh->ax25) in nr_neigh_put() 141 ax25_cb_put(nr_neigh->ax25); in nr_neigh_put()
|
/linux-6.3-rc2/drivers/net/hamradio/ |
A D | Kconfig | 97 utility available in the standard ax25 utilities package. For 114 the driver, use the sethdlc utility available in the standard ax25 130 available in the standard ax25 utilities package. For information on 145 in the standard ax25 utilities package. For information on the
|
/linux-6.3-rc2/Documentation/networking/ |
A D | ax25.rst | 10 found on http://www.linux-ax25.org.
|
A D | index.rst | 45 ax25
|
/linux-6.3-rc2/net/ |
A D | Makefile | 33 obj-$(CONFIG_AX25) += ax25/
|