Submitted by: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp> PR: ports/6028 (part of)
Submitted by: Hidekazu Kuroki <hidekazu@cs.titech.ac.jp>