Home
last modified time | relevance | path

Searched refs:dama (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/net/ax25/
Dax25_ds_timer.c44 timer_setup(&ax25_dev->dama.slave_timer, ax25_ds_timeout, 0); in ax25_ds_setup_timer()
50 del_timer(&ax25_dev->dama.slave_timer); in ax25_ds_del_timer()
58 ax25_dev->dama.slave_timeout = in ax25_ds_set_timer()
60 mod_timer(&ax25_dev->dama.slave_timer, jiffies + HZ); in ax25_ds_set_timer()
70 ax25_dev *ax25_dev = from_timer(ax25_dev, t, dama.slave_timer); in ax25_ds_timeout()
73 if (ax25_dev == NULL || !ax25_dev->dama.slave) in ax25_ds_timeout()
76 if (!ax25_dev->dama.slave_timeout || --ax25_dev->dama.slave_timeout) { in ax25_ds_timeout()
Dax25_timer.c138 if (ax25->ax25_dev->dama.slave) in ax25_heartbeat_expiry()
159 if (!ax25->ax25_dev->dama.slave) in ax25_t1timer_expiry()
178 if (!ax25->ax25_dev->dama.slave) in ax25_t2timer_expiry()
197 if (ax25->ax25_dev->dama.slave) in ax25_t3timer_expiry()
218 if (ax25->ax25_dev->dama.slave) in ax25_idletimer_expiry()
Dax25_ds_subr.c178 if (ax25_dev->dama.slave == 0) in ax25_dev_dama_on()
181 ax25_dev->dama.slave = 1; in ax25_dev_dama_on()
190 if (ax25_dev->dama.slave && !ax25_check_dama_slave(ax25_dev)) { in ax25_dev_dama_off()
192 ax25_dev->dama.slave = 0; in ax25_dev_dama_off()
Dax25_in.c160 static int ax25_process_rx_frame(ax25_cb *ax25, struct sk_buff *skb, int type, int dama) in ax25_process_rx_frame() argument
175 if (dama || ax25->ax25_dev->dama.slave) in ax25_process_rx_frame()
190 int type = 0, mine = 0, dama; in ax25_rcv() local
209 if (ax25_addr_parse(skb->data, skb->len, &src, &dest, &dp, &type, &dama) == NULL) in ax25_rcv()
313 if (ax25_process_rx_frame(ax25, skb, type, dama) == 0) in ax25_rcv()
410 if (dama && ax25->ax25_dev->values[AX25_VALUES_PROTOCOL] == AX25_PROTO_DAMA_SLAVE) in ax25_rcv()
Dax25_addr.c161 int *dama) in ax25_addr_parse() argument
176 if (dama != NULL) in ax25_addr_parse()
177 *dama = ~buf[13] & AX25_DAMA_FLAG; in ax25_addr_parse()
Dax25_out.c86 if (ax25_dev->dama.slave) in ax25_send_frame()
204 if (!ax25->ax25_dev->dama.slave) ax25_kick(ax25); in ax25_output()
Daf_ax25.c379 if (ax25_dev->dama.slave && ax25->ax25_dev->values[AX25_VALUES_PROTOCOL] == AX25_PROTO_DAMA_SLAVE) in ax25_ctl_ioctl()
1265 if (ax25->ax25_dev->dama.slave) in ax25_connect()
/Linux-v4.19/include/net/
Dax25.h225 ax25_dama_info dama; member