Lines Matching refs:mreq
1353 struct ip_mreq mreq; in print_mreq() local
1355 if (len < sizeof(mreq)) { in print_mreq()
1359 if (umove_or_printaddr(tcp, addr, &mreq)) in print_mreq()
1363 print_quoted_string(inet_ntoa(mreq.imr_multiaddr), in print_mreq()
1366 print_quoted_string(inet_ntoa(mreq.imr_interface), in print_mreq()
1376 struct ipv6_mreq mreq; in print_mreq6() local
1378 if (len < sizeof(mreq)) in print_mreq6()
1381 if (umove_or_printaddr(tcp, addr, &mreq)) in print_mreq6()
1385 const struct in6_addr *in6 = &mreq.ipv6mr_multiaddr; in print_mreq6()
1394 print_ifindex(mreq.ipv6mr_interface); in print_mreq6()
1450 struct packet_mreq mreq; in print_packet_mreq() local
1452 if (len != sizeof(mreq) || in print_packet_mreq()
1453 umove(tcp, addr, &mreq) < 0) { in print_packet_mreq()
1458 tprintf("{mr_ifindex=%u, mr_type=", mreq.mr_ifindex); in print_packet_mreq()
1459 printxval(packet_mreq_type, mreq.mr_type, "PACKET_MR_???"); in print_packet_mreq()
1460 tprintf(", mr_alen=%u, mr_address=", mreq.mr_alen); in print_packet_mreq()
1461 if (mreq.mr_alen > ARRAY_SIZE(mreq.mr_address)) in print_packet_mreq()
1462 mreq.mr_alen = ARRAY_SIZE(mreq.mr_address); in print_packet_mreq()
1463 for (i = 0; i < mreq.mr_alen; ++i) in print_packet_mreq()
1464 tprintf("%02x", mreq.mr_address[i]); in print_packet_mreq()