Home | History | Annotate | Download | only in udp

Lines Matching defs:htons

50 	.st_port = htons ( DNS_PORT ),
292 dns->query.dns.id = htons ( ++qid );
371 case htons ( DNS_TYPE_A ):
384 case htons ( DNS_TYPE_CNAME ):
391 dns->qinfo->qtype = htons ( DNS_TYPE_A );
392 dns->qinfo->qclass = htons ( DNS_CLASS_IN );
415 case htons ( DNS_TYPE_A ):
420 dns->qinfo->qtype = htons ( DNS_TYPE_CNAME );
424 case htons ( DNS_TYPE_CNAME ):
429 if ( dns->qinfo->qtype == htons ( DNS_TYPE_A ) ) {
512 dns->query.dns.flags = htons ( DNS_FLAG_QUERY | DNS_FLAG_OPCODE_QUERY |
514 dns->query.dns.qdcount = htons ( 1 );
516 dns->qinfo->qtype = htons ( DNS_TYPE_A );
517 dns->qinfo->qclass = htons ( DNS_CLASS_IN );