Home
last modified time | relevance | path

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

/kernel/liteos_a/net/lwip-2.1/enhancement/src/
H A Dapi_shell.c2390 struct icmp6_filter icmp6_sock_filter; local
2425 ICMP6_FILTER_SETBLOCKALL(&icmp6_sock_filter);
2426 ICMP6_FILTER_SETPASS(ICMP6_TYPE_EREP, &icmp6_sock_filter);
2427 ICMP6_FILTER_SETPASS(ICMP6_TYPE_DUR, &icmp6_sock_filter);
2428 ICMP6_FILTER_SETPASS(ICMP6_TYPE_PTB, &icmp6_sock_filter);
2429 ICMP6_FILTER_SETPASS(ICMP6_TYPE_TE, &icmp6_sock_filter);
2431 ret = lwip_setsockopt(sfd, IPPROTO_ICMPV6, ICMP6_FILTER, &icmp6_sock_filter, sizeof(struct icmp6_filter));

Completed in 6 milliseconds