/external/iptables/extensions/ |
D | libipt_ttl.t | 2 -m ttl --ttl-eq 0;=;OK 3 -m ttl --ttl-eq 255;=;OK 4 -m ttl ! --ttl-eq 0;=;OK 5 -m ttl ! --ttl-eq 255;=;OK 6 -m ttl --ttl-gt 0;=;OK 8 # ERROR: should fail: iptables -A INPUT -m ttl --ttl-gt 255 9 ## -m ttl --ttl-gt 255;;FAIL 11 # ERROR: should fail: iptables -A INPUT -m ttl --ttl-lt 0 12 ## -m ttl --ttl-lt 0;;FAIL 13 -m ttl --ttl-eq 256;;FAIL [all …]
|
D | libipt_TTL.t | 3 -j TTL --ttl-set 42;=;OK 4 -j TTL --ttl-inc 1;=;OK 5 -j TTL --ttl-dec 1;=;OK 6 -j TTL --ttl-set 256;;FAIL 7 -j TTL --ttl-inc 0;;FAIL 8 -j TTL --ttl-dec 0;;FAIL 9 -j TTL --ttl-dec 1 --ttl-inc 1;;FAIL 10 -j TTL --ttl-set --ttl-inc 1;;FAIL
|
/external/tcpdump/tests/ |
D | mpls-traceroute-v.out | 1 MPLS (label 100704, exp 0, [S], ttl 1) 2 IP (tos 0x0, ttl 1, id 42316, offset 0, flags [none], proto UDP (17), length 40) 4 IP (tos 0x0, ttl 255, id 5014, offset 0, flags [DF], proto ICMP (1), length 168) 6 IP (tos 0x0, ttl 1, id 42316, offset 0, flags [none], proto UDP (17), length 40) 10 label 100704, exp 0, [S], ttl 1 11 MPLS (label 100704, exp 0, [S], ttl 1) 12 IP (tos 0x0, ttl 1, id 42317, offset 0, flags [none], proto UDP (17), length 40) 14 IP (tos 0x0, ttl 255, id 5015, offset 0, flags [DF], proto ICMP (1), length 168) 16 IP (tos 0x0, ttl 1, id 42317, offset 0, flags [none], proto UDP (17), length 40) 20 label 100704, exp 0, [S], ttl 1 [all …]
|
D | hsrp_1-v.out | 1 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 3 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 5 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 7 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 9 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 11 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 13 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 15 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 44) 17 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 19 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) [all …]
|
D | hsrp_2-v.out | 1 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 3 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 5 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 7 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 9 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 44) 11 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 13 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 44) 15 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 17 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 19 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 44) [all …]
|
D | geneve-vv.out | 1 IP (tos 0x0, ttl 64, id 57261, offset 0, flags [DF], proto UDP (17), length 142) 3 IP (tos 0x0, ttl 64, id 48546, offset 0, flags [DF], proto ICMP (1), length 84) 5 IP (tos 0x0, ttl 64, id 34821, offset 0, flags [DF], proto UDP (17), length 134) 7 IP (tos 0x0, ttl 64, id 4595, offset 0, flags [none], proto ICMP (1), length 84) 9 IP (tos 0x0, ttl 64, id 34822, offset 0, flags [DF], proto UDP (17), length 110) 11 IP (tos 0x0, ttl 64, id 23057, offset 0, flags [DF], proto TCP (6), length 60) 13 IP (tos 0x0, ttl 64, id 57274, offset 0, flags [DF], proto UDP (17), length 118) 15 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60) 17 IP (tos 0x0, ttl 64, id 34823, offset 0, flags [DF], proto UDP (17), length 102) 19 IP (tos 0x0, ttl 64, id 23058, offset 0, flags [DF], proto TCP (6), length 52) [all …]
|
D | hsrp_3-v.out | 1 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 3 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 44) 5 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 7 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 9 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 11 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 13 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 15 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) 17 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 44) 19 IP (tos 0xc0, ttl 1, id 0, offset 0, flags [none], proto UDP (17), length 48) [all …]
|
D | forces2vvv.out | 1 05:12:46.942414 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68) 4 05:12:46.943161 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29… 7 05:12:46.943242 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 26… 10 05:12:46.943643 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 36) 13 05:12:47.944776 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68) 16 05:12:47.946163 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29… 19 05:12:47.946319 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 26… 22 05:12:47.947214 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 36) 25 05:12:48.948471 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68) 28 05:12:48.949179 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29… [all …]
|
D | forces2vv.out | 1 05:05:09.298782 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68) 4 05:05:09.303686 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29… 7 05:05:09.304939 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 26… 10 05:05:09.306408 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 36) 13 05:05:10.309380 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68) 16 05:05:10.309715 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29… 19 05:05:10.309749 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 26… 22 05:05:10.309952 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 36) 25 05:05:11.310417 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 68) 28 05:05:11.310768 IP (tos 0x2,ECT(0), ttl 64, id 0, offset 0, flags [DF], proto SCTP (132), length 29… [all …]
|
D | l2tp-avp-overflow.out | 1 IP (tos 0x30, ttl 48, id 12331, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 1f5… 3 IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 1f5… 5 IP (tos 0x30, ttl 48, id 12331, offset 0, flags [none], proto UDP (17), length 8752, bad cksum 1f51… 7 IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 1f5… 9 IP (tos 0x30, ttl 48, id 12331, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 1f5… 11 IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 1f5… 14 IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 1f5… 16 IP (tos 0x30, ttl 48, id 12331, offset 0, flags [none], proto UDP (17), length 8752, bad cksum 1f51… 18 IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 1f5… 20 IP (tos 0x30, ttl 48, id 12331, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 1f5… [all …]
|
D | vrrp-v.out | 1 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) 3 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) 5 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) 7 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) 9 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) 13 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) 15 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) 17 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 40) 21 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 36) 23 IP (tos 0x0, ttl 255, id 4660, offset 0, flags [none], proto VRRP (112), length 48) [all …]
|
D | epgmv.out | 1 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto UDP (17), length 64) 3 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto UDP (17), length 64) 5 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto UDP (17), length 64) 7 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto UDP (17), length 64) 9 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto UDP (17), length 64) 11 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto UDP (17), length 1480) 13 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto UDP (17), length 1480) 15 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto UDP (17), length 173) 17 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto UDP (17), length 64) 19 IP (tos 0xb8, ttl 1, id 0, offset 0, flags [DF], proto UDP (17), length 44) [all …]
|
D | pgmv.out | 1 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto PGM (113), length 56) 3 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto PGM (113), length 56) 5 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto PGM (113), length 56) 7 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto PGM (113), length 1480) 9 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto PGM (113), length 1480) 11 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto PGM (113), length 149) 13 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto PGM (113), length 56) 15 IP (tos 0xb8, ttl 1, id 0, offset 0, flags [DF], proto PGM (113), length 36) 17 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto PGM (113), length 56) 19 IP (tos 0xb8, ttl 16, id 0, offset 0, flags [DF], proto PGM (113), length 56) [all …]
|
D | wb-oobr.out | 1 MPLS (label 197376, exp 7, [S], ttl 48) 2 …IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 30… 5 IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 303… 7 MPLS (label 197376, exp 7, [S], ttl 48) 8 …IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 30… 11 IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 303… 13 MPLS (label 197376, exp 7, [S], ttl 48) 14 …IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 30… 17 IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto UDP (17), length 12336, bad cksum 303…
|
D | ikev2four.out | 1 IP (tos 0x0, ttl 64, id 19908, offset 0, flags [none], proto UDP (17), length 404) 21 IP (tos 0x0, ttl 64, id 19909, offset 0, flags [none], proto UDP (17), length 88) 24 IP (tos 0x0, ttl 64, id 19910, offset 0, flags [none], proto UDP (17), length 436) 45 IP (tos 0x0, ttl 64, id 19911, offset 0, flags [none], proto UDP (17), length 332) 57 IP (tos 0x0, ttl 64, id 19912, offset 0, flags [none], proto UDP (17), length 264) 60 IP (tos 0x0, ttl 64, id 19913, offset 0, flags [none], proto UDP (17), length 184) 63 IP (tos 0x0, ttl 64, id 19914, offset 0, flags [none], proto UDP (17), length 280) 66 IP (tos 0x0, ttl 64, id 19915, offset 0, flags [none], proto UDP (17), length 248) 69 IP (tos 0x0, ttl 64, id 19916, offset 0, flags [none], proto UDP (17), length 104) 72 IP (tos 0x0, ttl 64, id 19917, offset 0, flags [none], proto UDP (17), length 104) [all …]
|
D | mpls-traceroute.out | 1 MPLS (label 100704, exp 0, [S], ttl 1) IP 12.4.4.4.42315 > 12.1.1.1.33435: UDP, length 12 3 MPLS (label 100704, exp 0, [S], ttl 1) IP 12.4.4.4.42315 > 12.1.1.1.33436: UDP, length 12 5 MPLS (label 100704, exp 0, [S], ttl 1) IP 12.4.4.4.42315 > 12.1.1.1.33437: UDP, length 12 7 MPLS (label 100704, exp 0, [S], ttl 2) IP 12.4.4.4.42315 > 12.1.1.1.33438: UDP, length 12 9 MPLS (label 100704, exp 0, [S], ttl 2) IP 12.4.4.4.42315 > 12.1.1.1.33439: UDP, length 12 11 MPLS (label 100704, exp 0, [S], ttl 2) IP 12.4.4.4.42315 > 12.1.1.1.33440: UDP, length 12 13 MPLS (label 100704, exp 0, [S], ttl 3) IP 12.4.4.4.42315 > 12.1.1.1.33441: UDP, length 12 15 MPLS (label 100704, exp 0, [S], ttl 3) IP 12.4.4.4.42315 > 12.1.1.1.33442: UDP, length 12 17 MPLS (label 100704, exp 0, [S], ttl 3) IP 12.4.4.4.42315 > 12.1.1.1.33443: UDP, length 12
|
D | pimv2_dm-v.out | 1 IP (tos 0xc0, ttl 1, id 121, offset 0, flags [none], proto PIM (103), length 54) 8 IP (tos 0xc0, ttl 1, id 115, offset 0, flags [none], proto PIM (103), length 54) 15 IP (tos 0x0, ttl 31, id 4621, offset 0, flags [none], proto UDP (17), length 1498) 17 IP (tos 0xc0, ttl 1, id 122, offset 0, flags [none], proto PIM (103), length 54) 23 IP (tos 0xc0, ttl 1, id 130, offset 0, flags [none], proto PIM (103), length 54) 30 IP (tos 0xc0, ttl 1, id 123, offset 0, flags [none], proto PIM (103), length 54) 37 IP (tos 0xc0, ttl 1, id 141, offset 0, flags [none], proto PIM (103), length 54) 44 IP (tos 0xc0, ttl 1, id 131, offset 0, flags [none], proto PIM (103), length 54) 51 IP (tos 0xc0, ttl 1, id 150, offset 0, flags [none], proto PIM (103), length 54) 58 IP (tos 0xc0, ttl 1, id 138, offset 0, flags [none], proto PIM (103), length 54) [all …]
|
D | dccp_partial_csum_v4_longer.out | 1 IP (tos 0x0, ttl 64, id 65312, offset 0, flags [DF], proto DCCP (33), length 52) 3 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto DCCP (33), length 68) 5 IP (tos 0x0, ttl 64, id 65313, offset 0, flags [DF], proto DCCP (33), length 56) 7 IP (tos 0x0, ttl 64, id 65314, offset 0, flags [DF], proto DCCP (33), length 152) 9 IP (tos 0x0, ttl 64, id 3176, offset 0, flags [DF], proto DCCP (33), length 52) 11 IP (tos 0x0, ttl 64, id 65315, offset 0, flags [DF], proto DCCP (33), length 148) 13 IP (tos 0x0, ttl 64, id 3177, offset 0, flags [DF], proto DCCP (33), length 52) 15 IP (tos 0x0, ttl 64, id 65316, offset 0, flags [DF], proto DCCP (33), length 148) 17 IP (tos 0x0, ttl 64, id 65317, offset 0, flags [DF], proto DCCP (33), length 148) 19 IP (tos 0x0, ttl 64, id 3178, offset 0, flags [DF], proto DCCP (33), length 56) [all …]
|
D | pimv2_sm-v.out | 1 IP (tos 0xc0, ttl 1, id 130, offset 0, flags [none], proto PIM (103), length 54) 8 IP (tos 0xc0, ttl 1, id 129, offset 0, flags [none], proto PIM (103), length 54) 15 IP (tos 0xc0, ttl 1, id 139, offset 0, flags [none], proto PIM (103), length 54) 21 IP (tos 0xc0, ttl 1, id 150, offset 0, flags [none], proto PIM (103), length 54) 28 IP (tos 0xc0, ttl 1, id 146, offset 0, flags [none], proto PIM (103), length 54) 35 IP (tos 0xc0, ttl 1, id 169, offset 0, flags [none], proto PIM (103), length 54) 42 IP (tos 0xc0, ttl 1, id 163, offset 0, flags [none], proto PIM (103), length 54) 49 IP (tos 0xc0, ttl 1, id 175, offset 0, flags [none], proto PIM (103), length 54) 55 IP (tos 0xc0, ttl 1, id 186, offset 0, flags [none], proto PIM (103), length 54) 62 IP (tos 0xc0, ttl 1, id 179, offset 0, flags [none], proto PIM (103), length 54) [all …]
|
D | lspping-fec-ldp-v.out | 1 MPLS (label 100656, exp 6, [S], ttl 64) 2 IP (tos 0xc0, ttl 64, id 40719, offset 0, flags [none], proto TCP (6), length 71) 5 MPLS (label 100688, exp 7, [S], ttl 255) 6 IP (tos 0x0, ttl 64, id 40723, offset 0, flags [none], proto UDP (17), length 76) 17 IP (tos 0xc0, ttl 62, id 50878, offset 0, flags [none], proto UDP (17), length 60) 25 MPLS (label 100704, exp 6, [S], ttl 64) 26 IP (tos 0xc0, ttl 64, id 40725, offset 0, flags [none], proto TCP (6), length 71) 29 MPLS (label 100704, exp 6, [S], ttl 64) 30 IP (tos 0xc0, ttl 64, id 40726, offset 0, flags [none], proto TCP (6), length 52) 32 MPLS (label 100688, exp 7, [S], ttl 255) [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/ |
D | dns-proto.h | 56 DNSRR(const std::string& name, ns_type rrtype, ns_class qclass, int ttl) in DNSRR() 57 : DNSQuestion(name, rrtype, qclass), ttl_(ttl) {} in DNSRR() 58 DNSRR(const std::string& name, ns_type rrtype, int ttl) in DNSRR() 59 : DNSQuestion(name, rrtype), ttl_(ttl) {} in DNSRR() 66 DNSAddressRR(const std::string& name, ns_type rrtype, int ttl, in DNSAddressRR() 68 : DNSRR(name, rrtype, ttl), addr_(addr, addr + addrlen) {} in DNSAddressRR() 69 DNSAddressRR(const std::string& name, ns_type rrtype, int ttl, in DNSAddressRR() 71 : DNSRR(name, rrtype, ttl), addr_(addr) {} in DNSAddressRR() 77 DNSARR(const std::string& name, int ttl, const byte* addr, int addrlen) in DNSARR() 78 : DNSAddressRR(name, ns_t_a, ttl, addr, addrlen) {} in DNSARR() [all …]
|
/external/openscreen/discovery/mdns/testing/ |
D | mdns_test_util.cc | 23 std::chrono::seconds ttl) { in GetFakePtrRecord() argument 27 RecordType::kShared, ttl, std::move(rdata)); in GetFakePtrRecord() 30 MdnsRecord GetFakeSrvRecord(const DomainName& name, std::chrono::seconds ttl) { in GetFakeSrvRecord() argument 31 return GetFakeSrvRecord(name, name, ttl); in GetFakeSrvRecord() 36 std::chrono::seconds ttl) { in GetFakeSrvRecord() argument 39 ttl, std::move(rdata)); in GetFakeSrvRecord() 42 MdnsRecord GetFakeTxtRecord(const DomainName& name, std::chrono::seconds ttl) { in GetFakeTxtRecord() argument 45 ttl, std::move(rdata)); in GetFakeTxtRecord() 48 MdnsRecord GetFakeARecord(const DomainName& name, std::chrono::seconds ttl) { in GetFakeARecord() argument 50 return MdnsRecord(name, DnsType::kA, DnsClass::kIN, RecordType::kUnique, ttl, in GetFakeARecord() [all …]
|
/external/libnl/lib/route/ |
D | nh_encap_mpls.c | 12 uint8_t ttl; member 22 if (encap_info->ttl) in mpls_encap_dump() 23 nl_dump(dp, "ttl %u ", encap_info->ttl); in mpls_encap_dump() 31 if (encap_info->ttl) in mpls_encap_build_msg() 32 NLA_PUT_U8(msg, MPLS_IPTUNNEL_TTL, encap_info->ttl); in mpls_encap_build_msg() 56 uint8_t ttl = 0; in mpls_encap_parse_msg() local 72 ttl = nla_get_u8(tb[MPLS_IPTUNNEL_TTL]); in mpls_encap_parse_msg() 74 err = rtnl_route_nh_encap_mpls(nh, labels, ttl); in mpls_encap_parse_msg() 87 diff |= (a->ttl != b->ttl); in mpls_encap_compare() 104 uint8_t ttl) in rtnl_route_nh_encap_mpls() argument [all …]
|
/external/ltp/testcases/network/multicast/mc_opts/ |
D | mc_verify_opts.c | 26 unsigned char ttl; in main() local 81 len = sizeof(ttl); in main() 83 (s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, (socklen_t *)&len) != 0) { in main() 87 printf("getsockopt: got ttl = %i\n", ttl); in main() 88 if (ttl != 1) in main() 90 ttl); in main() 91 ttl = 10; /* Set ttl to 10 */ in main() 92 len = sizeof(ttl); in main() 94 &ttl, sizeof(ttl)) != 0) { in main() 100 (s, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, (socklen_t *)&len) != 0) { in main() [all …]
|
/external/iputils/ |
D | tracepath.c | 63 __u32 ttl; member 89 int recverr(int fd, int ttl) in recverr() argument 141 if (rcvbuf.ttl == 0 || rcvbuf.tv.tv_sec == 0) { in recverr() 144 sndhops = rcvbuf.ttl; in recverr() 165 printf("%2d?: %*s ", ttl, -(HOST_COLUMN_SIZE - 1), "[LOCALHOST]"); in recverr() 177 printf("%2d?: ", ttl); in recverr() 216 hops_to = sndhops<0 ? ttl : sndhops; in recverr() 235 else if (sndhops<0 && rethops != ttl) in recverr() 258 int probe_ttl(int fd, int ttl) in probe_ttl() argument 268 hdr->ttl = ttl; in probe_ttl() [all …]
|