Searched refs:hlim (Results 1 - 9 of 9) sorted by relevance

/freebsd-13-stable/tests/sys/netinet6/
H A Dmld.py66 sp.IPv6(dst="ff02::1", hlim=1, nh=0) / \
/freebsd-13-stable/usr.sbin/mld6query/
H A Dmld6.c98 u_int hlim = 1; local
150 if (setsockopt(s, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &hlim,
151 sizeof(hlim)) == -1)
/freebsd-13-stable/sys/netinet6/
H A Din6_src.c545 * embed scope from selected outgoing interface. If @hlim pointer
552 struct in6_addr *srcp, int *hlim)
565 if (hlim != NULL)
566 *hlim = in6_selecthlim(inp, retifp);
594 int *hlim)
609 if (hlim != NULL)
610 *hlim = in6_selecthlim(NULL, retifp);
916 int hlim; local
922 hlim = ND_IFINFO(nh->nh_ifp)->chlim;
923 return (hlim);
550 in6_selectsrc_socket(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct inpcb *inp, struct ucred *cred, int scope_ambiguous, struct in6_addr *srcp, int *hlim) argument
592 in6_selectsrc_addr(uint32_t fibnum, const struct in6_addr *dst, uint32_t scopeid, struct ifnet *ifp, struct in6_addr *srcp, int *hlim) argument
[all...]
H A Dip6_input.c887 * XXX TODO: Check hlim and multicast scope here to avoid
1314 int hlim; local
1321 hlim = ip->ip_ttl;
1324 hlim = 0;
1327 hlim = ip6->ip6_hlim & 0xff;
1329 *mp = sbcreatecontrol((caddr_t) &hlim, sizeof(int),
H A Din6_mcast.c2640 int hlim; local
2646 error = sooptcopyin(sopt, &hlim, sizeof(hlim), sizeof(int));
2649 if (hlim < -1 || hlim > 255) {
2652 } else if (hlim == -1) {
2653 hlim = V_ip6_defmcasthlim;
2656 im6o->im6o_multicast_hlim = hlim;
H A Draw_ip6.c407 int hlim = 0; local
483 scope_ambiguous, &in6a, &hlim);
507 ip6->ip6_hlim = hlim;
H A Dicmp6.c2048 int type, code, hlim; local
2094 hlim = 0;
2113 hlim = ND_IFINFO(m->m_pkthdr.rcvif)->chlim;
2115 hlim = V_ip6_defhlim;
2131 scopeid, NULL, &src6, &hlim);
2153 ip6->ip6_hlim = hlim;
2263 "hlim=%d (must be 255)\n",
H A Din6_proto.c472 SYSCTL_INT(_net_inet6_ip6, IPV6CTL_DEFHLIM, hlim,
/freebsd-13-stable/tests/sys/common/
H A Dsender.py159 assert orig_ip.hlim == fwd_ip.hlim + 1

Completed in 143 milliseconds