Lines Matching refs:mreq
642 struct ip_mreq mreq; in print_mreq() local
644 if (len < sizeof(mreq)) { in print_mreq()
648 if (umove_or_printaddr(tcp, addr, &mreq)) in print_mreq()
652 print_quoted_string(inet_ntoa(mreq.imr_multiaddr), in print_mreq()
655 print_quoted_string(inet_ntoa(mreq.imr_interface), in print_mreq()
666 struct ipv6_mreq mreq; in print_mreq6() local
668 if (len < sizeof(mreq)) in print_mreq6()
671 if (umove_or_printaddr(tcp, addr, &mreq)) in print_mreq6()
674 const struct in6_addr *in6 = &mreq.ipv6mr_multiaddr; in print_mreq6()
683 print_ifindex(mreq.ipv6mr_interface); in print_mreq6()
737 struct packet_mreq mreq; in print_packet_mreq() local
739 if (len != sizeof(mreq) || in print_packet_mreq()
740 umove(tcp, addr, &mreq) < 0) { in print_packet_mreq()
745 tprintf("{mr_ifindex=%u, mr_type=", mreq.mr_ifindex); in print_packet_mreq()
746 printxval(packet_mreq_type, mreq.mr_type, "PACKET_MR_???"); in print_packet_mreq()
747 tprintf(", mr_alen=%u, mr_address=", mreq.mr_alen); in print_packet_mreq()
748 if (mreq.mr_alen > ARRAY_SIZE(mreq.mr_address)) in print_packet_mreq()
749 mreq.mr_alen = ARRAY_SIZE(mreq.mr_address); in print_packet_mreq()
750 for (i = 0; i < mreq.mr_alen; ++i) in print_packet_mreq()
751 tprintf("%02x", mreq.mr_address[i]); in print_packet_mreq()