microsoft / microsoft/win32metadata

ADDRESS_FAMILY is incomplete

Open
#1,650 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.5k
Forks
149
Avg merge
5d 16h
Merged PRs (30d)
4

Description

Only contains:

	// Token: 0x04008C9F RID: 35999
		AF_INET = 2,
		// Token: 0x04008CA0 RID: 36000
		AF_INET6 = 23,
		// Token: 0x04008CA1 RID: 36001
		AF_UNSPEC = 0

Misses:

	// Token: 0x040135E6 RID: 79334
		public const ushort AF_UNIX = 1;

		// Token: 0x040135E7 RID: 79335
		public const ushort AF_IMPLINK = 3;

		// Token: 0x040135E8 RID: 79336
		public const ushort AF_PUP = 4;

		// Token: 0x040135E9 RID: 79337
		public const ushort AF_CHAOS = 5;

		// Token: 0x040135EA RID: 79338
		public const ushort AF_NS = 6;

		// Token: 0x040135EB RID: 79339
		public const ushort AF_IPX = 6;

		// Token: 0x040135EC RID: 79340
		public const ushort AF_ISO = 7;

		// Token: 0x040135ED RID: 79341
		public const ushort AF_OSI = 7;

		// Token: 0x040135EE RID: 79342
		public const ushort AF_ECMA = 8;

		// Token: 0x040135EF RID: 79343
		public const ushort AF_DATAKIT = 9;

		// Token: 0x040135F0 RID: 79344
		public const ushort AF_CCITT = 10;

		// Token: 0x040135F1 RID: 79345
		public const ushort AF_SNA = 11;

		// Token: 0x040135F2 RID: 79346
		public const ushort AF_DECnet = 12;

		// Token: 0x040135F3 RID: 79347
		public const ushort AF_DLI = 13;

		// Token: 0x040135F4 RID: 79348
		public const ushort AF_LAT = 14;

		// Token: 0x040135F5 RID: 79349
		public const ushort AF_HYLINK = 15;

		// Token: 0x040135F6 RID: 79350
		public const ushort AF_APPLETALK = 16;

		// Token: 0x040135F7 RID: 79351
		public const ushort AF_NETBIOS = 17;

		// Token: 0x040135F8 RID: 79352
		public const ushort AF_VOICEVIEW = 18;

		// Token: 0x040135F9 RID: 79353
		public const ushort AF_FIREFOX = 19;

		// Token: 0x040135FA RID: 79354
		public const ushort AF_UNKNOWN1 = 20;

		// Token: 0x040135FB RID: 79355
		public const ushort AF_BAN = 21;

		// Token: 0x040135FC RID: 79356
		public const ushort AF_ATM = 22;

		// Token: 0x040135FD RID: 79357
		public const ushort AF_CLUSTER = 24;

		// Token: 0x040135FE RID: 79358
		public const ushort AF_12844 = 25;

		// Token: 0x040135FF RID: 79359
		public const ushort AF_IRDA = 26;

		// Token: 0x04013600 RID: 79360
		public const ushort AF_NETDES = 28;

		// Token: 0x04013601 RID: 79361
		public const ushort AF_MAX = 29;

		// Token: 0x04013602 RID: 79362
		public const ushort AF_TCNPROCESS = 29;

		// Token: 0x04013603 RID: 79363
		public const ushort AF_TCNMESSAGE = 30;

		// Token: 0x04013604 RID: 79364
		public const ushort AF_ICLFXBM = 31;

		// Token: 0x04013605 RID: 79365
		public const ushort AF_LINK = 33;

		// Token: 0x04013606 RID: 79366
		public const ushort AF_HYPERV = 34;

Also AF_MAX seems odd as it's 29 while AF_HYPERV is 34.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating ADDRESS_FAMILY in the metadata generator or its Windows SDK input, then compare the generated definition with the constants listed in the issue. Done means the missing values are represented consistently and the AF_MAX discrepancy with AF_HYPERV is resolved or documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, csharp
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.