Linux ip parsing 2

Merge please.