Lines Matching +full:0 +full:- +full:576
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2000-2001 Boris Popov
52 #define NBT_WKSTA 0x00
53 #define NBT_MESSENGER 0x03
54 #define NBT_RAS_SERVER 0x06
55 #define NBT_DOMAIN_MASTER_BROWSER 0x1B
56 #define NBT_DOMAIN_CONTROLLER 0x1C
57 #define NBT_MASTER_BROWSER 0x1D
58 #define NBT_NETDDE 0x1F
59 #define NBT_SERVER 0x20
60 #define NBT_RAS_CLIENT 0x21
65 #define NB_SSN_MESSAGE 0x0
66 #define NB_SSN_REQUEST 0x81
67 #define NB_SSN_POSRESP 0x82
68 #define NB_SSN_NEGRESP 0x83
69 #define NB_SSN_RTGRESP 0x84
70 #define NB_SSN_KEEPALIVE 0x85
75 #define NBNS_OPCODE_QUERY 0x00
76 #define NBNS_OPCODE_REGISTER 0x05
77 #define NBNS_OPCODE_RELEASE 0x06
78 #define NBNS_OPCODE_WACK 0x07
79 #define NBNS_OPCODE_REFRESH 0x08
80 #define NBNS_OPCODE_RESPONSE 0x10 /* or'ed with other opcodes */
85 #define NBNS_NMFLAG_BCAST 0x01
86 #define NBNS_NMFLAG_RA 0x08 /* recursion available */
87 #define NBNS_NMFLAG_RD 0x10 /* recursion desired */
88 #define NBNS_NMFLAG_TC 0x20 /* truncation occurred */
89 #define NBNS_NMFLAG_AA 0x40 /* authoritative answer */
94 #define NBNS_QUESTION_TYPE_NB 0x0020
95 #define NBNS_QUESTION_TYPE_NBSTAT 0x0021
100 #define NBNS_QUESTION_CLASS_IN 0x0001
106 #define NBDG_MAXSIZE 576 /* maximum nbns datagram size */