Searched refs:ic6f (Results 1 - 2 of 2) sorted by relevance
/freebsd-10.2-release/tools/regression/netinet6/icmp6_filter/ |
H A D | icmp6_filter.c | 55 struct icmp6_filter ic6f; local 70 len = sizeof(ic6f); 71 if (getsockopt(s, IPPROTO_ICMPV6, ICMP6_FILTER, &ic6f, &len) < 0) 73 if (memcmp(&ic6f, &ic6f_passall, sizeof(ic6f)) != 0) 79 len = sizeof(ic6f); 80 ICMP6_FILTER_SETPASSALL(&ic6f); 81 if (setsockopt(s, IPPROTO_ICMPV6, ICMP6_FILTER, &ic6f, len) < 0) 87 len = sizeof(ic6f); 88 if (getsockopt(s, IPPROTO_ICMPV6, ICMP6_FILTER, &ic6f, [all...] |
/freebsd-10.2-release/sys/netinet6/ |
H A D | icmp6.c | 2830 struct icmp6_filter ic6f; local 2832 if (optlen != sizeof(ic6f)) { 2836 error = sooptcopyin(sopt, &ic6f, optlen, optlen); 2839 *inp->in6p_icmp6filt = ic6f; 2855 struct icmp6_filter ic6f; local 2858 ic6f = *inp->in6p_icmp6filt; 2860 error = sooptcopyout(sopt, &ic6f, sizeof(ic6f));
|
Completed in 98 milliseconds