diff options
author | Ying Xue <ying.xue@windriver.com> | 2014-02-13 17:29:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-13 17:57:05 -0500 |
commit | 135daee6d3959a6d7c4f59b448ed6f854d88ce27 (patch) | |
tree | b79670bd960e4985a63d5d1e3967caf298658e22 /net/tipc/bearer.h | |
parent | 8d8439b686f15c23faef4d7d67c4a9f30ce0f2b5 (diff) | |
download | linux-135daee6d3959a6d7c4f59b448ed6f854d88ce27.tar.gz linux-135daee6d3959a6d7c4f59b448ed6f854d88ce27.tar.xz |
tipc: redefine 'started' flag in struct link to bitmap
Currently, the 'started' field in struct tipc_link represents only a
binary state, 'started' or 'not started'. We need it to represent
more link execution states in the coming commits in this series.
Hence, we rename the field to 'flags', and define the current
started/non-started state to be represented by the LSB bit of
that field.
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/bearer.h')
0 files changed, 0 insertions, 0 deletions