/src/lib/libc/net/ |
rthdr.c | 1 /* $NetBSD: rthdr.c,v 1.19 2019/05/29 02:30:42 msaitoh Exp $ */ 34 __RCSID("$NetBSD: rthdr.c,v 1.19 2019/05/29 02:30:42 msaitoh Exp $"); 87 struct ip6_rthdr *rthdr; local in function:inet6_rthdr_init 92 rthdr = (struct ip6_rthdr *)(void *)CMSG_DATA(ch); 105 (void)memset(rthdr, 0, sizeof(struct ip6_rthdr0)); 106 rthdr->ip6r_type = IPV6_RTHDR_TYPE_0; 116 struct ip6_rthdr *rthdr; local in function:inet6_rthdr_add 121 rthdr = (struct ip6_rthdr *)(void *)CMSG_DATA(cmsg); 123 switch (rthdr->ip6r_type) { 127 struct ip6_rthdr0 *rt0 = (struct ip6_rthdr0 *)(void *)rthdr; 153 struct ip6_rthdr *rthdr; local in function:inet6_rthdr_lasthop 188 const struct ip6_rthdr *rthdr; local in function:inet6_rthdr_segments 217 struct ip6_rthdr *rthdr; local in function:inet6_rthdr_getaddr 252 const struct ip6_rthdr *rthdr; local in function:inet6_rthdr_getflags [all...] |
/src/sbin/ping6/ |
ping6.c | 293 struct ip6_rthdr *rthdr = NULL; local in function:main 836 if (rthdr && 838 (void *)rthdr, (rthdr->ip6r_len + 1) << 3)) 2359 printf("RTHDR ");
|
/src/sys/dist/pf/net/ |
pf.c | 6168 struct ip6_rthdr rthdr; local in function:pf_test6 6172 ("pf: IPv6 more than one rthdr\n")); 6178 if (!pf_pull_hdr(m, off, &rthdr, sizeof(rthdr), NULL, 6181 ("pf: IPv6 short rthdr\n")); 6187 if (rthdr.ip6r_type == IPV6_RTHDR_TYPE_0) {
|