diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2006-06-29 12:33:20 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-29 17:08:15 -0700 |
commit | ea13847b240e689e8f291355c36b46de9f44ddf9 (patch) | |
tree | 058a74fadfaf762587567ff59d87ae18db4c9d68 /net/tipc/zone.h | |
parent | e49060c7cab6ca856d048e1e10d71c0e6fedf376 (diff) | |
download | linux-3.10-ea13847b240e689e8f291355c36b46de9f44ddf9.tar.gz linux-3.10-ea13847b240e689e8f291355c36b46de9f44ddf9.tar.bz2 linux-3.10-ea13847b240e689e8f291355c36b46de9f44ddf9.zip |
[TIPC]: Improve response to requests for node/link information
Now allocates reply space for "get links" request based on number of actual
links, not number of potential links. Also, limits reply to "get links" and
"get nodes" requests to 32KB to match capabilities of tipc-config utility
that issued request.
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Diffstat (limited to 'net/tipc/zone.h')
-rw-r--r-- | net/tipc/zone.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/zone.h b/net/tipc/zone.h index 267999c5a24..5ab3d08602e 100644 --- a/net/tipc/zone.h +++ b/net/tipc/zone.h @@ -2,7 +2,7 @@ * net/tipc/zone.h: Include file for TIPC zone management routines * * Copyright (c) 2000-2006, Ericsson AB - * Copyright (c) 2005, Wind River Systems + * Copyright (c) 2005-2006, Wind River Systems * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -45,7 +45,7 @@ * struct _zone - TIPC zone structure * @addr: network address of zone * @clusters: array of pointers to all clusters within zone - * @links: (used for inter-zone communication) + * @links: number of (unicast) links to zone */ struct _zone { |