TAPデバイス

敗退だ。。ドキュメントが古くてサンプルコードが動いてくれない。デバイスドライバのソースを読んでいかないとダメか。
追記メモ: ソース読むとioctlでTUNSETIFFが指定されないと初期化してくれない事が分かった。本家サイトの配布サンプルコードでは動かないようだ。

I couldn't run the sample code of tap device. I think that is because the documentation is too old. I need to analyze the source code of the device driver.