K 10 svn:author V 2 ae K 8 svn:date V 27 2016-11-21T10:36:25.529741Z K 7 svn:log V 386 Split key_sp2mbuf() function into key_sp2mbuf() and key_sp2msg(). Make key_sp2mbuf() static for private use only in key.c. key_sp2msg() takes buffer and its size as arguments. When given buffer is not enough to store security policy, function calculates needed size and returns it back via sadb_x_policy_len field of struct sadb_x_policy. Also reflect changing of struct ipsecrequest. END