Searched refs:ip6optlen (Results 1 – 2 of 2) sorted by relevance
43 static int ip6optlen(u_int8_t *opt, u_int8_t *lim);266 if ((optlen = ip6optlen(*tptrp, lim)) == 0) in inet6_option_next()279 if (ip6optlen(*tptrp, lim) == 0) in inet6_option_next()322 if ((optlen = ip6optlen(*tptrp, lim)) == 0) in inet6_option_find()332 if ((optlen = ip6optlen(optp, lim)) == 0) in inet6_option_find()347 ip6optlen(u_int8_t *opt, u_int8_t *lim) in ip6optlen() function529 if ((optlen = ip6optlen(optp, lim)) == 0) in inet6_opt_next()534 if ((optlen = ip6optlen(optp, lim)) == 0) in inet6_opt_next()573 if ((optlen = ip6optlen(optp, lim)) == 0) in inet6_opt_find()
280 int ip6optlen = 0; in ping6() local623 ip6optlen += rthlen; in ping6()888 ip6optlen += CMSG_SPACE(sizeof(struct in6_pktinfo)); in ping6()891 ip6optlen += CMSG_SPACE(sizeof(int)); in ping6()894 if (ip6optlen) { in ping6()895 if ((scmsg = (char *)malloc(ip6optlen)) == NULL) in ping6()898 smsghdr.msg_controllen = ip6optlen; in ping6()