NetAddr.apply_mask
You're seeing just the function
apply_mask
, go back to NetAddr module for more information.
Specs
Bitwise ANDs two address binaries, returning the result.
Examples
iex> NetAddr.apply_mask <<192,0,2,1>>, <<255,255,255,0>>
<<192, 0, 2, 0>>
iex> NetAddr.apply_mask <<192,0,2,1>>, <<14,249,150,22>>
<<0,0,2,0>>