NetAddr.sigil_p

You're seeing just the macro sigil_p, go back to NetAddr module for more information.
Link to this macro

sigil_p(term, modifiers)

View Source (macro)

Succinctly describe IP NetAddrs at compile time.

Examples

iex> use NetAddr
iex> ~p"192.0.2.1/24"
%NetAddr.IPv4{address: <<192,0,2,1>>, length: 24}

iex> use NetAddr
iex> ~p"2001:db8::1"
%NetAddr.IPv6{
  address: <<0x2001::16,0xdb8::16,0::5*16,1::16>>,
  length: 128,
}

iex> use NetAddr
iex> ~p(192.0.2.1/24 2001:db8::1)
[ %NetAddr.IPv4{address: <<192,0,2,1>>, length: 24},
  %NetAddr.IPv6{
    address: <<0x2001::16,0xdb8::16,0::5*16,1::16>>,
    length: 128,
  },
]