Returns the number of segments (addresses) in an IPv6 routing header. Format #include <in6.h> int inet6_rth_segments ( const void *bp );