IPV6_RTHDR_TYPE_0
needed_buflen = inet6_rth_space(IPV6_RTHDR_TYPE_0, num_gw);
if (inet6_rth_init(opt_bufp, needed_buflen, IPV6_RTHDR_TYPE_0,
rthdr_space = inet6_rth_space(IPV6_RTHDR_TYPE_0, gw_cnt);
IPV6_RTHDR_TYPE_0, gw_cnt) == NULL) {
if (type == IPV6_RTHDR_TYPE_0) {
rthdr_space = inet6_rth_space(IPV6_RTHDR_TYPE_0, gw_cnt);
IPV6_RTHDR_TYPE_0, gw_cnt) == NULL) {
if (type != IPV6_RTHDR_TYPE_0 || segments < 0 ||
if (type != IPV6_RTHDR_TYPE_0 || segments < 0 ||