These are defined in OpenGL 4.2 Compatibility Profile section 3.12: "If pname is FOG_COORD_SRC, then param must be, or params must point to an integer that is one of the symbolic constants FRAGMENT_DEPTH or FOG_COORD.".

FogCoordinate and FragmentDepth are in All, and versions with Ext suffix are in ExtFogCoord.