Difference between revisions of "Template:IP Range/IP2Int"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>
<includeonly>
{{#expr:(((((
{{#expr:(((((
{{#explode:{{{1}}}.0|.|0}} * 255) +  
{{#explode:{{{1}}}.0|.|0}} * 256) +  
{{#explode:{{{1}}}.0.0|.|1}}) * 255) +  
{{#explode:{{{1}}}.0.0|.|1}}) * 256) +  
{{#explode:{{{1}}}.0.0.0|.|2}}) * 255) +  
{{#explode:{{{1}}}.0.0.0|.|2}}) * 256) +  
{{#explode:{{{1}}}.0.0.0.0|.|3}}
{{#explode:{{{1}}}.0.0.0.0|.|3}}
}}
}}
Line 12: Line 12:
|{{{{PAGENAME}}|0.0.0.0}}
|{{{{PAGENAME}}|0.0.0.0}}
|-
|-
|{{{{PAGENAME}}|0.0.0.256}}
|{{{{PAGENAME}}|0.0.0.255}}
|-
|-
|{{{{PAGENAME}}|0.0.256.256}}
|{{{{PAGENAME}}|0.0.255.255}}
|-
|-
|{{{{PAGENAME}}|0.256.256.256}}
|{{{{PAGENAME}}|0.255.255.255}}
|-
|-
|{{{{PAGENAME}}|256.256.256.256}}
|{{{{PAGENAME}}|255.255.255.255}}
|}
|}
</noinclude>
</noinclude>

Revision as of 14:03, 24 April 2007


0


255


65535


16777215


4294967295