X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/5b5f297f9a9d47ee7e9804d5bdaa552f1953c6b6..refs/heads/master:/magic.h diff --git a/magic.h b/magic.h index e98f681..4389d54 100644 --- a/magic.h +++ b/magic.h @@ -1,4 +1,22 @@ /* Magic numbers used within secnet */ +/* + * This file is part of secnet. + * See README for full list of copyright holders. + * + * secnet is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * secnet is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * version 3 along with secnet; if not, see + * https://www.gnu.org/licenses/gpl.html. + */ #ifndef magic_h #define magic_h @@ -15,11 +33,13 @@ #define LABEL_MSG7 0x07070707 #define LABEL_MSG8 0x08080808 #define LABEL_MSG9 0x09090909 +#define LABEL_PROD 0x0a0a0a0a /* uses of the 32-bit capability bitmap */ -#define CAPAB_EARLY 0x00000000 /* no Early flags yet (see NOTES) */ +#define CAPAB_EARLY CAPAB_PRIORITY_MOBILE #define CAPAB_TRANSFORM_MASK 0x0000ffff -/* remaining 16 bits are unused */ +#define CAPAB_PRIORITY_MOBILE 0x80000000 /* mobile site has MSG1 priority */ +/* remaining bits are unused */ /* * The transform capability mask is a set of bits, one for each