Searched refs:dnsh (Results 1 – 5 of 5) sorted by relevance
1216 dns_fmt_t *dnsh = (dns_fmt_t *)&pktdata[ETHER_HDR_LEN]; in dhd_dns_dump() local1217 struct ipv4_hdr *iph = &dnsh->iph; in dhd_dns_dump()1230 if (dnsh->udph.src_port != hton16(UDP_PORT_DNS) && in dhd_dns_dump()1231 dnsh->udph.dst_port != hton16(UDP_PORT_DNS)) { in dhd_dns_dump()1236 if (ntoh16(iph->tot_len) < (ntoh16(dnsh->udph.len) + in dhd_dns_dump()1244 flags = hton16(dnsh->flags); in dhd_dns_dump()1246 id = hton16(dnsh->id); in dhd_dns_dump()
1377 hdr_fmt_t *dnsh = (hdr_fmt_t *)&pktdata[ETHER_HDR_LEN]; in dhd_check_dns() local1378 struct ipv4_hdr *iph = &dnsh->iph; in dhd_check_dns()1385 if (dnsh->udph.src_port != hton16(UDP_PORT_DNS) && in dhd_check_dns()1386 dnsh->udph.dst_port != hton16(UDP_PORT_DNS)) { in dhd_check_dns()1391 if (ntoh16(iph->tot_len) < (ntoh16(dnsh->udph.len) + in dhd_check_dns()1475 dns_fmt_t *dnsh = (dns_fmt_t *)&pktdata[ETHER_HDR_LEN]; in dhd_dns_dump() local1476 struct ipv4_hdr *iph = &dnsh->iph; in dhd_dns_dump()1490 flags = hton16(dnsh->flags); in dhd_dns_dump()1492 id = hton16(dnsh->id); in dhd_dns_dump()