summaryrefslogtreecommitdiffstats
path: root/crypto/ripemd.h
diff options
context:
space:
mode:
authorParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>2016-02-02 10:52:10 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-06 09:40:43 +0100
commita4273c73ebf06515eab6b5a84817a175ad8acdc4 (patch)
treeec9aecd22c4adc4c4bdeaf74fdcbd7ff81691507 /crypto/ripemd.h
parenttipc: remove filter and timeout elements from struct tipc_subscription (diff)
downloadlinux-a4273c73ebf06515eab6b5a84817a175ad8acdc4.tar.xz
linux-a4273c73ebf06515eab6b5a84817a175ad8acdc4.zip
tipc: remove struct tipc_name_seq from struct tipc_subscription
Until now, struct tipc_subscriber has duplicate fields for type, upper and lower (as member of struct tipc_name_seq) at: 1. as member seq in struct tipc_subscription 2. as member seq in struct tipc_subscr, which is contained in struct tipc_event The former structure contains the type, upper and lower values in network byte order and the later contains the intact copy of the request. The struct tipc_subscription contains a field swap to determine if request needs network byte order conversion. Thus by using swap, we can convert the request when required instead of duplicating it. In this commit, 1. we remove the references to these elements as members of struct tipc_subscription and replace them with elements from struct tipc_subscr. 2. provide new functions to convert the user request into network byte order. Acked-by: Ying Xue <ying.xue@windriver.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/ripemd.h')
0 files changed, 0 insertions, 0 deletions