Home
last modified time | relevance | path

Searched refs:ip6optlen (Results 1 – 2 of 2) sorted by relevance

/freebsd/lib/libc/net/
H A Dip6opt.c43 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() function
529 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()
/freebsd/sbin/ping/
H A Dping6.c280 int ip6optlen = 0; in ping6() local
623 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()