Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. IpUtils.php

IpUtils::PRIVATE_SUBNETS

File

vendor/symfony/http-foundation/IpUtils.php, line 21

Class

IpUtils
Http utility functions.

Namespace

Symfony\Component\HttpFoundation

Code

public const PRIVATE_SUBNETS = [
    '127.0.0.0/8',
    // RFC1700 (Loopback)
'10.0.0.0/8',
    // RFC1918
'192.168.0.0/16',
    // RFC1918
'172.16.0.0/12',
    // RFC1918
'169.254.0.0/16',
    // RFC3927
'0.0.0.0/8',
    // RFC5735
'240.0.0.0/4',
    // RFC1112
'::1/128',
    // Loopback
'fc00::/7',
    // Unique Local Address
'fe80::/10',
    // Link Local Address
'::ffff:0:0/96',
    // IPv4 translations
'::/128',
];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal