kernel-fxtec-pro1x/net/tipc
Allan Stephens e244a915ff tipc: Optimize creation of FIN messages
Speeds up the creation of the FIN message that terminates a TIPC
connection. The typical peer termination message is now created by
duplicating the terminating port's standard payload message header
and adjusting the message size, importance, and error code fields,
rather than building all fields of the message from scratch. A FIN
message that is directed to the port itself is created the same way.
but also requires swapping the origin and destination address fields.

In addition to reducing the work required to create FIN messages,
these changes eliminate several instances of duplicated code,

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2011-06-24 16:18:18 -04:00
..
addr.c tipc: Eliminate configuration for maximum number of cluster nodes 2011-03-13 16:35:17 -04:00
addr.h tipc: make zone/cluster mask constants a define 2011-05-10 16:03:54 -04:00
bcast.c tipc: Convert fatal broadcast sanity check to non-fatal check 2011-06-24 16:18:15 -04:00
bcast.h tipc: Clean up tracking of node requesting a broadcast retransmit 2011-02-23 18:05:12 -05:00
bearer.c tipc: Eliminate unused field in bearer structure 2011-06-24 16:18:16 -04:00
bearer.h tipc: Eliminate unused field in bearer structure 2011-06-24 16:18:16 -04:00
config.c tipc: Correct misnamed references to neighbor discovery domain 2011-03-13 16:35:18 -04:00
config.h
core.c tipc: Drop __TIME__ usage 2011-05-10 10:31:03 -04:00
core.h tipc: Remove unused sanity test macro 2011-06-24 16:18:15 -04:00
discover.c tipc: Revise timings used when sending link request messages 2011-05-10 16:04:02 -04:00
discover.h tipc: Add monitoring of number of nodes discovered by bearer 2011-05-10 16:04:01 -04:00
eth_media.c
handler.c
Kconfig tipc: Eliminate configuration for maximum number of cluster nodes 2011-03-13 16:35:17 -04:00
link.c tipc: Cleanup of message header size terminology 2011-06-24 16:18:17 -04:00
link.h tipc: Avoid recomputation of outgoing message length 2011-05-10 16:03:57 -04:00
log.c
log.h
Makefile
msg.c tipc: Eliminate useless check when creating internal message 2011-06-24 16:18:17 -04:00
msg.h tipc: Cleanup of message header size terminology 2011-06-24 16:18:17 -04:00
name_distr.c tipc: Cleanup of message header size terminology 2011-06-24 16:18:17 -04:00
name_distr.h
name_table.c tipc: Eliminate checks for empty zone list during name translation 2011-06-24 16:18:16 -04:00
name_table.h tipc: Convert name table publication lists to standard kernel lists 2011-06-24 16:18:16 -04:00
net.c tipc: delete extra semicolon blocking node deletion 2011-03-14 12:21:12 -04:00
net.h tipc: manually inline net_start/stop, make assoc. vars static 2011-03-13 16:35:17 -04:00
netlink.c
node.c tipc: Optimizations to link creation code 2011-03-13 16:35:18 -04:00
node.h tipc: Optimizations to link creation code 2011-03-13 16:35:18 -04:00
node_subscr.c tipc: Cosmetic changes to node subscription code 2011-03-13 16:35:16 -04:00
node_subscr.h tipc: Cosmetic changes to node subscription code 2011-03-13 16:35:16 -04:00
port.c tipc: Optimize creation of FIN messages 2011-06-24 16:18:18 -04:00
port.h tipc: Avoid recomputation of outgoing message length 2011-05-10 16:03:57 -04:00
ref.c
ref.h
socket.c tipc: Remove unnecessary includes in socket code 2011-06-24 16:18:16 -04:00
subscr.c tipc: Avoid recomputation of outgoing message length 2011-05-10 16:03:57 -04:00
subscr.h