Revision e81b440f lib/ip.h

View differences:

lib/ip.h
46 46

  
47 47
struct prefix {
48 48
  ip_addr addr;
49
  int len;
49
  unsigned int len;
50 50
};
51 51

  
52 52
#define ip_is_prefix(a,l) (!ipa_nonzero(ipa_and(a, ipa_not(ipa_mkmask(l)))))

Also available in: Unified diff