Files
ubports_kernel_google_msm/include/linux
Gerrit Renker 7c559a9e44 [DCCP]: Add socket option to query the current MPS
This enables applications to query the current value of the Maximum
Packet Size via a socket option, suggested as a SHOULD in (RFC 4340,
p. 102).

This socket option is useful to avoid the annoying bail-out via
`-EMSGSIZE'.  In particular, as fragmentation is not currently
supported (and its use is partly discouraged in RFC 4340).

With this option, it is possible to size buffers accordingly, e.g.

	int buflen = dccp_get_cur_mps(sockfd);

	/* or */
	if (msgsize > dccp_get_cur_mps(sockfd))
		die("message is too large for this path");

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:54:31 -07:00
..
2007-07-26 01:53:39 +02:00
2007-07-31 15:39:44 -07:00
2007-10-10 16:53:11 -07:00
2007-09-11 04:22:16 -07:00
2007-10-10 16:51:59 -07:00
2007-10-10 16:49:02 -07:00
2007-08-11 22:34:48 +02:00
2007-07-31 10:43:05 -05:00
2007-07-31 15:39:41 -07:00
2007-10-10 16:51:59 -07:00
2007-10-10 16:52:04 -07:00
2007-08-11 15:58:13 -07:00
2007-07-31 15:39:41 -07:00
2007-08-26 18:35:34 -07:00
2007-09-11 17:21:20 -07:00
2007-09-04 23:16:04 -04:00
2007-07-30 14:25:12 -07:00
2007-09-11 22:24:45 +01:00
2007-07-24 12:24:59 -07:00
2007-10-10 16:54:03 -07:00
2007-10-10 16:51:34 -07:00
2007-07-26 11:35:21 -07:00
2007-07-26 11:35:21 -07:00
2007-07-21 18:37:10 -07:00
2007-07-22 11:03:37 -07:00
2007-09-20 13:19:59 -07:00
2007-09-16 16:21:16 -07:00
2007-07-20 12:33:44 -07:00
2007-07-31 15:39:39 -07:00
2007-07-20 11:23:02 -07:00
2007-08-11 15:47:41 -07:00
2007-07-30 13:27:44 -07:00
2007-09-19 11:24:18 -07:00