Home
last modified time | relevance | path

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

/linux-6.1.9/net/ax25/
Dax25_ds_timer.c41 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()
Dax25_timer.c137 if (ax25->ax25_dev->dama.slave) in ax25_heartbeat_expiry()
158 if (!ax25->ax25_dev->dama.slave) in ax25_t1timer_expiry()
177 if (!ax25->ax25_dev->dama.slave) in ax25_t2timer_expiry()
196 if (ax25->ax25_dev->dama.slave) in ax25_t3timer_expiry()
217 if (ax25->ax25_dev->dama.slave) in ax25_idletimer_expiry()
Dax25_ds_subr.c175 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()
Dax25_in.c157 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()
Dax25_addr.c158 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()
Dax25_out.c83 if (ax25_dev->dama.slave) in ax25_send_frame()
201 if (!ax25->ax25_dev->dama.slave) ax25_kick(ax25); in ax25_output()
Daf_ax25.c400 if (ax25_dev->dama.slave && ax25->ax25_dev->values[AX25_VALUES_PROTOCOL] == AX25_PROTO_DAMA_SLAVE) in ax25_ctl_ioctl()
1319 if (ax25->ax25_dev->dama.slave) in ax25_connect()
/linux-6.1.9/include/net/
Dax25.h228 ax25_dama_info dama; member