FireWall for win CE

Hello All
I want to know such things:
is it possible to write firewall for win ce?
I mean TDI filter and IM driver (or NDIS hooker)
Also some books or links about this things…