SD: functions to determine IPv4