aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/options.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2006-03-21 00:25:11 -0500
committerDavid S. Miller <davem@davemloft.net>2006-03-21 00:25:11 -0500
commitb61fafc4ef3faf54236d57e3b230ca19167663bf (patch)
treed928d79a28556ee06fda685458d3f398b6e57d40 /net/dccp/options.c
parent46f09ffa7db595f49fb42338e013417756816d37 (diff)
[DCCP]: Move the IPv4 specific bits from proto.c to ipv4.c
With this patch in place we can break down the complexity by better compartmentalizing the code that is common to ipv6 and ipv4. Now we have these modules: Module Size Used by dccp_diag 1344 0 inet_diag 9448 1 dccp_diag dccp_ccid3 15856 0 dccp_tfrc_lib 12320 1 dccp_ccid3 dccp_ccid2 5764 0 dccp_ipv4 16996 2 dccp 48208 4 dccp_diag,dccp_ccid3,dccp_ccid2,dccp_ipv4 dccp_ipv6 still requires dccp_ipv4 due to dccp_ipv6_mapped, that is the next target to work on the "hey, ipv4 is legacy, I only want ipv6 dude!" direction. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/options.c')
-rw-r--r--net/dccp/options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/dccp/options.c b/net/dccp/options.c
index 3ecd319c0f59..79d228e4d6b2 100644
--- a/net/dccp/options.c
+++ b/net/dccp/options.c
@@ -258,6 +258,8 @@ out_invalid_option:
258 return -1; 258 return -1;
259} 259}
260 260
261EXPORT_SYMBOL_GPL(dccp_parse_options);
262
261static void dccp_encode_value_var(const u32 value, unsigned char *to, 263static void dccp_encode_value_var(const u32 value, unsigned char *to,
262 const unsigned int len) 264 const unsigned int len)
263{ 265{