/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ax25/ |
H A D | ax25_ds_in.c | 22 * Joerg(DL1BKE) ax25->n2count never got reset 35 #include <net/ax25.h> 50 * Handling of state 0 and connection release is in ax25.c. 52 static int ax25_ds_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) argument 56 ax25->modulus = AX25_MODULUS; 57 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; 58 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); 62 ax25->modulus = AX25_EMODULUS; 63 ax25 113 ax25_ds_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) argument 158 ax25_ds_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) argument 292 ax25_ds_frame_in(ax25_cb *ax25, struct sk_buff *skb, int type) argument [all...] |
H A D | ax25_std_timer.c | 35 #include <net/ax25.h> 46 void ax25_std_heartbeat_expiry(ax25_cb *ax25) argument 48 switch (ax25->state) { 53 if (ax25->sk == NULL || ax25->sk->destroy || (ax25->sk->state == TCP_LISTEN && ax25->sk->dead)) { 54 ax25_destroy_socket(ax25); 64 if (ax25->sk != NULL) { 65 if (atomic_read(&ax25 78 ax25_std_t2timer_expiry(ax25_cb *ax25) argument 86 ax25_std_t3timer_expiry(ax25_cb *ax25) argument 93 ax25_std_idletimer_expiry(ax25_cb *ax25) argument 116 ax25_std_t1timer_expiry(ax25_cb *ax25) argument [all...] |
H A D | ax25_ds_timer.c | 28 #include <net/ax25.h> 45 * (aka /proc/sys/net/ax25/{dev}/dama_slave_timeout) is still in 81 ax25_cb *ax25; local 91 for (ax25=ax25_list; ax25 != NULL; ax25 = ax25->next) { 92 if (ax25->ax25_dev != ax25_dev || !(ax25->condition & AX25_COND_DAMA_MODE)) 95 ax25_send_control(ax25, AX25_DIS 102 ax25_ds_heartbeat_expiry(ax25_cb *ax25) argument 137 ax25_ds_t3timer_expiry(ax25_cb *ax25) argument 148 ax25_ds_idletimer_expiry(ax25_cb *ax25) argument 177 ax25_ds_t1_timeout(ax25_cb *ax25) argument [all...] |
H A D | ax25_std_in.c | 50 #include <net/ax25.h> 65 * Handling of state 0 and connection release is in ax25.c. 67 static int ax25_std_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) argument 71 ax25->modulus = AX25_MODULUS; 72 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; 73 ax25_send_control(ax25, AX25_UA, pf, AX25_RESPONSE); 77 ax25->modulus = AX25_EMODULUS; 78 ax25->window = ax25 129 ax25_std_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int type) argument 166 ax25_std_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) argument 291 ax25_std_state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) argument 443 ax25_std_frame_in(ax25_cb *ax25, struct sk_buff *skb, int type) argument [all...] |
H A D | ax25_std_subr.c | 33 #include <net/ax25.h> 49 void ax25_std_nr_error_recovery(ax25_cb *ax25) argument 51 ax25_std_establish_data_link(ax25); 54 void ax25_std_establish_data_link(ax25_cb *ax25) argument 56 ax25->condition = 0x00; 57 ax25->n2count = 0; 59 if (ax25->modulus == AX25_MODULUS) 60 ax25_send_control(ax25, AX25_SABM, AX25_POLLON, AX25_COMMAND); 62 ax25_send_control(ax25, AX25_SABME, AX25_POLLON, AX25_COMMAND); 64 ax25_calculate_t1(ax25); 71 ax25_std_transmit_enquiry(ax25_cb *ax25) argument 84 ax25_std_enquiry_response(ax25_cb *ax25) argument 94 ax25_std_timeout_response(ax25_cb *ax25) argument [all...] |
H A D | ax25_timer.c | 39 #include <net/ax25.h> 56 void ax25_start_heartbeat(ax25_cb *ax25) argument 58 del_timer(&ax25->timer); 60 ax25->timer.data = (unsigned long)ax25; 61 ax25->timer.function = &ax25_heartbeat_expiry; 62 ax25->timer.expires = jiffies + 5 * HZ; 64 add_timer(&ax25->timer); 67 void ax25_start_t1timer(ax25_cb *ax25) argument 69 del_timer(&ax25 78 ax25_start_t2timer(ax25_cb *ax25) argument 89 ax25_start_t3timer(ax25_cb *ax25) argument 102 ax25_start_idletimer(ax25_cb *ax25) argument 115 ax25_stop_heartbeat(ax25_cb *ax25) argument 120 ax25_stop_t1timer(ax25_cb *ax25) argument 125 ax25_stop_t2timer(ax25_cb *ax25) argument 130 ax25_stop_t3timer(ax25_cb *ax25) argument 135 ax25_stop_idletimer(ax25_cb *ax25) argument 140 ax25_t1timer_running(ax25_cb *ax25) argument 155 ax25_cb *ax25 = (ax25_cb *)param; local 180 ax25_cb *ax25 = (ax25_cb *)param; local 199 ax25_cb *ax25 = (ax25_cb *)param; local 218 ax25_cb *ax25 = (ax25_cb *)param; local 239 ax25_cb *ax25 = (ax25_cb *)param; local [all...] |
H A D | ax25_subr.c | 29 * Joerg(DL1BKE) Found the real bug in ax25.h, sri. 46 #include <net/ax25.h> 60 void ax25_clear_queues(ax25_cb *ax25) argument 62 skb_queue_purge(&ax25->write_queue); 63 skb_queue_purge(&ax25->ack_queue); 64 skb_queue_purge(&ax25->reseq_queue); 65 skb_queue_purge(&ax25->frag_queue); 73 void ax25_frames_acked(ax25_cb *ax25, unsigned short nr) argument 80 if (ax25->va != nr) { 81 while (skb_peek(&ax25 89 ax25_requeue_frames(ax25_cb *ax25) argument 111 ax25_validate_nr(ax25_cb *ax25, unsigned short nr) argument 129 ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf) argument 179 ax25_send_control(ax25_cb *ax25, int frametype, int poll_bit, int type) argument 254 ax25_calculate_t1(ax25_cb *ax25) argument 279 ax25_calculate_rtt(ax25_cb *ax25) argument 294 ax25_disconnect(ax25_cb *ax25, int reason) argument [all...] |
H A D | ax25_out.c | 48 #include <net/ax25.h> 63 ax25_cb *ax25; local 79 if ((ax25 = ax25_find_cb(src, dest, digi, dev)) != NULL) { 80 ax25_output(ax25, paclen, skb); 81 return ax25; /* It already existed */ 87 if ((ax25 = ax25_create_cb()) == NULL) 90 ax25_fillin_cb(ax25, ax25_dev); 92 ax25->source_addr = *src; 93 ax25->dest_addr = *dest; 96 if ((ax25 136 ax25_output(ax25_cb *ax25, int paclen, struct sk_buff *skb) argument 226 ax25_send_iframe(ax25_cb *ax25, struct sk_buff *skb, int poll_bit) argument 256 ax25_kick(ax25_cb *ax25) argument 338 ax25_transmit_buffer(ax25_cb *ax25, struct sk_buff *skb, int type) argument 391 ax25_check_iframes_acked(ax25_cb *ax25, unsigned short nr) argument [all...] |
H A D | ax25_ds_subr.c | 35 #include <net/ax25.h> 46 void ax25_ds_nr_error_recovery(ax25_cb *ax25) argument 48 ax25_ds_establish_data_link(ax25); 54 void ax25_ds_enquiry_response(ax25_cb *ax25) argument 81 ax25_std_enquiry_response(ax25); 83 if (!(ax25->condition & AX25_COND_PEER_RX_BUSY)) { 84 ax25_requeue_frames(ax25); 85 ax25_kick(ax25); 88 if (ax25->state == AX25_STATE_1 || ax25 123 ax25_ds_establish_data_link(ax25_cb *ax25) argument 166 ax25_cb *ax25; local 199 ax25_dama_on(ax25_cb *ax25) argument 205 ax25_dama_off(ax25_cb *ax25) argument [all...] |
H A D | af_ax25.c | 37 * AX.25 022 Jonathan(G4KLX) More work on the ax25 auto router and /proc improved (again)! 50 * AX.25 028b Jonathan(G4KLX) Extracted ax25 control block 120 #include <net/ax25.h> 148 * Free an allocated ax25 control block. This is done to centralise 151 void ax25_free_cb(ax25_cb *ax25) argument 153 if (ax25->digipeat != NULL) { 154 kfree(ax25->digipeat); 155 ax25->digipeat = NULL; 158 kfree(ax25); 165 ax25_free_cb(sk->protinfo.ax25); 171 ax25_remove_socket(ax25_cb *ax25) argument 246 ax25_insert_socket(ax25_cb *ax25) argument 408 ax25_destroy_socket(ax25_cb *ax25) argument 465 ax25_cb *ax25; local 554 ax25_fillin_cb(ax25_cb *ax25, ax25_dev *ax25_dev) argument 600 ax25_cb *ax25; local 843 ax25_cb *ax25; local 911 ax25_cb *ax25; local 1706 ax25_cb *ax25; local [all...] |
H A D | ax25_in.c | 53 #include <net/ax25.h> 71 static int ax25_rx_fragment(ax25_cb *ax25, struct sk_buff *skb) argument 75 if (ax25->fragno != 0) { 77 if ((ax25->fragno - 1) == (*skb->data & AX25_SEG_REM)) { 79 ax25->fragno = *skb->data & AX25_SEG_REM; 81 ax25->fraglen += skb->len; 82 skb_queue_tail(&ax25->frag_queue, skb); 85 if (ax25->fragno == 0) { 87 ax25->fraglen, 90 skb_queue_purge(&ax25 134 ax25_rx_iframe(ax25_cb *ax25, struct sk_buff *skb) argument 193 ax25_process_rx_frame(ax25_cb *ax25, struct sk_buff *skb, int type, int dama) argument 225 ax25_cb *ax25; local [all...] |
H A D | Makefile | 11 O_TARGET := ax25.o
|
H A D | ax25_route.c | 54 #include <net/ax25.h> 354 int ax25_rt_autobind(ax25_cb *ax25, ax25_address *addr) argument 362 if ((ax25->ax25_dev = ax25_dev_ax25dev(ax25_rt->dev)) == NULL) 368 call = (ax25_address *)ax25->ax25_dev->dev->dev_addr; 371 ax25->source_addr = *call; 374 if ((ax25->digipeat = kmalloc(sizeof(ax25_digi), GFP_ATOMIC)) == NULL) 376 memcpy(ax25->digipeat, ax25_rt->digipeat, sizeof(ax25_digi)); 377 ax25_adjust_path(addr, ax25->digipeat); 380 if (ax25->sk != NULL) 381 ax25 [all...] |
H A D | ax25_iface.c | 27 #include <net/ax25.h> 250 void ax25_link_failed(ax25_cb *ax25, int reason) argument 255 (linkfail->func)(ax25, reason);
|
H A D | ax25_ip.c | 27 #include <net/ax25.h>
|
H A D | ax25_uid.c | 26 #include <net/ax25.h>
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/netrom/ |
H A D | nr_route.c | 35 #include <net/ax25.h> 64 static int nr_add_node(ax25_address *nr, const char *mnemonic, ax25_address *ax25, argument 85 if (ax25cmp(ax25, &nr_neigh->callsign) == 0 && nr_neigh->dev == dev) 114 nr_neigh->callsign = *ax25; 116 nr_neigh->ax25 = NULL; 143 if (quality != 0 && ax25cmp(nr, ax25) == 0 && !nr_neigh->locked) 400 nr_neigh->ax25 = NULL; 707 void nr_link_failed(ax25_cb *ax25, int reason) argument 713 if (nr_neigh->ax25 == ax25) 731 nr_route_frame(struct sk_buff *skb, ax25_cb *ax25) argument [all...] |
H A D | nr_loopback.c | 21 #include <net/ax25.h>
|
H A D | sysctl_net_netrom.c | 11 #include <net/ax25.h>
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/rose/ |
H A D | rose_link.c | 27 #include <net/ax25.h> 114 neigh->ax25 = ax25_send_frame(skb, 260, rose_call, &neigh->callsign, neigh->digipeat, neigh->dev); 116 return (neigh->ax25 != NULL); 133 neigh->ax25 = ax25_find_cb(rose_call, &neigh->callsign, neigh->digipeat, neigh->dev); 135 return (neigh->ax25 != NULL);
|
H A D | rose_loopback.c | 20 #include <net/ax25.h>
|
H A D | sysctl_net_rose.c | 11 #include <net/ax25.h>
|
H A D | rose_route.c | 32 #include <net/ax25.h> 89 rose_neigh->ax25 = NULL; 356 rose_loopback_neigh->ax25 = NULL; 726 void rose_link_failed(ax25_cb *ax25, int reason) argument 731 if (rose_neigh->ax25 == ax25) 736 rose_neigh->ax25 = NULL; 761 int rose_route_frame(struct sk_buff *skb, ax25_cb *ax25) argument 782 if (ax25cmp(&ax25->dest_addr, &rose_neigh->callsign) == 0 && ax25 [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ |
H A D | Makefile | 40 subdir-$(CONFIG_AX25) += ax25
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/lib/ |
H A D | ll_proto.c | 63 __PF(AX25,ax25)
|