Searched defs:qry (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_igmp.c130 struct igmp3q *qry; local
136 if (ilen < sizeof (*qry)) {
142 qry = (struct igmp3q *)igmp;
143 rem -= sizeof (*qry);
144 srccnt = ntohs(qry->igmp3q_numsrc);
146 "Group = %s", inet_ntop(AF_INET, &qry->igmp3q_group, addrstr,
151 src = (struct in_addr *)&qry[1];
H A Dsnoop_icmp.c909 mld2q_t *qry; local
915 if (ilen < sizeof (*qry)) {
920 qry = (mld2q_t *)icmp6;
921 rem -= sizeof (*qry);
922 srccnt = ntohs(qry->mld2q_numsrc);
925 &qry->mld2q_addr.s6_addr, addrstr, INET6_ADDRSTRLEN));
929 src = (in6_addr_t *)&qry[1];

Completed in 57 milliseconds