Lines Matching refs:flags
6 * Constants and functions relating to flags in the DNS header.
13 private static Mnemonic flags = new Mnemonic("DNS Header Flag",
41 flags.setMaximum(0xF);
42 flags.setPrefix("FLAG");
43 flags.setNumericAllowed(true);
45 flags.add(QR, "qr");
46 flags.add(AA, "aa");
47 flags.add(TC, "tc");
48 flags.add(RD, "rd");
49 flags.add(RA, "ra");
50 flags.add(AD, "ad");
51 flags.add(CD, "cd");
60 return flags.getText(i);
66 return flags.getValue(s);
70 * Indicates if a bit in the flags field is a flag or not. If it's part of
75 flags.check(index);