Searched refs:rthdr (Results 1 - 4 of 4) sorted by relevance

/netbsd-6-1-5-RELEASE/lib/libc/net/
H A Drthdr.c1 /* $NetBSD: rthdr.c,v 1.16 2006/05/05 00:03:21 rpaulo Exp $ */
34 __RCSID("$NetBSD: rthdr.c,v 1.16 2006/05/05 00:03:21 rpaulo Exp $");
90 struct ip6_rthdr *rthdr; local
95 rthdr = (struct ip6_rthdr *)(void *)CMSG_DATA(ch);
108 (void)memset(rthdr, 0, sizeof(struct ip6_rthdr0));
109 rthdr->ip6r_type = IPV6_RTHDR_TYPE_0;
122 struct ip6_rthdr *rthdr; local
127 rthdr = (struct ip6_rthdr *)(void *)CMSG_DATA(cmsg);
129 switch (rthdr->ip6r_type) {
132 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)(void *)rthdr;
158 struct ip6_rthdr *rthdr; local
196 const struct ip6_rthdr *rthdr; local
224 struct ip6_rthdr *rthdr; local
258 const struct ip6_rthdr *rthdr; local
[all...]
H A DMakefile.inc24 SRCS+= ip6opt.c rthdr.c vars6.c
/netbsd-6-1-5-RELEASE/sbin/ping6/
H A Dping6.c302 struct ip6_rthdr *rthdr = NULL; local
875 rthdr = (struct ip6_rthdr *)CMSG_DATA(scmsgp);
876 rthdr = inet6_rth_init((void *)rthdr, rthdrlen,
878 if (rthdr == NULL)
879 errx(1, "can't initialize rthdr");
891 if (inet6_rth_add(rthdr,
931 if (rthdr &&
933 (void *)rthdr, (rthdr
[all...]
/netbsd-6-1-5-RELEASE/sys/dist/pf/net/
H A Dpf.c6170 struct ip6_rthdr rthdr; local
6174 ("pf: IPv6 more than one rthdr\n"));
6180 if (!pf_pull_hdr(m, off, &rthdr, sizeof(rthdr), NULL,
6183 ("pf: IPv6 short rthdr\n"));
6189 if (rthdr.ip6r_type == IPV6_RTHDR_TYPE_0) {

Completed in 174 milliseconds