Searched refs:dama (Results 1 – 7 of 7) sorted by relevance
/net/ax25/ |
D | ax25_ds_timer.c | 41 timer_setup(&ax25_dev->dama.slave_timer, ax25_ds_timeout, 0); in ax25_ds_setup_timer() 47 del_timer(&ax25_dev->dama.slave_timer); in ax25_ds_del_timer() 55 ax25_dev->dama.slave_timeout = in ax25_ds_set_timer() 57 mod_timer(&ax25_dev->dama.slave_timer, jiffies + HZ); in ax25_ds_set_timer() 67 ax25_dev *ax25_dev = from_timer(ax25_dev, t, dama.slave_timer); in ax25_ds_timeout() 70 if (ax25_dev == NULL || !ax25_dev->dama.slave) in ax25_ds_timeout() 73 if (!ax25_dev->dama.slave_timeout || --ax25_dev->dama.slave_timeout) { in ax25_ds_timeout()
|
D | ax25_timer.c | 135 if (ax25->ax25_dev->dama.slave) in ax25_heartbeat_expiry() 156 if (!ax25->ax25_dev->dama.slave) in ax25_t1timer_expiry() 175 if (!ax25->ax25_dev->dama.slave) in ax25_t2timer_expiry() 194 if (ax25->ax25_dev->dama.slave) in ax25_t3timer_expiry() 215 if (ax25->ax25_dev->dama.slave) in ax25_idletimer_expiry()
|
D | ax25_in.c | 157 static int ax25_process_rx_frame(ax25_cb *ax25, struct sk_buff *skb, int type, int dama) in ax25_process_rx_frame() argument 172 if (dama || ax25->ax25_dev->dama.slave) in ax25_process_rx_frame() 187 int type = 0, mine = 0, dama; in ax25_rcv() local 206 if (ax25_addr_parse(skb->data, skb->len, &src, &dest, &dp, &type, &dama) == NULL) in ax25_rcv() 310 if (ax25_process_rx_frame(ax25, skb, type, dama) == 0) in ax25_rcv() 407 if (dama && ax25->ax25_dev->values[AX25_VALUES_PROTOCOL] == AX25_PROTO_DAMA_SLAVE) in ax25_rcv()
|
D | ax25_ds_subr.c | 175 if (ax25_dev->dama.slave == 0) in ax25_dev_dama_on() 178 ax25_dev->dama.slave = 1; in ax25_dev_dama_on() 187 if (ax25_dev->dama.slave && !ax25_check_dama_slave(ax25_dev)) { in ax25_dev_dama_off() 189 ax25_dev->dama.slave = 0; in ax25_dev_dama_off()
|
D | ax25_addr.c | 158 int *dama) in ax25_addr_parse() argument 173 if (dama != NULL) in ax25_addr_parse() 174 *dama = ~buf[13] & AX25_DAMA_FLAG; in ax25_addr_parse()
|
D | ax25_out.c | 83 if (ax25_dev->dama.slave) in ax25_send_frame() 201 if (!ax25->ax25_dev->dama.slave) ax25_kick(ax25); in ax25_output()
|
D | af_ax25.c | 396 if (ax25_dev->dama.slave && ax25->ax25_dev->values[AX25_VALUES_PROTOCOL] == AX25_PROTO_DAMA_SLAVE) in ax25_ctl_ioctl() 1311 if (ax25->ax25_dev->dama.slave) in ax25_connect()
|