Lines Matching refs:ifp
670 #define icmp6_ifstat_inc(ifp, tag) \
672 if ((ifp) && (ifp)->if_index <= if_index \
673 && (ifp)->if_index < icmp6_ifstatmax \
674 && icmp6_ifstat && icmp6_ifstat[(ifp)->if_index]) { \
675 icmp6_ifstat[(ifp)->if_index]->tag++; \
679 #define icmp6_ifoutstat_inc(ifp, type, code) \
681 icmp6_ifstat_inc(ifp, ifs6_out_msg); \
683 icmp6_ifstat_inc(ifp, ifs6_out_error); \
686 icmp6_ifstat_inc(ifp, ifs6_out_dstunreach); \
688 icmp6_ifstat_inc(ifp, ifs6_out_adminprohib); \
691 icmp6_ifstat_inc(ifp, ifs6_out_pkttoobig); \
694 icmp6_ifstat_inc(ifp, ifs6_out_timeexceed); \
697 icmp6_ifstat_inc(ifp, ifs6_out_paramprob); \
700 icmp6_ifstat_inc(ifp, ifs6_out_echo); \
703 icmp6_ifstat_inc(ifp, ifs6_out_echoreply); \
706 icmp6_ifstat_inc(ifp, ifs6_out_mldquery); \
709 icmp6_ifstat_inc(ifp, ifs6_out_mldreport); \
712 icmp6_ifstat_inc(ifp, ifs6_out_mlddone); \
715 icmp6_ifstat_inc(ifp, ifs6_out_routersolicit); \
718 icmp6_ifstat_inc(ifp, ifs6_out_routeradvert); \
721 icmp6_ifstat_inc(ifp, ifs6_out_neighborsolicit); \
724 icmp6_ifstat_inc(ifp, ifs6_out_neighboradvert); \
727 icmp6_ifstat_inc(ifp, ifs6_out_redirect); \