MCPcopy Index your code
hub / github.com/secdev/scapy / itom

Function itom

scapy/utils.py:819–821  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

817
818
819def itom(x):
820 # type: (int) -> int
821 return (0xffffffff00000000 >> x) & 0xffffffff
822
823
824def in4_cidr2mask(m):

Callers 6

make_routeMethod · 0.90
ifchangeMethod · 0.90
ifaddMethod · 0.90
_read_routes_cFunction · 0.90
read_routesFunction · 0.90
parse_optionsMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected