Lines Matching refs:IP
768 IPv4_DEVICE_PATH *IP __unused;
771 IP = DevPath;
773 CatPrintIPv4( Str , & IP-> RemoteIpAddress ) ;
775 CatPrintNetworkProtocol( Str , IP-> Protocol ) ;
776 CatPrint( Str , L",%s" , IP-> StaticIpAddress ? L"Static" : L"DHCP" ) ;
777 show = IsNotNullIPv4( & IP-> LocalIpAddress ) ;
778 if ( ! show && DevicePathNodeLength( & IP-> Header ) == sizeof( IPv4_DEVICE_PATH ) ) {
780 show |= IsNotNullIPv4( & IP-> GatewayIpAddress ) ;
781 show |= IsNotNullIPv4( & IP-> SubnetMask ) ;
785 CatPrintIPv4( Str , & IP-> LocalIpAddress ) ;
786 if ( DevicePathNodeLength( & IP-> Header ) == sizeof( IPv4_DEVICE_PATH ) ) {
788 show = IsNotNullIPv4( & IP-> GatewayIpAddress ) ;
789 show |= IsNotNullIPv4( & IP-> SubnetMask ) ;
792 CatPrintIPv4( Str , & IP-> GatewayIpAddress ) ;
793 if ( IsNotNullIPv4( & IP-> SubnetMask ) ) {
795 CatPrintIPv4( Str , & IP-> SubnetMask ) ;
827 IPv6_DEVICE_PATH *IP __unused;
829 IP = DevPath;
831 CatPrintIPv6( Str , & IP-> RemoteIpAddress ) ;
833 CatPrintNetworkProtocol( Str, IP-> Protocol ) ;
834 CatPrint( Str , L",%s," , IP-> IPAddressOrigin ?
835 ( IP-> IPAddressOrigin == 1 ? L"StatelessAutoConfigure" :
837 CatPrintIPv6( Str , & IP-> LocalIpAddress ) ;
838 if ( DevicePathNodeLength( & IP-> Header ) == sizeof( IPv6_DEVICE_PATH ) ) {
840 CatPrintIPv6( Str , & IP-> GatewayIpAddress ) ;
842 CatPrint( Str , L"%d" , & IP-> PrefixLength ) ;