HomeSort by: relevance | last modified time | path
    Searched defs:rth (Results 1 - 4 of 4) sorted by relevancy

  /src/lib/libc/net/
rthdr.c 299 struct ip6_rthdr *rth; local
304 rth = (struct ip6_rthdr *)bp;
313 rth0 = (struct ip6_rthdr0 *)(void *)rth;
329 struct ip6_rthdr *rth; local
335 rth = (struct ip6_rthdr *)bp;
337 switch (rth->ip6r_type) {
339 rth0 = (struct ip6_rthdr0 *)(void *)rth;
  /src/external/bsd/dhcpcd/dist/src/
ipv4.c 382 struct rt *rt, *rth, *rtp; local
404 RB_TREE_FOREACH(rth, routes) {
405 if (rth == rt)
408 if (sa_cmp(&rth->rt_dest, &rt->rt_gateway) == 0)
413 dest = satosin(&rth->rt_dest);
415 netmask = satosin(&rth->rt_netmask);
425 if (rth != rt)
457 if ((rth = rt_new(ifp)) == NULL)
459 rth->rt_flags |= RTF_HOST;
460 sa_in_init(&rth->rt_dest, &gateway->sin_addr)
    [all...]
  /src/sys/netinet6/
ip6_output.c 3147 struct ip6_rthdr *rth; local
3158 rth = (struct ip6_rthdr *)buf;
3159 rthlen = (rth->ip6r_len + 1) << 3;
3162 switch (rth->ip6r_type) {
3173 memcpy(opt->ip6po_rthdr, rth, rthlen);
icmp6.c 988 struct ip6_rthdr *rth; local
1014 IP6_EXTHDR_GET(rth, struct ip6_rthdr *, m,
1015 eoff, sizeof(*rth));
1016 if (rth == NULL) {
1021 eoff += (rth->ip6r_len + 1) << 3;
1022 nxt = rth->ip6r_nxt;

Completed in 26 milliseconds