diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2004-12-01 11:56:32 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2004-12-01 11:56:32 +0000 |
| commit | f9d9e1b4ecea993a101005af130bd4db9fa2b010 (patch) | |
| tree | 993048ef397a314598d7acf4cda3afeaf0b93717 /sys/netgraph/atm | |
| parent | be392b40255efde144eacc0c3d5af66fbbec3243 (diff) | |
Notes
Diffstat (limited to 'sys/netgraph/atm')
| -rw-r--r-- | sys/netgraph/atm/sscop/ng_sscop_cust.h | 4 | ||||
| -rw-r--r-- | sys/netgraph/atm/uni/ng_uni_cust.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/netgraph/atm/sscop/ng_sscop_cust.h b/sys/netgraph/atm/sscop/ng_sscop_cust.h index fd2a892539a1e..8086d4825dd1d 100644 --- a/sys/netgraph/atm/sscop/ng_sscop_cust.h +++ b/sys/netgraph/atm/sscop/ng_sscop_cust.h @@ -108,11 +108,11 @@ typedef struct callout sscop_timer_t; #define TIMER_INIT(S, T) ng_callout_init(&(S)->t_##T) #define TIMER_STOP(S,T) do { \ - ng_untimeout(&(S)->t_##T, (S)->aarg); \ + ng_uncallout(&(S)->t_##T, (S)->aarg); \ } while (0) #define TIMER_RESTART(S, T) do { \ TIMER_STOP(S, T); \ - ng_timeout(&(S)->t_##T, (S)->aarg, NULL, \ + ng_callout(&(S)->t_##T, (S)->aarg, NULL, \ hz * (S)->timer##T / 1000, T##_func, (S), 0); \ } while (0) #define TIMER_ISACT(S, T) ((S)->t_##T.c_flags & (CALLOUT_PENDING)) diff --git a/sys/netgraph/atm/uni/ng_uni_cust.h b/sys/netgraph/atm/uni/ng_uni_cust.h index cff9dd92619bf..445a8c28533aa 100644 --- a/sys/netgraph/atm/uni/ng_uni_cust.h +++ b/sys/netgraph/atm/uni/ng_uni_cust.h @@ -85,13 +85,13 @@ struct uni_timer { #define _TIMER_INIT(X,T) ng_callout_init(&(X)->T.c) #define _TIMER_DESTROY(UNI,FIELD) _TIMER_STOP(UNI,FIELD) #define _TIMER_STOP(UNI,FIELD) do { \ - ng_untimeout(&FIELD.c, (UNI)->arg); \ + ng_uncallout(&FIELD.c, (UNI)->arg); \ } while (0) #define TIMER_ISACT(UNI,T) ((UNI)->T.c.c_flags & (CALLOUT_ACTIVE | \ CALLOUT_PENDING)) #define _TIMER_START(UNI,ARG,FIELD,DUE,FUNC) do { \ _TIMER_STOP(UNI, FIELD); \ - ng_timeout(&FIELD.c, (UNI)->arg, NULL, \ + ng_callout(&FIELD.c, (UNI)->arg, NULL, \ hz * (DUE) / 1000, FUNC, (ARG), 0); \ } while (0) |
