[feature] walk_fn for msgbuf_head
[feature] calculate the buf size by ubuf_len