Home
last modified time | relevance | path

Searched refs:ANCount (Results 1 – 21 of 21) sorted by relevance

/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/google/gopacket/layers/
H A Ddns_test.go209 if exp.ANCount != got.ANCount {
210 t.Errorf("expected ANCount = %v, got %v", exp.ANCount, got.ANCount)
212 if exp.ANCount != got.ANCount {
213 t.Errorf("expected ANCount = %v, got %v", exp.ANCount, got.ANCount)
331 if int(dns.ANCount) != len(dns.Answers) {
332 t.Errorf("fix lengths did not adjust ANCount, expected %d got %d", len(dns.Answers), dns.ANCount)
H A Ddns.go261 ANCount uint16 // Number of answers to expect member
315 d.ANCount = binary.BigEndian.Uint16(data[6:8])
346 for i := 0; i < int(d.ANCount); i++ {
370 } else if uint16(len(d.Answers)) != d.ANCount {
461 d.ANCount = uint16(len(d.Answers))
466 binary.BigEndian.PutUint16(bytes[6:], d.ANCount)
H A Dudp_test.go206 } else if uint16(len(dns.Answers)) != dns.ANCount {
/dports/dns/ironsides/ironsides_authoritative-2015_04_15/
H A Ddns_types.adb40 H.ANCount := Byte_Swap_US(H.ANCount);
H A Dprocess_dns_request.adb500 Output_Packet.Header.ANCount := 0;
1120 Output_Packet.Header.ANCount := Output_Packet.Header.ANCount + 1;
1162 Output_Packet.Header.ANCount := 0;
1335 Output_Packet.Header.ANCount := 0;
1354 Answer_Count := Output_Packet.Header.ANCount;
1704 Output_Packet.Header.ANCount := Answer_Count;
/dports/net/goreplay/goreplay-1.2.0/vendor/github.com/google/gopacket/gopacket-1.1.18/layers/
H A Ddns_test.go394 if exp.ANCount != got.ANCount {
395 t.Errorf("expected ANCount = %v, got %v", exp.ANCount, got.ANCount)
397 if exp.ANCount != got.ANCount {
398 t.Errorf("expected ANCount = %v, got %v", exp.ANCount, got.ANCount)
574 if int(dns.ANCount) != len(dns.Answers) {
575 t.Errorf("fix lengths did not adjust ANCount, expected %d got %d", len(dns.Answers), dns.ANCount)
H A Ddns.go271 ANCount uint16 // Number of answers to expect member
325 d.ANCount = binary.BigEndian.Uint16(data[6:8])
356 for i := 0; i < int(d.ANCount); i++ {
384 } else if uint16(len(d.Answers)) != d.ANCount {
490 d.ANCount = uint16(len(d.Answers))
495 binary.BigEndian.PutUint16(bytes[6:], d.ANCount)
H A Dudp_test.go206 } else if uint16(len(dns.Answers)) != dns.ANCount {
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/google/gopacket/layers/
H A Ddns_test.go394 if exp.ANCount != got.ANCount {
395 t.Errorf("expected ANCount = %v, got %v", exp.ANCount, got.ANCount)
397 if exp.ANCount != got.ANCount {
398 t.Errorf("expected ANCount = %v, got %v", exp.ANCount, got.ANCount)
574 if int(dns.ANCount) != len(dns.Answers) {
575 t.Errorf("fix lengths did not adjust ANCount, expected %d got %d", len(dns.Answers), dns.ANCount)
H A Ddns.go271 ANCount uint16 // Number of answers to expect member
325 d.ANCount = binary.BigEndian.Uint16(data[6:8])
356 for i := 0; i < int(d.ANCount); i++ {
384 } else if uint16(len(d.Answers)) != d.ANCount {
490 d.ANCount = uint16(len(d.Answers))
495 binary.BigEndian.PutUint16(bytes[6:], d.ANCount)
H A Dudp_test.go206 } else if uint16(len(dns.Answers)) != dns.ANCount {
/dports/misc/fq/fq-0.0.2/vendor/github.com/google/gopacket/layers/
H A Ddns_test.go394 if exp.ANCount != got.ANCount {
395 t.Errorf("expected ANCount = %v, got %v", exp.ANCount, got.ANCount)
397 if exp.ANCount != got.ANCount {
398 t.Errorf("expected ANCount = %v, got %v", exp.ANCount, got.ANCount)
574 if int(dns.ANCount) != len(dns.Answers) {
575 t.Errorf("fix lengths did not adjust ANCount, expected %d got %d", len(dns.Answers), dns.ANCount)
H A Ddns.go271 ANCount uint16 // Number of answers to expect member
325 d.ANCount = binary.BigEndian.Uint16(data[6:8])
356 for i := 0; i < int(d.ANCount); i++ {
384 } else if uint16(len(d.Answers)) != d.ANCount {
490 d.ANCount = uint16(len(d.Answers))
495 binary.BigEndian.PutUint16(bytes[6:], d.ANCount)
H A Dudp_test.go206 } else if uint16(len(dns.Answers)) != dns.ANCount {
/dports/databases/mongodb42-tools/mongo-tools-r4.2.17/vendor/github.com/google/gopacket/layers/
H A Ddns.go261 ANCount uint16 // Number of answers to expect member
315 d.ANCount = binary.BigEndian.Uint16(data[6:8])
346 for i := 0; i < int(d.ANCount); i++ {
370 } else if uint16(len(d.Answers)) != d.ANCount {
461 d.ANCount = uint16(len(d.Answers))
466 binary.BigEndian.PutUint16(bytes[6:], d.ANCount)
/dports/net/goreplay/goreplay-1.2.0/vendor/github.com/google/gopacket/layers/
H A Ddns.go271 ANCount uint16 // Number of answers to expect member
325 d.ANCount = binary.BigEndian.Uint16(data[6:8])
356 for i := 0; i < int(d.ANCount); i++ {
384 } else if uint16(len(d.Answers)) != d.ANCount {
490 d.ANCount = uint16(len(d.Answers))
495 binary.BigEndian.PutUint16(bytes[6:], d.ANCount)
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/ooni/psiphon/oopsi/github.com/google/gopacket/layers/
H A Ddns.go271 ANCount uint16 // Number of answers to expect member
325 d.ANCount = binary.BigEndian.Uint16(data[6:8])
356 for i := 0; i < int(d.ANCount); i++ {
384 } else if uint16(len(d.Answers)) != d.ANCount {
490 d.ANCount = uint16(len(d.Answers))
495 binary.BigEndian.PutUint16(bytes[6:], d.ANCount)
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/ooni/psiphon/oopsi/github.com/google/gopacket/layers/
H A Ddns.go271 ANCount uint16 // Number of answers to expect member
325 d.ANCount = binary.BigEndian.Uint16(data[6:8])
356 for i := 0; i < int(d.ANCount); i++ {
384 } else if uint16(len(d.Answers)) != d.ANCount {
490 d.ANCount = uint16(len(d.Answers))
495 binary.BigEndian.PutUint16(bytes[6:], d.ANCount)
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/appid/
H A Ddns_defs.h74 uint16_t ANCount; member
/dports/security/snort3/snort3-3.1.19.0/src/network_inspectors/appid/detector_plugins/
H A Ddetector_dns.cc86 uint16_t ANCount; member
486 if (hdr->ANCount) in validate_packet()
488 count = ntohs(hdr->ANCount); in validate_packet()
/dports/security/snort/snort-2.9.18/src/dynamic-preprocessors/appid/detector_plugins/
H A Ddetector_dns.c430 if (hdr->ANCount) in validate_packet()
432 count = ntohs(hdr->ANCount); in validate_packet()