swrap: Check if the in_pktinfo structure is available.