• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ax25/

Lines Matching defs:ax25

26 #include <net/ax25.h>
43 void ax25_start_heartbeat(ax25_cb *ax25)
45 del_timer(&ax25->timer);
47 ax25->timer.data = (unsigned long)ax25;
48 ax25->timer.function = &ax25_heartbeat_expiry;
49 ax25->timer.expires = jiffies + 5 * HZ;
51 add_timer(&ax25->timer);
54 void ax25_start_t1timer(ax25_cb *ax25)
56 del_timer(&ax25->t1timer);
58 ax25->t1timer.data = (unsigned long)ax25;
59 ax25->t1timer.function = &ax25_t1timer_expiry;
60 ax25->t1timer.expires = jiffies + ax25->t1;
62 add_timer(&ax25->t1timer);
65 void ax25_start_t2timer(ax25_cb *ax25)
67 del_timer(&ax25->t2timer);
69 ax25->t2timer.data = (unsigned long)ax25;
70 ax25->t2timer.function = &ax25_t2timer_expiry;
71 ax25->t2timer.expires = jiffies + ax25->t2;
73 add_timer(&ax25->t2timer);
76 void ax25_start_t3timer(ax25_cb *ax25)
78 del_timer(&ax25->t3timer);
80 if (ax25->t3 > 0) {
81 ax25->t3timer.data = (unsigned long)ax25;
82 ax25->t3timer.function = &ax25_t3timer_expiry;
83 ax25->t3timer.expires = jiffies + ax25->t3;
85 add_timer(&ax25->t3timer);
89 void ax25_start_idletimer(ax25_cb *ax25)
91 del_timer(&ax25->idletimer);
93 if (ax25->idle > 0) {
94 ax25->idletimer.data = (unsigned long)ax25;
95 ax25->idletimer.function = &ax25_idletimer_expiry;
96 ax25->idletimer.expires = jiffies + ax25->idle;
98 add_timer(&ax25->idletimer);
102 void ax25_stop_heartbeat(ax25_cb *ax25)
104 del_timer(&ax25->timer);
107 void ax25_stop_t1timer(ax25_cb *ax25)
109 del_timer(&ax25->t1timer);
112 void ax25_stop_t2timer(ax25_cb *ax25)
114 del_timer(&ax25->t2timer);
117 void ax25_stop_t3timer(ax25_cb *ax25)
119 del_timer(&ax25->t3timer);
122 void ax25_stop_idletimer(ax25_cb *ax25)
124 del_timer(&ax25->idletimer);
127 int ax25_t1timer_running(ax25_cb *ax25)
129 return timer_pending(&ax25->t1timer);
145 ax25_cb *ax25 = (ax25_cb *)param;
147 if (ax25->ax25_dev)
148 proto = ax25->ax25_dev->values[AX25_VALUES_PROTOCOL];
153 ax25_std_heartbeat_expiry(ax25);
158 if (ax25->ax25_dev->dama.slave)
159 ax25_ds_heartbeat_expiry(ax25);
161 ax25_std_heartbeat_expiry(ax25);
169 ax25_cb *ax25 = (ax25_cb *)param;
171 switch (ax25->ax25_dev->values[AX25_VALUES_PROTOCOL]) {
174 ax25_std_t1timer_expiry(ax25);
179 if (!ax25->ax25_dev->dama.slave)
180 ax25_std_t1timer_expiry(ax25);
188 ax25_cb *ax25 = (ax25_cb *)param;
190 switch (ax25->ax25_dev->values[AX25_VALUES_PROTOCOL]) {
193 ax25_std_t2timer_expiry(ax25);
198 if (!ax25->ax25_dev->dama.slave)
199 ax25_std_t2timer_expiry(ax25);
207 ax25_cb *ax25 = (ax25_cb *)param;
209 switch (ax25->ax25_dev->values[AX25_VALUES_PROTOCOL]) {
212 ax25_std_t3timer_expiry(ax25);
217 if (ax25->ax25_dev->dama.slave)
218 ax25_ds_t3timer_expiry(ax25);
220 ax25_std_t3timer_expiry(ax25);
228 ax25_cb *ax25 = (ax25_cb *)param;
230 switch (ax25->ax25_dev->values[AX25_VALUES_PROTOCOL]) {
233 ax25_std_idletimer_expiry(ax25);
238 if (ax25->ax25_dev->dama.slave)
239 ax25_ds_idletimer_expiry(ax25);
241 ax25_std_idletimer_expiry(ax25);