[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Hipsec] Selection of LSI address block
> We have discussed using 127.0.0.0 for LSIs, say
> 127.100.0.0/16, but will
> that really work?
in the OpenHIP software we have a macro IN_LOOP() to check if an IPv4
address is equal to
(INADDR_LOOPBACK >> IN_CLASSA_NSHIFT), i.e. if the top bits equal 127
(see /usr/include/netinet/in.h on Linux)
I wonder if other applications use similar techniques to check for
loopback addresses? Using 127.100.0.0/16 would be problematic in that
case.
-Jeff