]> git.tuebingen.mpg.de Git - paraslash.git/commit
net: generic code to query the maximum message size
authorGerrit Renker <grenker@cscs.ch>
Sun, 23 May 2010 05:43:04 +0000 (07:43 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 7 Jun 2010 21:24:53 +0000 (23:24 +0200)
commit666243e5776fd4609ef81ec6781f9eb9d9999700
tree7d6b7e7b7702060f5182fc572e3892ccc550defa
parent013337ae0d58f56f036685f3ffa1aebad0b2602f
net: generic code to query the maximum message size

This adds a fallback routine to determine the address-family specific maximum
message size (MMS). This value is an over-estimation of the maximum payload
size that the network layer can take, i.e. it returns the maximum size for
transport-layer header and transport-layer payload.
net.c
net.h