CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/12/03 14:57:59
Modified files:
sys/net : route.c route.h rtable.c rtable.h rtsock.c
sys/netinet : in.c in_pcb.c in_proto.c in_var.h
sys/netinet6 : in6_proto.c nd6.c nd6_rtr.c
sys/netmpls : mpls_proto.c
Log message:
Get rid of rt_mask() and stop allocating a "struct sockaddr" for every
route entry in ART.
rt_plen() now represents the prefix length of a route entry and should
be used instead.
For now use a "struct sockaddr_in6" to represent the mask when needed,
this should be then replaced by the prefix length and RTA_NETMASK only
used for compatibility with userland.
ok claudio@