| /linux-6.15/net/ax25/ |
| H 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 …]
|
| H 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 …]
|
| H 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 …]
|
| H 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 …]
|
| H 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 …]
|
| H 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 …]
|
| H A D | ax25_out.c | 35 ax25_cb *ax25; in ax25_send_frame() local 107 ax25_cb_add(ax25); in ax25_send_frame() 202 ax25_kick(ax25); in ax25_output() 211 if (!ax25->ax25_dev->dama.slave) ax25_kick(ax25); in ax25_output() 257 if (ax25->state != AX25_STATE_3 && ax25->state != AX25_STATE_4) in ax25_kick() 266 start = (skb_peek(&ax25->ack_queue) == NULL) ? ax25->va : ax25->vs; in ax25_kick() 267 end = (ax25->va + ax25->window) % ax25->modulus; in ax25_kick() 286 ax25->vs = start; in ax25_kick() 297 next = (ax25->vs + 1) % ax25->modulus; in ax25_kick() 318 ax25->vs = next; in ax25_kick() [all …]
|
| H 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 …]
|
| H 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() 693 netdev_put(ax25->ax25_dev->dev, &ax25->dev_tracker); in ax25_setsockopt() 703 ax25_fillin_cb(ax25, ax25->ax25_dev); in ax25_setsockopt() 1639 ax25_output(ax25, ax25->paclen, skb); in ax25_sendmsg() 1963 ax25, in ax25_info_show() 1977 ax25->vs, ax25->vr, ax25->va, in ax25_info_show() [all …]
|
| H 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 …]
|
| H 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 …]
|
| H 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
|
| H A D | ax25_ip.c | 108 ax25_cb *ax25; in ax25_ip_xmit() local 174 ax25=ax25_send_frame( in ax25_ip_xmit() 179 if (ax25) { in ax25_ip_xmit() 180 ax25_cb_put(ax25); in ax25_ip_xmit()
|
| H A D | Kconfig | 13 <https://linux-ax25.in-berlin.de>. 43 check out the file <file:Documentation/networking/ax25.rst> in the 49 module will be called ax25. 64 <https://linux-ax25.in-berlin.de>. If unsure, say Y. 90 <https://linux-ax25.in-berlin.de>. You also might want to check out 91 the file <file:Documentation/networking/ax25.rst>. More information 109 <https://linux-ax25.in-berlin.de>. You also might want to check out 110 the file <file:Documentation/networking/ax25.rst>. More information
|
| H 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.15/net/netrom/ |
| H A D | nr_route.c | 152 nr_neigh->callsign = *ax25; in nr_add_node() 154 nr_neigh->ax25 = NULL; in nr_add_node() 397 nr_neigh->ax25 = NULL; in nr_add_neigh() 712 if (s->ax25 == ax25) { in nr_link_failed() 723 nr_neigh->ax25 = NULL; in nr_link_failed() 724 ax25_cb_put(ax25); in nr_link_failed() 767 if (ax25 != NULL) { in nr_route_frame() 768 ret = nr_add_node(nr_src, "", &ax25->dest_addr, ax25->digipeat, in nr_route_frame() 769 ax25->ax25_dev->dev, 0, in nr_route_frame() 827 ax25s = nr_neigh->ax25; in nr_route_frame() [all …]
|
| /linux-6.15/net/rose/ |
| H 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()
|
| H 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.15/include/net/ |
| H A D | ax25.h | 173 #define ax25_uid_hold(ax25) \ argument 174 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()
|
| H 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.15/drivers/net/hamradio/ |
| H A D | Kconfig | 97 utility available in the standard ax25 utilities package. 114 the driver, use the sethdlc utility available in the standard ax25 129 available in the standard ax25 utilities package. 144 in the standard ax25 utilities package.
|
| /linux-6.15/Documentation/networking/ |
| H A D | ax25.rst | 10 found on https://linux-ax25.in-berlin.de.
|
| H A D | index.rst | 48 ax25
|
| /linux-6.15/net/ |
| H A D | Makefile | 32 obj-$(CONFIG_AX25) += ax25/
|
| /linux-6.15/Documentation/networking/device_drivers/hamradio/ |
| H A D | z8530drv.rst | 16 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
|